[asterisk-users] Asterisk don't use "context="

Olivier CALVANO o.calvano at gmail.com
Tue Apr 24 02:34:37 CDT 2012


Hi

I have a iax configuration:

[IaxServer]
type=friend
host=172.16.1.14
port=4569
defaultuser=IaxServer
auth=md5
secret=mypassword
context=Internal
peercontext=Internal
qualify=yes
trunk=no
disallow=all
allow=alaw

i see the peer:

ipbx*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
IaxServer         172.16.1.14     (S)  255.255.255.255  4569      (E) OK (6 ms)

ipbx*CLI> iax2 show peer IaxServer

  * Name       : IaxServer
  Secret       : <Set>
  Context      : Internal
  Parking lot  :
  Mailbox      :
  Dynamic      : No
  Callnum limit: 0
  Calltoken req: No
  Trunk        : No
  Callerid     : "" <>
  Expire       : -1
  ACL          : No
  Addr->IP     : 172.16.1.14 Port 4569
  Defaddr->IP  : 0.0.0.0 Port 0
  Username     :
  Codecs       : 0x8 (alaw)
  Codec Order  : (alaw)
  Status       : OK (4 ms)
  Qualify      : every 60000ms when OK, every 10000ms when UNREACHABLE
(sample smoothing Off)



But when i receive the call, my server said:

[Apr 24 09:25:30] NOTICE[22148]: chan_iax2.c:10241 socket_process:
Rejected connect attempt from 172.16.1.14, request '280 at default' does
not exist


He search the extention "280" in "default" but not in "Internal"

Anyone know why ?

for information, the 172.16.1.14 is a old asterisk server and i have
put it into calltokenoptional


thanks for your help
Olivier



More information about the asterisk-users mailing list