[Asterisk-Users] misdn problem
Tommaso Calosi
tommaso.calosi.list at sysmic.it
Mon May 29 01:47:04 MST 2006
In your extension.conf, in the misdn context you defined in
/etc/asterisk/misdn.conf you have to add something linke the following line
[from-pstn]
exten => 0108680550,1,Dial(SIP/201)
If you don't want to have to write a string for each called extension,
you can put something like. Obviously SIP/201 is the phone you wish to ring.
[from-pstn]
exten => _XXXX.,1,Dial(SIP/201)
asterisk at frameweb.it wrote:
> I have two HFC ISDN Cards, configured using mISDN on asterisk svn head 1.2
>
> These two cards are connected to 2 ISDN Lines, receiving calls for 50
> numbers.
>
> Everything is OK on 75 % and bad on 25 %
>
> When is bad, In /var/log/asterisk/full I see
>
> May 26 09:55:28 WARNING[24410] chan_misdn.c: Extension can never match, so
> disconnecting
> May 26 09:55:28 DEBUG[24410] channel.c: Prodding channel 'mISDN/1-1'
> May 26 09:55:28 DEBUG[24410] channel.c: Scheduling timer at 160 sample
> intervals
> May 26 09:55:28 WARNING[24410] chan_misdn.c: Extension can never match, so
> disconnecting
> May 26 09:55:28 DEBUG[24410] channel.c: Prodding channel 'mISDN/2-1'
> May 26 09:55:28 DEBUG[24410] channel.c: Scheduling timer at 160 sample
> intervals
>
> on the asterisk console, if I set misdn set debug 10, I see
>
> P[ 1] handle_frm: frm->addr:42000103 frm->prim:3f082
> P[ 1] --> lib: NEW_CR Ind with l3id:200ec on this port.
> P[ 1] --> new_process: New L3Id: 200ec
> P[ 1] handle_frm: frm->addr:42000103 frm->prim:30582
> P[ 1] set_channel: bc->channel:0 channel:1
> P[ 1] lib Got Prim: Addr 42000103 prim 30582 dinfo 200ec
> P[ 1] $$$ find_chan: No channel found for oad:3481303064 dad:0108680550
> P[ 0] $$$ find_chan: No channel found with l3id:200ec
> P[ 1] I IND :SETUP oad:3481303064 dad:0108680550
> P[ 1] --> mode:TE cause:16 ocause:16 rad:
> P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan:
> P[ 1] --> screen:0 --> pres:0
> P[ 1] --> channel:1 caps:Speech pi:0 keypad:
> P[ 1] --> urate:0 rate:16 mode:0 user1:0
> P[ 1] --> pid:336 addr:50010102 l3id:200ec
> P[ 1] --> b_stid:0 layer_id:50010180
> P[ 1] --> bc:81681d4 h:0 sh:0
> P[ 1] $$$ find_chan: No channel found for oad:3481303064 dad:0108680550
> P[ 1] --> Bearer: Speech
> P[ 1] --> Codec: Alaw
> P[ 0] --> * NEW CHANNEL dad:0108680550 oad:3481303064
> P[ 1] read_config: Getting Config
> P[ 1] config_jb: Called
> P[ 1] --> * CallGrp: PickupGrp:
> P[ 1] * Queuing chan 0x842e8b0
> P[ 1] CONTEXT:from-pstn
> P[ 1] Tone Indicate:
> P[ 1] --> Busy
> P[ 1] misdn_write: * prods us
> P[ 1] SENDEVENT: stack->nt:0 stack->uperid:40000104
> P[ 1] I SEND:DISCONNECT oad:3481303064 dad:00108680550
> P[ 1] --> mode:TE cause:16 ocause:1 rad:
> P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 1] --> info_dad: onumplan:0 dnumplan:2 rnumplan:
> P[ 1] --> screen:0 --> pres:0
> P[ 1] --> channel:1 caps:Speech pi:0 keypad:
> P[ 1] --> urate:0 rate:16 mode:0 user1:0
> P[ 1] --> pid:336 addr:50010102 l3id:200ec
> P[ 1] --> b_stid:0 layer_id:50010180
> P[ 1] --> bc:81681d4 h:0 sh:0
> P[ 1] GOT SETUP OK
> P[ 1] Freeing Msg on prim:30582
> P[ 2] handle_frm: frm->addr:42000203 frm->prim:3f082
> P[ 2] --> lib: NEW_CR Ind with l3id:40076 on this port.
> P[ 2] --> new_process: New L3Id: 40076
> P[ 2] handle_frm: frm->addr:42000203 frm->prim:30582
> P[ 2] set_channel: bc->channel:0 channel:1
> P[ 2] lib Got Prim: Addr 42000203 prim 30582 dinfo 40076
> P[ 2] $$$ find_chan: No channel found for oad:3481303064 dad:0108680550
> P[ 1] $$$ find_chan: No channel found with l3id:40076
> P[ 2] I IND :SETUP oad:3481303064 dad:0108680550
> P[ 2] --> mode:TE cause:16 ocause:16 rad:
> P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 2] --> info_dad: onumplan:0 dnumplan:2 rnumplan:
> P[ 2] --> screen:0 --> pres:0
> P[ 2] --> channel:1 caps:Speech pi:0 keypad:
> P[ 2] --> urate:0 rate:16 mode:0 user1:0
> P[ 2] --> pid:337 addr:50010202 l3id:40076
> P[ 2] --> b_stid:0 layer_id:50010280
> P[ 2] --> bc:8173dec h:0 sh:0
> P[ 2] $$$ find_chan: No channel found for oad:3481303064 dad:0108680550
> P[ 2] --> Bearer: Speech
> P[ 2] --> Codec: Alaw
> P[ 0] --> * NEW CHANNEL dad:0108680550 oad:3481303064
> P[ 2] read_config: Getting Config
> P[ 2] config_jb: Called
> P[ 2] --> * CallGrp: PickupGrp:
> P[ 2] * Queuing chan 0x84a8ea0
> P[ 2] CONTEXT:from-pstn
> P[ 2] Tone Indicate:
> P[ 2] --> Busy
> P[ 2] misdn_write: * prods us
> P[ 2] SENDEVENT: stack->nt:0 stack->uperid:40000204
> P[ 2] I SEND:DISCONNECT oad:3481303064 dad:00108680550
> P[ 2] --> mode:TE cause:16 ocause:1 rad:
> P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
> P[ 2] --> info_dad: onumplan:0 dnumplan:2 rnumplan:
> P[ 2] --> screen:0 --> pres:0
> P[ 2] --> channel:1 caps:Speech pi:0 keypad:
> P[ 2] --> urate:0 rate:16 mode:0 user1:0
> P[ 2] --> pid:337 addr:50010202 l3id:40076
> P[ 2] --> b_stid:0 layer_id:50010280
> P[ 2] --> bc:8173dec h:0 sh:0
> P[ 2] GOT SETUP OK
> P[ 2] Freeing Msg on prim:30582
> P[ 2] MGMT: Short status dinfo 2000001
> P[ 2] MGMT: SSTATUS: L2_ESTABLISH
>
> all the (4) channels were idle at call time.
>
> Thanks in advance
>
> Andrea
>
> Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla.
>
> Visitate il sito http://www.frameweb.it
>
> _______________________________________________
> --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