[asterisk-users] multiple sip trunks

Noah Miller noahisaacmiller at gmail.com
Fri Dec 11 12:30:01 CST 2009


> I assume if all the SIP trunks are to the same host/port, Asterisk
> cannot distinguish which trunk is active when an incoming call is
> made- it will dump all incoming calls to the context specified in the
> last trunk entry of sip.conf

No.  SIP uses authentication (well, I guess you can not use
authentication).  Asterisk (and almost any SIP gateway) will correctly
match the call to the trunk based on the authentication.  Even if you
didn't send any authentication info, asterisk will try to match the
call as a "guest" call.  It is common practice to not allow
unauthenticated SIP traffic.


- Noah



More information about the asterisk-users mailing list