[Asterisk-Users] dialplan defenition (goooooooal)

Joao Pereira joao.pereira at fccn.pt
Thu Aug 11 07:40:15 MST 2005


I got it!!!!
The siemens PBX is cutting the 74XXX in XXX, and thats why it wasnt 
working. Now, to implement my dialplan in witch all the SIP phones are 
74XXX, I must put the 74 manually, and the line is:

exten => _XXX,1,Dial(SIP/74${EXTEN}@193.136.2.252,5,r)

Thank you to everyone that helped me.
Cheers
Joao Pereira

Joao Pereira wrote:

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