[Amportal-users] Incoming ISDN Calls were rejected

Hello,

I have problems to get incoming ISDN Calls working. I am using mISDN driver and they seem to work. in my misdn.conf I have tried a context=from-pstn and context=group-all but I always get the same error messages. Can anybody give me a hint where to search?

Detlev

P[ 1] set_channel: bc->channel:0 channel:1
P[ 1] I IND :SETUP oad: dad:4009910 pid:19 state:none
P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:4 rnumplan:  cpnnumplan:0
P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:1
P[ 1]  --> Bearer: Speech
P[ 1]  --> Codec: Alaw
P[ 0]  --> * NEW CHANNEL dad:4009910 oad:
P[ 1]  --> CTON: Unknown
P[ 1] EXPORT_PID: pid:19
P[ 1]  --> PRES: Restricted (1)
P[ 1]  --> SCREEN: Unscreened (0)
P[ 1] I SEND:RELEASE oad: dad:4009910 pid:19
P[ 1]  --> bc_state:BCHAN_CLEANED
P[ 1]  --> channel:1 mode:TE cause:16 ocause:1 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:4 rnumplan:  cpnnumplan:0
P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:1
P[ 1] $$$ CLEANUP CALLED pid:19
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:19 state:EXTCANTMATCH
P[ 1]  --> channel:0 mode:TE cause:-1 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] hangup_chan
P[ 1] -> hangup
P[ 1] * IND : HANGUP    pid:19 ctx:from-pstn dad:4009910 oad:(null) State:EXTCANTMATCH
P[ 1]  --> l3id:20012
P[ 1]  --> cause:-1
P[ 1]  --> out_cause:-1
P[ 1]  --> state:EXTCANTMATCH
P[ 1] Channel: mISDN/1-1 hanguped new state:CLEANING
P[ 1] release_chan: bc with l3id: 20012
P[ 1] $$$ CLEANUP CALLED pid:19
P[ 1] MGMT: SSTATUS: L1_DEACTIVATED
P[ 1] $$$ CLEANUP CALLED pid:19
P[ 1] $$$ CLEANUP CALLED pid:0
P[ 1] MGMT: SSTATUS: L2_RELEASED

