[asterisk-users] multiple sip trunks

John Taylor john at vetsurgeon.org.uk
Fri Dec 11 16:21:29 CST 2009


I have multiple trunks to the same ITSP. Incoming calls to any trunk
go to the last "incoming" label defined in those trunks' contexts in
sip.conf.

My ITSP insists on insecure=very in the trunk context; is this the cause?

John

2009/12/11 Noah Miller <noahisaacmiller at gmail.com>:
>> 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
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list