Have you tried configuring two peer config files and setting the externip 
parameter in each of them differently to your two public ips?

Dave

-----Original Message-----
From: bilal ghayyad [mailto:bilmar...@yahoo.com]
Sent: Monday, February 02, 2009 2:32 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'; David Gibbons
Subject: RE: [asterisk-users] Sending Calls via SIP trunk from two different IP 
addresses from same Asterisk Machine

My provider has one IP and one port ONLY, I need to send for him the calls from 
different IP's on the same Asterisk machine, how?

Regards
Bilal


--- On Mon, 2/2/09, David Gibbons <d...@videon-central.com> wrote:

> From: David Gibbons <d...@videon-central.com>
> Subject: RE: [asterisk-users] Sending Calls via SIP trunk from two different 
> IP addresses from same Asterisk Machine
> To: "'bilmar...@yahoo.com'" <bilmar...@yahoo.com>, "'Asterisk Users Mailing 
> List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com>
> Date: Monday, February 2, 2009, 2:16 PM
> If your provider has two different IP addresses at its
> endpoint, you could use iproute2 (source based routing) with
> two local source addresses to make sure that there is a
> one-to-one mapping of source address to destination address.
> Then you could have two peer definitions and an
> address=declaration in each. As I think about it, I believe
> that with iproute2, you could use one provider endpoint
> address and two local addresses in the same manner, without
> the one-to-one mapping...
>
> This seems like the most elegant solution in my mind. And
> the only one that will work reliably... :)
>
> --Dave
>
> <snip>
> If that code in the below link worked, will I be able to
> have two SIP (IP Trunk), both send for same destination
> IP:Port, but from different source IP's? So the
> destination will authorize me in my two different IP's?
> </snip>




_______________________________________________
-- 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

Reply via email to