[Asterisk-Users] BN8S0 problem - Extension can never match, so disconnecting

Christophorus Laube bob at semanticedge.de
Thu Jun 8 13:53:08 MST 2006


I do not see the problem exactly. Most of the messages tell about the layer 1 
and 2 activation:
> P[ 5] MGMT: SSTATUS: L1_ACTIVATED
...
> P[ 5] MGMT: SSTATUS: L2_ESTABLISH
First thing you should check is a "misdn show stacks" on the CLI. There should 
be a lot of "UP"s if the card has physical connection and ISDN recognized. 

> Extension can never match, so disconnecting
This is something I would spend more attention to. 
> exten => 465670127,1,Dial(SIP/200)
This is even too special for your first tests. Try something more lax:
> exten => _X.,1,Dial(SIP/200)
This way every call coming to the card is directed to the SIP client. 
When this is working you see which number are dialed (the dad values in the 
CLI) and so you can adjust your extensions. 
By the way beginning a function test with a Dial is not so good. Try 
> exten => _X.,1,Noop(nothing is happening here!)
or even better
> exten => _X.,1,Playback(demo-thanks)

Have a nice try.
Cheers, Christophorus
> hi
>
> i've configured a Beronet BN8S0 Card with misdn beronet utility.
>
> the card is configured with all lines in TE and P2P mode, and it is
> connected with the special cable with an ISDN connection.
>
> i've turned on debugging to level 4, this is the output from the
> asterisk cli when i receive a call:
>
>
> P[ 5] MGMT: Short status dinfo 1000001
> P[ 5] MGMT: SSTATUS: L1_ACTIVATED
> P[ 5] handle_frm: frm->addr:42000503 frm->prim:3f082
> P[ 5] handle_frm: frm->addr:42000503 frm->prim:30582
> P[ 5] set_channel: bc->channel:0 channel:1
> P[ 5] I IND :SETUP oad:4656708 dad:465670127
> P[ 5]  --> mode:TE cause:16 ocause:16 rad: cad:
> P[ 5]  --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 5]  --> info_dad: onumplan:2 dnumplan:2 rnumplan:  cpnnumplan:0
> P[ 5]  --> screen:0 --> pres:0
> P[ 5]  --> channel:1 caps:Speech pi:0 keypad:
> P[ 5]  --> urate:0 rate:16 mode:0 user1:0
> P[ 5]  --> pid:0 addr:0 l3id:a0001
> P[ 5]  --> b_stid:0 layer_id:0
> P[ 5]  --> bc:821d7ac h:0 sh:0
> P[ 5]  --> bc_state:BCHAN_CLEANED
> P[ 5]  --> Bearer: Speech
> P[ 5]  --> Codec: Alaw
> P[ 0]  --> * NEW CHANNEL dad:465670127 oad:4656708
> P[ 5]  --> CTON: Unknown
> P[ 5] * Queuing chan 0x8285bf0
> Jun  8 19:32:29 WARNING[5019]: chan_misdn.c:4390 chan_misdn_log:
> Extension can never match, so disconnecting
> P[ 5] Tone Indicate:
> P[ 5]  --> Busy
> P[ 5] misdn_write: zero write
> P[ 5] I SEND:RELEASE oad:04656708 dad:0465670127
> P[ 5]  --> bc_state:BCHAN_CLEANED
> P[ 5]  --> mode:TE cause:16 ocause:1 rad: cad:
> P[ 5]  --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 5]  --> info_dad: onumplan:2 dnumplan:2 rnumplan:  cpnnumplan:0
> P[ 5]  --> screen:0 --> pres:0
> P[ 5]  --> channel:1 caps:Speech pi:0 keypad:
> P[ 5]  --> urate:0 rate:16 mode:0 user1:0
> P[ 5]  --> pid:0 addr:0 l3id:a0001
> P[ 5]  --> b_stid:0 layer_id:0
> P[ 5]  --> bc:821d7ac h:0 sh:0
> P[ 5] P[ 5] Sending msg, prim:34d80 addr:0 dinfo:a0001
> GOT SETUP OK
> P[ 5] MGMT: Short status dinfo 2000001
> P[ 5] MGMT: SSTATUS: L2_ESTABLISH
> P[ 5] handle_frm: frm->addr:42000503 frm->prim:35a82
> P[ 5] I IND :RELEASE_COMPLETE oad:04656708 dad:0465670127
> P[ 5]  --> mode:TE cause:-1 ocause:1 rad: cad:
> P[ 5]  --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 5]  --> info_dad: onumplan:2 dnumplan:2 rnumplan:  cpnnumplan:0
> P[ 5]  --> screen:0 --> pres:0
> P[ 5]  --> channel:1 caps:Speech pi:0 keypad:
> P[ 5]  --> urate:0 rate:16 mode:0 user1:0
> P[ 5]  --> pid:0 addr:0 l3id:a0001
> P[ 5]  --> b_stid:0 layer_id:0
> P[ 5]  --> bc:821d7ac h:0 sh:0
> P[ 5]  --> bc_state:BCHAN_CLEANED
> P[ 5] bchan_deactivate: called but not activated
> P[ 5] release_chan: bc with l3id: a0001
> P[ 5] * RELEASING CHANNEL pid:0 ctx:from-pstn dad:0465670127
> oad:04656708 state: EXTCANTMATCH
> P[ 5]  --> * State Down
> P[ 5]  --> Setting AST State to down
> P[ 5]  --> * State Wait4dig | ExtCantMatch
> P[ 5] handle_frm: frm->addr:42000503 frm->prim:3f182
> P[ 5]  --> lib: RELEASE_CR Ind with l3id:a0001
> P[ 5]  --> lib: CLEANING UP l3id: a0001
> P[ 5]  --> empty chan 1
> P[ 5] BC_STATE_CHANGE: from:BCHAN_CLEANED to:BCHAN_EMPTY
> P[ 5] BC_NEXT_STATE_CHANGE: from:BCHAN_EMPTY to:BCHAN_EMPTY
> P[ 0] $$$ CLEANUP CALLED
> P[ 5] $$$ CLEARING STACK
> P[ 5] BC_STATE_CHANGE: from:BCHAN_EMPTY to:BCHAN_CLEANED
> P[ 5] I IND :CLEAN_UP oad: dad:
> P[ 5]  --> mode:TE cause:16 ocause:16 rad: cad:
> P[ 5]  --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 5]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
> P[ 5]  --> screen:0 --> pres:0
> P[ 5]  --> channel:0 caps:Speech pi:0 keypad:
> P[ 5]  --> urate:0 rate:16 mode:0 user1:0
> P[ 5]  --> pid:0 addr:0 l3id:a0001
> P[ 5]  --> b_stid:0 layer_id:0
> P[ 5]  --> bc:821d7ac h:0 sh:0
> P[ 5]  --> bc_state:BCHAN_CLEANED
> P[ 0] MGMT: DELLAYER|CONFIRM Addr: 1000000 !
>
> can you help me to guess the problem?
>
> in the file extension.conf i've got:
>
> exten => 465670127,1,Dial(SIP/200)
>
> where am i wrong?
>
> thanks
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list