keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

DID Problem - Solved

15 years 10 months ago #1120 by andreafi
It doesn't works.

This is the response:

== Starting mISDN/3-u6 at from-pstn,011197111,1 failed so falling back to exten 's'
-- Executing [s@from-pstn] NoOp("mISDN/3-u6", "No DID or CID Match") in new stack
-- Executing [s@from-pstn] GotoIf("mISDN/3-u6", "0?ext-did|ZapN|1") in new stack
-- Executing [s@from-pstn] Wait("mISDN/3-u6", "2") in new stack
-- Executing [s@from-pstn] Playback("mISDN/3-u6", "ss-noservice") in new stack
-- <mISDN/3-u6> Playing 'ss-noservice' (language 'it')
== Spawn extension (from-pstn, s, 4) exited non-zero on 'mISDN/3-u6'

Sorry, the 011197833 was a mistake: the radix is 011197111

Have you got some other suggestion?
Thanks.

Andrew
15 years 10 months ago #1123 by james.zhu
hello,
i do not see the any information from what you changed. it should show waitfordigits command in console. i think you have to edit it something like this:
[ext-did]
exten => s,1,WaitForDigits(6000,2,true,15)
exten => s,1,Set(__FROM_DID=${EXTEN})
exten => s,n,Gosub(app-blacklist-check,s,1)
exten => s,n,GotoIf($[ "${CALLERID(name)}" != "" ] ?cidok)
exten => s,n,Set(CALLERID(name)=${CALLERID(num)})
exten => s,n(cidok),Noop(CallerID is ${CALLERID(all)})
exten => s,n,Goto(from-did-direct,452,1)
regards,
James.zhu

15 years 10 months ago #1131 by andreafi
I tried it.
This is the errore message I receive now:

== Starting mISDN/3-u67 at from-pstn,011197111,1 failed so falling back to exten 's'
== Spawn extension (from-pstn, s, 1) exited non-zero on 'mISDN/3-u67'
== Starting mISDN/1-u68 at from-pstn,011197111,1 failed so falling back to exten 's'
== Spawn extension (from-pstn, s, 1) exited non-zero on 'mISDN/1-u68'


and the call will terminate without answer.

Thanks for your help, because I can't resolve the problem in any way.

Andrew
15 years 10 months ago #1133 by andreafi
I enabled the isdn debug and I attached the log that I receive on asterisk during the call

Here a short part of log where seem that asterisk send the right Acknowledge message, but can't get back the 2 other digits:

P[ 1] I SEND:SETUP_ACKNOWLEDGE oad:0******** dad:011197111 pid:9
P[ 1] --> bc_state:BCHAN_ACTIVATED
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] --> screen:0 --> pres:0
P[ 1] --> addr:50010102 l3id:20020 b_stid:10010100 layer_id:50010180
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:8c675a4 h:0 sh:0
P[ 1] * Starting Ast ctx:from-pstn dad:011197111 oad:0******** with 's' extension
P[ 1] GOT SETUP OK
P[ 1] Freeing Msg on prim:30582
P[ 1] Sending msg, prim:30d80 addr:41000104 dinfo:20020
-- Executing [s@from-pstn] NoOp("mISDN/1-u7", "TEST") in new stack
-- Executing [s@from-pstn] NoOp("mISDN/1-u7", "EXTEN is s") in new stack
== Spawn extension (from-pstn, s, 3) exited non-zero on 'mISDN/1-u7'
P[ 1] * IND : HANGUP pid:9 ctx:from-pstn dad:s oad:0******** State:DIALING
Attachments:
15 years 10 months ago #1134 by james.zhu
hello,
please contact me at:[email protected]
Regards!
james.zhu

15 years 10 months ago #1190 by andreafi
The problem was on the telephone carrier, because his router was configured to don't send the extension number, but only the radix of our number.
When the carrier change the configuration everithing start to works well.

Thank you to everyone, specially to james zhu.

Andrew
Time to create page: 0.040 seconds
Powered by Kunena Forum