[Asterisk-Users] misdn problem

asterisk at frameweb.it asterisk at frameweb.it
Tue May 30 10:16:49 MST 2006


In my extension.conf I have both

[ext-did]
include => ext-did-custom
exten => 0108680550,1,Set(FROM_DID=0108680550)
exten => 0108680550,n,Set(FAX_RX=disabled)
exten => 0108680550,n,Goto(timeconditions,3,1)
exten => _01086805XX,1,Set(FROM_DID=_01086805XX)
exten => _01086805XX,n,Set(FAX_RX=disabled)
exten => _01086805XX,n,Goto(custom-did-route,${EXTEN},1)


and later:
[custom-did-route]
exten => _01086805XX,1,Set(FROM_DID=${EXTEN})
exten => _01086805XX,2,Macro(exten-vm,${EXTEN:7},${EXTEN:7})
exten => _01086805XX,3,VoiceMail(500 at default|u)
; ATTENZIONE !!!!! E' necessario remmare una riga in extensions.conf
;exten => exit-FAILED,n,Hangup()
; in [macro-vm]
;

The point is that the dial plan is correct; if it were not, ALL calls
should be lost,
not about 25% dialing the same number;
Insted, you can see ringing BOTH channel 1 of BOTH ISDN Cards; adding
immediate=yes in misdn.conf
seems to slow down the problem, but not completly solve it.

thanks,

Andrea



                                                                           
             Tommaso Calosi                                                
             <tommaso.calosi.l                                             
             ist at sysmic.it>                                             To 
             Sent by:                  Asterisk Users Mailing List -       
             asterisk-users-bo         Non-Commercial Discussion           
             unces at lists.digiu         <asterisk-users at lists.digium.com>   
             m.com                                                      cc 
                                                                           
                                                                   Subject 
             29/05/2006 10.47          Re: [Asterisk-Users] misdn problem  
                                                                           
                                                                           
             Please respond to                                             
              Asterisk Users                                               
              Mailing List -                                               
              Non-Commercial                                               
                Discussion                                                 
             <asterisk-users at l                                             
             ists.digium.com>                                              
                                                                           
                                                                           




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
>
>

_______________________________________________
--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



Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla.

Visitate il sito http://www.frameweb.it




More information about the asterisk-users mailing list