Post generated using Mail2Forum (http://www.mail2forum.com)

Hi Detlev,

Joe wrote:

[quote] [ext-did]
include => ext-did-custom
exten => s/4009910,1,Set(FROM_DID=s/4009910)
exten => s/4009910,n,Set(FAX_RX=disabled)
exten => s/4009910,n,Goto(ext-local,10,1)
exten => s,1,Noop(No DID or CID Match)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,SayAlpha(${FROM_DID})
exten => _[#X].,1,Set(FROM_DID=${EXTEN})
exten => _[
#X].,n,Noop(Received an unknown call with DID set to ${EXTEN})
exten => _[*#X].,n,Goto(ext-did,s,1)

; end of [ext-did]
[/quote]

try changing the above to:

exten => 4009910,1,Set(FROM_DID=4009910)
exten => 4009910,n,Set(FAX_RX=disabled)
exten => 4009910,n,Goto(ext-local,10,1)

hth,
Carsten.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

in my misdn.conf it is msn=*. I have also tried msn=4009910 but always the same error. I have looked in the extension.conf generated by freepbx there is an include extensions_additional.conf. In the extensions_additional.conf there is a context ext-did with my phone nummer. So set the context in the misdn.conf to ext-did but always the same error

Detlev

Hi Detlev,

Joe schrieb:

[quote] in my misdn.conf it is msn=*. I have also tried msn=4009910 but
[/quote]
OK, the msn doesn’t seem to be cause.

[quote] always the same error. I have looked in the extension.conf generated
by freepbx there is an include extensions_additional.conf. In the
extensions_additional.conf there is a context ext-did with my phone
nummer. So set the context in the misdn.conf to ext-did but always
the same error
[/quote]
Thats what i would have expected, because in extensions.conf [ext-did]
is included in [from-pstn].

Please recheck your inbound route: Does your Number in [ext-did] exactly
match what mISDN receives as dad (i.e. dad:4009910)?

Otherwise: Try to increase your loglevel by issuing a “misdn set debug
” in your asterisk console and retry. What does “misdn show
config” say?

Good luck,
Carsten.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

this is the above section:

[ext-did]
include => ext-did-custom
exten => s/4009910,1,Set(FROM_DID=s/4009910)
exten => s/4009910,n,Set(FAX_RX=disabled)
exten => s/4009910,n,Goto(ext-local,10,1)
exten => s,1,Noop(No DID or CID Match)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,SayAlpha(${FROM_DID})
exten => _[#X].,1,Set(FROM_DID=${EXTEN})
exten => _[
#X].,n,Noop(Received an unknown call with DID set to ${EXTEN})
exten => _[*#X].,n,Goto(ext-did,s,1)

; end of [ext-did]

with debuglevel=3 it shows:

P[ 1] MGMT: SSTATUS: L1_ACTIVATED
P[ 1] MGMT: SSTATUS: L2_ESTABLISH
P[ 1] set_channel: bc->channel:0 channel:1
P[ 1] I IND :SETUP oad: dad:4009910 pid:2 state:none
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:1
P[ 1] --> Bearer: Speech
P[ 1] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:4009910 oad:
P[ 1] --> CTON: Unknown
P[ 1] EXPORT_PID: pid:2
P[ 1] --> PRES: Restricted (1)
P[ 1] --> SCREEN: Unscreened (0)
P[ 1] I SEND:RELEASE oad: dad:4009910 pid:2
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] --> channel:1 mode:TE cause:16 ocause:1 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:4 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:1
P[ 1] $$$ CLEANUP CALLED pid:2
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:2 state:EXTCANTMATCH
P[ 1] --> channel:0 mode:TE cause:-1 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] hangup_chan
P[ 1] -> hangup
P[ 1] * IND : HANGUP pid:2 ctx:from-pstn dad:4009910 oad:(null) State:EXTCANTMATCH
P[ 1] --> l3id:20001
P[ 1] --> cause:-1
P[ 1] --> out_cause:-1
P[ 1] --> state:EXTCANTMATCH
P[ 1] Channel: mISDN/1-1 hanguped new state:CLEANING
P[ 1] release_chan: bc with l3id: 20001
P[ 1] $$$ CLEANUP CALLED pid:2

misdn show config brings:

PORT 1]
-> name: first_extern -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> block_on_alarm: yes
-> hdlc: no -> context: from-pstn
-> language: de -> musicclass: default
-> callerid: -> method: standard
-> dialplan: 0 -> localdialplan: 0
-> cpndialplan: 0 -> nationalprefix: 0
-> internationalprefix: 00 -> presentation: -1
-> screen: -1 -> always_immediate: no
-> nodialtone: no -> immediate: no
-> senddtmf: no -> hold_allowed: yes
-> early_bconnect: yes -> incoming_early_audio: no
-> echocancel: 0 -> echocancelwhenbridged: no
-> need_more_infos: no -> jitterbuffer: 4000
-> jitterbuffer_upper_threshold: 0 -> callgroup: 1
-> pickupgroup: 1 -> msns: *
-> ptp: yes

Detlev

Hello Detlev,

Detlev Buschkamp wrote:

[quote] I have problems to get incoming ISDN Calls working. I am using mISDN
driver and they seem to work. in my misdn.conf I have tried a
context=from-pstn and context=group-all but I always get the same error
messages. Can anybody give me a hint where to search?

P[ 1] --> state:EXTCANTMATCH
[/quote]

either the call gets in to the wrong context or the msns aren’t set up
correctly. The following works for me:

/etc/asterisk/misdn.conf:

[NTports]
ports=1
context=from-internal

[TEports]
ports=2
context=from-pstn
msns=12345677,12345678,12345679

For this to work I had to remove “msn=*” from the [NTports] context,
which seemed to get the call before it reaches [TEports].

Have fun,
Carsten.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)