- Mitglied seit
- 21 Okt 2006
- Beiträge
- 2
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hello !
Sorry to write in (bad ;-)) english but I live in Belgium and I can't speak german...
I have a problem with my BN4S0 and mIsdn.
If I configure "always_immediate=no" in my misdn.conf, I can't dial into Asterisk, I recevice a message saying "Extension can never match, so disconnecting" and I'm disconnected.
Here you will find misdn.log output :
If I change "always_immediate" to yes, the call is established and everything goes fine, here is the misdn.log output :
The problem is that I don't know how to catch the DID (or dad) to redirect the calls...
Please help...
Thanks in advance.
Largo
Sorry to write in (bad ;-)) english but I live in Belgium and I can't speak german...
I have a problem with my BN4S0 and mIsdn.
If I configure "always_immediate=no" in my misdn.conf, I can't dial into Asterisk, I recevice a message saying "Extension can never match, so disconnecting" and I'm disconnected.
Here you will find misdn.log output :
Code:
I IND :SETUP oad: dad:80672080 pid:25 state:none
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] --> Bearer: Speech
P[ 1] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:80672080 oad:
P[ 1] --> CTON: Unknown
P[ 1] --> EXPORT_PID: pid:25
P[ 1] --> PRES: Restricted (1)
P[ 1] --> SCREEN: Unscreened (0)
P[ 1] Extension can never match, so disconnecting
P[ 1] I SEND:RELEASE oad: dad:080672080 pid:25
P[ 1] --> channel:1 mode:TE cause:16 ocause:1 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] $$$ CLEANUP CALLED pid:25
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:25 state:EXTCANTMATCH
P[ 1] --> channel:0 mode:TE cause:16 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
P[ 1] * IND : HANGUP pid:25 ctx:from-pstn dad:080672080 oad:(null) State:EXTCANTMATCH
P[ 1] --> l3id:2000c
P[ 1] --> cause:16
P[ 1] --> out_cause:16
P[ 1] --> state:EXTCANTMATCH
P[ 1] --> Channel: mISDN/1-1 hanguped new state:CLEANING
P[ 1] $$$ CLEANUP CALLED pid:25
If I change "always_immediate" to yes, the call is established and everything goes fine, here is the misdn.log output :
Code:
P[ 1] I IND :SETUP oad: dad:80672080 pid:7 state:none
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] --> Bearer: Speech
P[ 1] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:80672080 oad:
P[ 1] --> CTON: Unknown
P[ 1] --> EXPORT_PID: pid:7
P[ 1] --> PRES: Restricted (1)
P[ 1] --> SCREEN: Unscreened (0)
P[ 1] I SEND:SETUP_ACKNOWLEDGE oad: dad:080672080 pid:7
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] --> TRANSPARENT Mode
P[ 1] --> incoming_early_audio off
P[ 1] * Starting Ast ctx:from-pstn dad:080672080 oad:(null) with 's' extension
P[ 1] * ANSWER:
P[ 1] --> Connection is without BF encryption
P[ 1] --> None
P[ 1] --> empty cad using dad
P[ 1] I SEND:CONNECT oad: dad:080672080 pid:7
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:080672080
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] BCHAN: bchan ACT Confirm pid:7
P[ 1] I IND :STATUS oad: dad:080672080 pid:7 state:CONNECTED
P[ 1] --> channel:1 mode:TE cause:111 ocause:16 rad: cad:080672080
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] I IND :CONNECT_ACKNOWLEDGE oad: dad:080672080 pid:7 state:CONNECTED
P[ 1] --> channel:1 mode:TE cause:111 ocause:16 rad: cad:080672080
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:3 keypad: sending_complete:1
P[ 1] I IND :DISCONNECT oad: dad:080672080 pid:7 state:CONNECTED
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:080672080
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:1
P[ 1] --> org:2 nt:0, inbandavail:1 state:10
P[ 1] --> queue_hangup
P[ 1] I SEND:RELEASE oad: dad:080672080 pid:7
P[ 1] --> channel:1 mode:TE cause:16 ocause:-1 rad: cad:080672080
P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:1
P[ 1] * IND : HANGUP pid:7 ctx:closed dad:1 oad:(null) State:CONNECTED
P[ 1] --> l3id:20003
P[ 1] --> cause:16
P[ 1] --> out_cause:16
P[ 1] --> state:CONNECTED
P[ 1] --> Channel: mISDN/1-1 hanguped new state:CLEANING
P[ 1] $$$ CLEANUP CALLED pid:7
P[ 1] $$$ Cleaning up bc with stid :10010100 pid:7
P[ 1] Sending Control ECHOCAN_OFF
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:7 state:CLEANING
P[ 1] --> channel:0 mode:TE cause:16 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] ast_hangup already called, so we have no ast ptr anymore in event(RELEASE_COMPLETE)
P[ 1] --> No need to queue hangup
P[ 1] Cannot hangup chan, no ast
P[ 1] $$$ CLEANUP CALLED pid:7
P[ 1] BCHAN: MGR_DELLAYER|CNF pid:7
The problem is that I don't know how to catch the DID (or dad) to redirect the calls...
Please help...
Thanks in advance.
Largo