[Asterisk-Users] dialplan defenition (closer)

Daniel Varella de Oliveira dvarella at tecnologiaip.com.br
Wed Aug 10 14:01:40 MST 2005


Joao,

 I don't think that number 81 is part of the dialed digits. Maybe this is an 
ID of this or something like this.
  
 I think that asterisk is not recognizing the first 2 digits, and passing just 
the others.... maybe is something related about ignorepat (like a "don't 
ignore pattern ?"). Anybody with any idea ?

 But analysing the confs, you are close to the right way...

-- 

[ ]'s

Daniel Varella de Oliveira
Tecnologia IP Ltda
Tel.: +55 (21)2495-0936 / r. 108
www.tecnologiaip.com.br




On Wednesday 10 August 2005 13:43, 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
>   CalledPartySubaddress           = default
>   CallingPartySubaddress          = default
>   BC                              = <80 90 a3>
>   LLC                             = default
>   HLC                             = <91 81>
>   AdditionalInfo
>    BChannelinformation            = default
>    Keypadfacility                 = default
>    Useruserdata                   = default
>    Facilitydataarray              = <1c 23 9f aa 06 80 01 00 82 01 00 8b
> 01 00 a1 15 02 02>6<5d 02 01 00 80 0c>JOAO PEREIRA
>
> Aug 10 17:25:22 NOTICE[1086933696]: chan_capi.c:1932 capi_handle_msg:
> CONNECT_IND ID=001 #0x0004 LEN=0078
>   Controller/PLCI/NCCI            = 0x401
>   CIPValue                        = 0x10
>   CalledPartyNumber               = <81>118
>   CallingPartyNumber              = <01 83>118
>   CalledPartySubaddress           = default
>   CallingPartySubaddress          = default
>   BC                              = <80 90 a3>
>   LLC                             = default
>   HLC                             = <91 81>
>   AdditionalInfo
>    BChannelinformation            = default
>    Keypadfacility                 = default
>    Useruserdata                   = default
>    Facilitydataarray              = <1c 23 9f aa 06 80 01 00 82 01 00 8b
> 01 00 a1 15 02 02>6<5d 02 01 00 80 0c>JOAO PEREIRA
>
> Aug 10 17:25:22 WARNING[1113294272]: pbx.c:1877 ast_pbx_run: Channel
> 'CAPI[contr1/118]/0' sent into invalid extension 's' in context
> 'default', but no invalid handler
>     -- MANUFACTURER_IND ID=001 #0x0005 LEN=0034
>   Controller/PLCI/NCCI            = 0x401
>   ManuID                          = 0x44444944
>   Class                           = 0x70f000a
>   Function                        = 0x4f4a8300
>   ManuData                        = O PEREIRA<81 29 00 00 00 25 1c 23 9f
> aa 06 80 01 00 82 01 00 8b 01 00 a1 15 02 02>6<5d 02 01 00 80 0c>JOAO
> PEREIRA<00 00 00 00 00 00 00 00 00 00 00 00 00>
>
> Aug 10 17:25:22 ERROR[1086933696]: chan_capi.c:2137 capi_handle_msg:
> Command.Subcommand = 0xff.0x82
>     -- INFO_IND ID=001 #0x0006 LEN=0019
>   Controller/PLCI/NCCI            = 0x401
>   InfoNumber                      = 0x70
>   InfoElement                     = <81>118
>
>     -- INFO_IND ID=001 #0x0007 LEN=0018
>   Controller/PLCI/NCCI            = 0x401
>   InfoNumber                      = 0x18
>   InfoElement                     = <a9 83 82>
>
>     -- INFO_IND ID=001 #0x0008 LEN=0015
>   Controller/PLCI/NCCI            = 0x401
>   InfoNumber                      = 0x8005
>   InfoElement                     = default
>
>     -- ALERT_CONF ID=001 #0x0004 LEN=0014
>   Controller/PLCI/NCCI            = 0x401
>   Info                            = 0x0
>
>     -- DISCONNECT_IND ID=001 #0x000a LEN=0014
>   Controller/PLCI/NCCI            = 0x401
>   Reason                          = 0x3490
>
> ---------------------------------------------------------------------------
>----------- I believe that someware 74118 is being transformed in 118... but
> the number that apears in this debug is
> CalledPartyNumber               = <81>118
>
> 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)
>
> but it never worked....
> Any ideas?
> Thanks
> Joao
>
>
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050810/e364d8e3/attachment.pgp


More information about the asterisk-users mailing list