[Asterisk-Users] dialplan defenition (closer)

Joao Pereira joao.pereira at fccn.pt
Thu Aug 11 07:13:14 MST 2005


The "IP -> pbx extension" calls are already workin fine.
Now Im just configuring the "pbx extension -> IP" calls this way:

[pbx extensions] --- [SIEMENS PBX] ---- [ASTERISK] --- [SER] --- [sip 
clients]

Thats why the Dial is for SIP only.

Now Im going to try to get the 118 in Asterisk, because the 74 part is 
being eaten somewere.

Joao Pereira

Armin Schindler wrote:

>On Wed, 10 Aug 2005, Joao Pereira wrote:
>  
>
>>Ok, I m getting to the point,
>>This route:
>>exten => _74XXX,1,Dial(SIP/${EXTEN}@193.136.252.5,30,r)
>>Isn't working because the dialed number isnt maching _74XXX
>>
>>I putted Asterisk in "capi debug" mode and when I dial 74118 he says:
>>
>>
>>gnugk*CLI> capi debug
>>CAPI Debugging Enabled
>> -- CONNECT_IND ID=001 #0x0004 LEN=0078
>>Controller/PLCI/NCCI            = 0x401
>>CIPValue                        = 0x10
>>CalledPartyNumber               = <81>118
>>CallingPartyNumber              = <01 83>118
>>    
>>
>...
>  
>
>>--------------------------------------------------------------------------------------
>>I believe that someware 74118 is being transformed in 118... but the number
>>that apears in this debug is
>>CalledPartyNumber               = <81>118
>>    
>>
>
>Yes, your number is 'transformed' somewhere. CAPI only gets the '118' to 
>dial. <81> is just the numbering plan.
> 
>  
>
>>How do I get this call?
>>I already tried:
>>exten => _81118,1,Dial(SIP/74118 at 193.136.252.5,30,r)
>>exten => 81118,1,Dial(SIP/74118 at 193.136.252.5,30,r)
>>    
>>
>
>Where is your dial() for the CAPI line?
>Here you dial SIP only?!
>
>Armin
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>



More information about the asterisk-users mailing list