[Asterisk-Users] Identifying the Originating Cisco SIP Gateway

Ray Burkholder ray at oneunified.net
Mon Jan 5 17:45:21 MST 2004


I have several Cisco SIP gateways sending calls to Asterisk.  Because the
gateways don't have user-agents, they don't authenticate with Asterisk.  And
because they don't authenticate, they use the default context in the
sip.conf file.

Is there a way to either:
A) identify the inbound gateway with a variable, in channel info, or the
manager interface?  If there was a ${SIPDOMAIN} for the originator rather
than the destination, that would be cool, or 
B) make the inbound gateway use the sip.conf file section belonging to it
via the host= line in the sip.conf file without user authentication, or
C) some other way I have yet to fathom

I'm trying to differentiate between legitimate gateways that initiate calls
vs other gateways that should get a very limited inbound capability.

Ray Burkholder
ray at oneunified.net
http://www.oneunified.net
704 644 6999 x2002



-- 
Scanned for viruses and dangerous content at 
http://www.oneunified.net and is believed to be clean.




More information about the asterisk-users mailing list