Asterisk multiple IP registration

1.7k Views Asked by At

I have Linux box with several IP addresses running Asterisk.

Is there a way to force asterisk to make trunk registrations from specific (not default) IP addresses? I need to connect 2 users from the same asterisk box to the same provider via different IPs.

Thanks a lot in advance for your help.

2

There are 2 best solutions below

0
On

You have use 3 trunks and source-based routing.

Asterisk will select interface from which packet have be send based on source-routing.

0
On

Put Host="Client IP Address" in the sip peers. You need to create two different sip peers for two users. You can use the trunk using pattern matchin/ dial plan.