[Asterisk-Users] dialplan defenition (closer)

Joao Pereira joao.pereira at fccn.pt
Wed Aug 10 09:43:33 MST 2005


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




>



More information about the asterisk-users mailing list