Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-03 Thread Benny Amorsen
bilal ghayyad bilmar...@yahoo.com writes: 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? You would have to run two instances of Asterisk to achieve that right now. 1) You can't distinguish on source port

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread David Gibbons
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

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread bilal ghayyad
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

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread Steve Totaro
On Mon, Feb 2, 2009 at 7:53 AM, Steve Howes st...@geekinter.net wrote: On 2 Feb 2009, at 09:46, Benny Amorsen wrote: Jeff LaCoursiere j...@jeff.net writes: Ah, that makes more sense. Asterisk binding to another IP is not the issue, actually, and even running another instance will not do

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread Benny Amorsen
Jeff LaCoursiere j...@jeff.net writes: Ah, that makes more sense. Asterisk binding to another IP is not the issue, actually, and even running another instance will not do what you need. Your problem is that the OS itself will stamp outbound packets with the main source IP of the main

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread bilal ghayyad
To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine On Sunday 01 February 2009 15:40:29 Tilghman Lesher wrote: On Sunday 01 February 2009 14:39:11 Jeff

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread Steve Howes
On 2 Feb 2009, at 09:46, Benny Amorsen wrote: Jeff LaCoursiere j...@jeff.net writes: Ah, that makes more sense. Asterisk binding to another IP is not the issue, actually, and even running another instance will not do what you need. Your problem is that the OS itself will stamp outbound

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread Tilghman Lesher
On Monday 02 February 2009 12:44:05 pm bilal ghayyad wrote: 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? Yes, that is

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread Tilghman Lesher
On Monday 02 February 2009 01:39:09 pm David Gibbons wrote: Have you tried configuring two peer config files and setting the externip parameter in each of them differently to your two public ips? What's continually shocking to me are people who make suggestions on a list when it's clear they

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread David Gibbons
-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

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-02 Thread bilal ghayyad
Lesher tilgh...@mail.jeffandtilghman.com Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Message-ID

[asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread bilal ghayyad
Hi All; I can assign for my Asterisk Machine a two IP addresses (xxx.xxx.xxx.yyy and xxx.xxx.xxx.yyz), how can I use these two IP's so I can let one call sent with a source IP address xxx.xxx.xxx.yyy and another call to be sent with another source IP address xxx.xxx.xxx.yyz, I need this

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Jeff LaCoursiere
I am confused as to what you are trying to accomplish. Can you be more specific? It seems that you are making this too complicated. You say that the remote end is providing you two SIP trunks that will come from the same IP address. To distinguish them simply have them authenticate with

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Mike
Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine I am confused as to what you are trying to accomplish. Can you be more specific? It seems that you are making this too complicated. You say that the remote end

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Tilghman Lesher
On Sunday 01 February 2009 11:32:51 bilal ghayyad wrote: I can assign for my Asterisk Machine a two IP addresses (xxx.xxx.xxx.yyy and xxx.xxx.xxx.yyz), how can I use these two IP's so I can let one call sent with a source IP address xxx.xxx.xxx.yyy and another call to be sent with another

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread bilal ghayyad
send for the provider from another IP. Did u get what I need? Regards Bilal --- On Sun, 2/1/09, Jeff LaCoursiere j...@jeff.net wrote: From: Jeff LaCoursiere j...@jeff.net Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Mike
Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- boun...@lists.digium.com] On Behalf Of Tilghman Lesher Sent: Sunday, February 01, 2009 14:25 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Jeff LaCoursiere
LaCoursiere j...@jeff.net Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine To: bilmar...@yahoo.com, Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Sunday, February 1, 2009, 12:44 PM I am

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Mike
...@jeff.net wrote: From: Jeff LaCoursiere j...@jeff.net Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine To: bilmar...@yahoo.com, Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Geraint Lee
- Non-Commercial Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine Ah, that makes more sense. Asterisk binding to another IP is not the issue, actually, and even running another instance will not do what you

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Jeff LaCoursiere
: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine Ah, that makes more sense. Asterisk binding to another IP is not the issue, actually, and even running another instance

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Jeff LaCoursiere
...@lists.digium.com] On Behalf Of Jeff LaCoursiere Sent: Sunday, February 01, 2009 14:56 To: bilal ghayyad Cc: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine Ah

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Tilghman Lesher
On Sunday 01 February 2009 14:39:11 Jeff LaCoursiere wrote: Actually I think that is a good idea. In sip.conf setup the two remote ends on different IPs (one of which is actually bogus). Outbound NAT based on the destination, where you change the source IP to the one expected by the

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Tilghman Lesher
On Sunday 01 February 2009 15:40:29 Tilghman Lesher wrote: On Sunday 01 February 2009 14:39:11 Jeff LaCoursiere wrote: Actually I think that is a good idea. In sip.conf setup the two remote ends on different IPs (one of which is actually bogus). Outbound NAT based on the destination,

Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine

2009-02-01 Thread Mike
...@lists.digium.com] On Behalf Of Tilghman Lesher Sent: Sunday, February 01, 2009 18:36 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine On Sunday 01 February 2009 15