[Asterisk-Users] dialplan defenition (closer)

Armin Schindler armin at melware.de
Wed Aug 10 11:29:16 MST 2005


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




More information about the asterisk-users mailing list