[Asterisk-Users] SIP on IP aliases

Tony Mountifield tony at softins.clara.co.uk
Wed Feb 8 09:14:38 MST 2006


I have some Asterisk boxes in my SIP provider's colo, and the SIP
connections are done without using any kind of authentication credentials.
It's a secure network, so I guess that's OK.

I now want different sets of calls from one box billed to different
customers, by the providers billing system, and the provider says that
the distinction can only be made by having the differnet sets of calls
come from different IP addresses, as if they were different boxes.
This sounds fair enough.

I want to use a single box, configured with multiple IP address aliases,
e.g. eth0 = 192.168.10.1, eth0:1 = 192.168.10.2, etc.

In Asterisk, in sip.conf, is it possible to control which of the box's
IP addresses an outgoing call will be made from? I guess it would have
to be a directive in each individual peer section, but it wasn't
immediately obvious to me.

Has anyone successfully used this kind of setup?

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list