So take the challenge and go with ip routing.<br><br>I've mentioned everything that you needed in previous reply.<br><br><br><div><span class="gmail_quote">On 9/15/07, <b class="gmail_sendername">Kate Kretz</b> <<a href="mailto:kate.kretz@gmail.com">
kate.kretz@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">no.<br><br>all packets come to the same h323 proxy.
<br>and actually asterisk acts as sip <--> h323 convertor.<br><br>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
<div><span class="e" id="q_1150828f2f575066_1"><br><br><div><span class="gmail_quote">On 9/15/07, <b class="gmail_sendername">Seysan</b> <<a href="mailto:AFShin9@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
AFShin9@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I would recommend instead of Using IPs in your Billing, your Prefixes.<br>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.
<br>I'm doing such billings for 5 years now!<br><br>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.
<br>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 . ;)<br>it is a little bit complicated, But I recommend PREFIX Billing.
<br><br>Regards,<br><span><br>Seysan</span><div><span><br><br><br><div><span class="gmail_quote">On 9/15/07, <b class="gmail_sendername">Kate Kretz</b> <<a href="mailto:kate.kretz@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kate.kretz@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
there's just one factor - customer, i.e. extension in terms of Asterisk.<div><span><br><br><div><span class="gmail_quote">On 9/15/07, <b class="gmail_sendername">Joseph Bajin</b> <
<a href="mailto:josephbajin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">josephbajin@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What are the factors in deciding which interface the traffic needs to
<br>
go out of?<br><br>Is it based on IP address, is it based on the terminating carrier?<br><br>--Joe<br><br>On 9/14/07, Kate Kretz <<a href="mailto:kate.kretz@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kate.kretz@gmail.com</a>> wrote:<br>> Dear Sirs,
<br>><br>> out asterisk server has multiple network cards.<br>><br>> I want some outgoing calls (from several extensions) to use one IP address,<br>> and others to go through<br>> another address.<br>>
<br>> is there a way to achive that using asterisk ?<br>><br>> Cheers,<br>> Kate<br>><br>> _______________________________________________<br>><br>> Sign up now for AstriCon 2007! September 25-28th.
<a href="http://www.astricon.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.astricon.net/</a><br>><br>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--</a><br>><br>> asterisk-users mailing list
<br>> To UNSUBSCRIBE or update options visit:<br>><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br><br><br>--<br>--Joe
<br><br>"Success is easy if you think of it like Rust: It's inevitable if<br>you keep at it. Guys claim there are magic moments, but that's just<br>bullshit." --Fred Franzia (The famous wine guy)<br><br>
_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.astricon.net/
</a><br><br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>
</span></div><br>_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>
</span></div><br>_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>
</span></div><br>_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.astricon.net/" target="_blank">
http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>