On Wed, 10 Aug 2005, Joao Pereira wrote: > Ok, I m getting to the point, > This route: > exten => _74XXX,1,Dial(SIP/[EMAIL PROTECTED],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/[EMAIL PROTECTED],30,r) > exten => 81118,1,Dial(SIP/[EMAIL PROTECTED],30,r) Where is your dial() for the CAPI line? Here you dial SIP only?! Armin _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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