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

Seysan AFShin9 at gmail.com
Sat Sep 15 10:08:23 CDT 2007


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 <kate.kretz at gmail.com> wrote:
>
> 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, Seysan <AFShin9 at gmail.com> wrote:
> >
> > 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 on the 22 prefix.
> > I'm doing such billings for 5 years now!
> >
> > Also for Routing based on IP Address, I have done this in the ISP. You
> > can MARK packets that are comming from specific extension because the IP
> > address on that extension is different, then you will ROUTE those MARKED
> > packets to the IP that you want.
> > Marking is done with "iptables" in the mangle module "iptables -r mangle
> > -I PREROUTING -s xxxxxx and blah blah" and for routing you can do it with
> > "ip" command and U32 match . ;)
> > it is a little bit complicated, But I recommend PREFIX Billing.
> >
> > Regards,
> >
> > Seysan
> >
> >
> > On 9/15/07, Kate Kretz < kate.kretz at gmail.com> wrote:
> > >
> > > there's just one factor - customer, i.e. extension in terms of
> > > Asterisk.
> > >
> > > On 9/15/07, Joseph Bajin < josephbajin at gmail.com > 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
> > > >
> > > > On 9/14/07, Kate Kretz < kate.kretz at gmail.com> 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
> > > > >
> > > > > _______________________________________________
> > > > >
> > > > > Sign up now for AstriCon 2007!  September 25-28th.
> > > > http://www.astricon.net/
> > > > >
> > > > > --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
> > > > >
> > > >
> > > >
> > > > --
> > > > --Joe
> > > >
> > > > "Success is easy if you think of it like Rust:   It's inevitable if
> > > > you keep at it. Guys claim there are magic moments, but that's just
> > > > bullshit." --Fred Franzia (The famous wine guy)
> > > >
> > > > _______________________________________________
> > > >
> > > > Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/
> > > >
> > > >
> > > > --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
> > > >
> > >
> > >
> > > _______________________________________________
> > >
> > > Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/
> > >
> > > --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
> > >
> >
> >
> > _______________________________________________
> >
> > Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/
> >
> > --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
> >
>
>
> _______________________________________________
>
> Sign up now for AstriCon 2007!  September 25-28th.
> http://www.astricon.net/
>
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070915/476fe0d2/attachment-0001.htm 


More information about the asterisk-users mailing list