Perhaps someone can help me with a problem that has me thoroughly
stumped!

Given the below sip.conf file, why do calls that come in from server
123.456.789.012 NOT go into the "ext" context?

I've tried many variations of the below but no matter what I try calls
from that server are always in the "default" context.

Is it possible that Asterisk must first register to the server before it
will accept the "host" context? In this case the server in question is a
Cisco router hooked up to a PRI. It does not need or allow registrations
so I hope that is not the problem.

[general]
context=default
bindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=g729
allow=ulaw
allow=alaw

[gw]
type=peer
context=ext
host=123.456.789.012
canreinvite=no
disallow=all
allow=g729
allow=ulaw
allow=alaw

-- 
John Lange


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to