Koozali.org: home of the SME Server

incoming pri calls in default context as extendtions

Offline rrkelly

  • ***
  • 56
  • +0/-0
incoming pri calls in default context as extendtions
« on: February 02, 2011, 11:36:43 PM »
i get this when i make a call to the pri from my cell

    -- Extension '5072268215' in context 'default' from '' does not exist.  Rejecting call on channel 0/2, span 1
    -- Extension '5072268215' in context 'default' from '' does not exist.  Rejecting call on channel 0/2, span 1
imtruckrcservicegw*CLI>

i checked the asterisk extensions.conf  it is most definitely the in the mainmenu context 

[mainmenu]


        exten => 2260035,1,agi(selintra,Inbound,${EXTEN})
        exten => 2260036,1,agi(selintra,Inbound,${EXTEN})
        exten => 2260037,1,agi(selintra,Inbound,${EXTEN})
        exten => 2260038,1,agi(selintra,Inbound,${EXTEN})
        exten => 2859639,1,agi(selintra,Inbound,${EXTEN})
        exten => 5072268215,1,agi(selintra,Inbound,${EXTEN})

trunk config
5072268215    rclocalin    NO    default    PTT_DiD_Group    LOCAL    N/A    N/A    DiD    None    2002    2002

any ideas on how to get it in the proper context ?
thanks
rob

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: incoming pri calls in default context as extendtions
« Reply #1 on: February 03, 2011, 11:08:00 AM »
Hi Rob

I'll need a little more info....

sail release?

At the Asterisk console turn on agi debugging -  'agi set debug on'

run your failing call and post the console output and sip.conf

If the data is sensitive then send it to admin@aelintra.com


Kind Regards

S

Offline rrkelly

  • ***
  • 56
  • +0/-0
Re: incoming pri calls in default context as extendtions
« Reply #2 on: February 03, 2011, 03:19:09 PM »
hi
i sent the sip by separate email with a copy of whats below

mtruckrcservicegw*CLI> agi debug
AGI Debugging EnabledI>
    -- Extension '5072268215' in context 'default' from '' does not exist.  Rejecting call on channel 0/1, span 1
imtruckrcservicegw*CLI>


[root@imtruckrcservicegw asterisk]# grep 5072268215 *.*
extensions.conf:        exten => 5072268215,1,agi(selintra,Inbound,${EXTEN})
[root@imtruckrcservicegw asterisk]#


Version: sail-2.2.1-688
   Domain Name: imtruckrcservice.local
   Local IP: 192.168.201.1
   System Name: imtruckrcservicegw
   DiskUsage: 2%
System Mode: servergateway
   Total Memory: 2066732
   Used Memory: 668176
   Free Memory: 1398556
   USB DiskUsage: Not Found
Serial #: 484626
   Shared Memory: 0
   Buffers: 67684
   cached: 275516
   Logging to: Disk
Swap Memory: 2031608
   Swap Used: 0
   Swap Free: 2031608
Asterisk State: RUNNING
   HAE State: Not Installed
   Nodetype: PRIMARY
   Virtual IP: 192.168.201.1

Offline rrkelly

  • ***
  • 56
  • +0/-0
Re: incoming pri calls in default context as extendtions
« Reply #3 on: February 03, 2011, 06:34:21 PM »
found it ---- in the zapata.conf it was set to the default context changed it to mainmenu and it worked
hot patched it not thru the gui -- will look for that in the gui
thanks
rob

Offline rrkelly

  • ***
  • 56
  • +0/-0
Re: incoming pri calls in default context as extendtions
« Reply #4 on: February 03, 2011, 06:56:09 PM »
do you know where to make a permanent change to the zapata.conf file ? any commit reverts the context change from default to mainmenu go away and breaks the pbx
rob

Offline rrkelly

  • ***
  • 56
  • +0/-0
Re: incoming pri calls in default context as extendtions
« Reply #5 on: February 03, 2011, 07:01:10 PM »
sorry found in the pci gui
rob