Hi,
example:
> register => 5311111:[EMAIL PROTECTED]:5061/1234
Unfortunately this doesn't really fit my needs.
"/1234" means [EMAIL PROTECTED], where default is the context specified in
the general section of sip.conf:
[general]
context=default ; Default context for incoming calls
Since I have several sip_proxy, I need different incoming contexts.
I mean I want to send calls from sip_proxy _ONE to context
"from-proxy_ONE" and calls from sip_proxy_TWO to context "from-proxy_TWO".
So I need to use:
register => 2345:[EMAIL PROTECTED]
register => 6789:[EMAIL PROTECTED]
where
[sip_proxy_ONE]
type=peer
context=from-proxy_ONE <---------- this is important for me!!
host=sip.proxy_ONE.com
port=5061
[sip_proxy_TWO]
type=peer
context=from-proxy_TWO <---------- this is important for me!!
host=sip.proxy_TWO.com
port=9000
This way, port is never used.
Thanks,
Alex
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users