Leandro Dardini
2011-Jul-20 22:28 UTC
[asterisk-users] Multiple SIP trunks between same pair of asterisk box
Hello, for billing purpose between a multitenant asterisk box and another asterisk, I am in the need to maintain multiple SIP trunks between them. Usually I use insecure=invite,port but I had to remove or the trunks will be selected based on IP address and not with username/password. I had to use the fromuser option or asterisk will try to authenticate the call using the CID and not the username, but this break the outbound CID of the client. Both are asterisk 1.6 Is there any other solution from multiple SIP trunks between two asterisk boxes? Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110721/1880611b/attachment.htm>
Faisal Hanif
2011-Jul-21 07:05 UTC
[asterisk-users] Multiple SIP trunks between same pair of asterisk box
If it is just matter of billing you can pass billing related info in additional SIP headers on single trunk. If you must need multiple trunk you can add multiple IPs of different subnet class to both interfaces and configure asterisk to listen of all IPs. Then use one trunk per IP Subnet class. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Leandro Dardini Sent: Thursday, July 21, 2011 3:28 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Multiple SIP trunks between same pair of asterisk box Hello, for billing purpose between a multitenant asterisk box and another asterisk, I am in the need to maintain multiple SIP trunks between them. Usually I use insecure=invite,port but I had to remove or the trunks will be selected based on IP address and not with username/password. I had to use the fromuser option or asterisk will try to authenticate the call using the CID and not the username, but this break the outbound CID of the client. Both are asterisk 1.6 Is there any other solution from multiple SIP trunks between two asterisk boxes? Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110721/7eb4aafc/attachment.htm>