Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-19 Thread Alex Balashov
Kate, Are the IP interfaces on those NICs on the same subnet? The simplest way to do this is to pin static routes to various SIP destinations in your kernel routing table over one interface or the other, e.g. something like: route add -host w.x.y.z gw ethX Then you can send a call to SIP p

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-15 Thread Seysan
So take the challenge and go with ip routing. I've mentioned everything that you needed in previous reply. On 9/15/07, Kate Kretz <[EMAIL PROTECTED]> wrote: > > no. > > all packets come to the same h323 proxy. > and actually asterisk acts as sip <--> h323 convertor. > > so, for instance, Bill Cl

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-15 Thread Kate Kretz
no. all packets come to the same h323 proxy. and actually asterisk acts as sip <--> h323 convertor. so, for instance, Bill Clinton calls asterisk as SIP, asterisk sees it's a Bill Clinton and sends h323 packets to the same h323 proxy as usual, but put certain outgoing IP address On 9/15/07, Seys

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Seysan
Hi, I would recommend instead of Using IPs in your Billing, your Prefixes. Most of the billing softwares can to billing based on Prefix, for example when "Bill Clinton" from Extension 100 is calling, add 22 or 22# in front of the calling number 22#12345678, then your billing can do the rest based

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Kate Kretz
there's just one factor - customer, i.e. extension in terms of Asterisk. On 9/15/07, Joseph Bajin <[EMAIL PROTECTED]> wrote: > > What are the factors in deciding which interface the traffic needs to > go out of? > > Is it based on IP address, is it based on the terminating carrier? > > --Joe > > O

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Joseph Bajin
What are the factors in deciding which interface the traffic needs to go out of? Is it based on IP address, is it based on the terminating carrier? --Joe On 9/14/07, Kate Kretz <[EMAIL PROTECTED]> wrote: > Dear Sirs, > > out asterisk server has multiple network cards. > > I want some outgoing ca

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Kate Kretz
well, the situation is: we have two-state VoIP-routing customers (h323,sip) ---> asterisk --> our home made h323 proxy the final billing is done at h323 proxy, and it distingushes customers by their IP addresses. so, if I want to bill two group of SIP customers separately, I need to route call

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Rafael Canchola
Check the "route" command on your Linux system. The gateway route should be the ethX and network whatever you want. At 01:41 p.m. 14/09/2007, Drew Gibson wrote: Kate Kretz wrote: Dear Sirs, out asterisk server has multiple network cards. I want some outgoing calls (from several extensions) to

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Drew Gibson
Kate Kretz wrote: Dear Sirs, out asterisk server has multiple network cards. I want some outgoing calls (from several extensions) to use one IP address, and others to go through another address. is there a way to achive that using asterisk ? Cheers, Kate This is the job of your network, no

Re: [asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Gordon Henderson
On Fri, 14 Sep 2007, Kate Kretz wrote: > Dear Sirs, > > out asterisk server has multiple network cards. > > I want some outgoing calls (from several extensions) to use one IP address, > and others to go through > another address. > > is there a way to achive that using asterisk ? I doubt it, but

[asterisk-users] how to route outgoing calls on IP-level

2007-09-14 Thread Kate Kretz
Dear Sirs, out asterisk server has multiple network cards. I want some outgoing calls (from several extensions) to use one IP address, and others to go through another address. is there a way to achive that using asterisk ? Cheers, Kate ___ Sign up n