when i said inline ... i just meant to define some variables in your DP ... this is not a solution for you ... it is rather a proof of concept instead.<br><br>you need to do a DB lookup (sqlite or mysql).<br><br>T.<br><br>
<div class="gmail_quote">On Wed, Sep 23, 2009 at 1:32 AM, Francis Vidal <span dir="ltr"><<a href="mailto:francisv.list@gmail.com">francisv.list@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, this is the desired outcome. I was planning of using FreeSWITCH + MySQL to do this. How do I do this "inline"?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 12:49 AM, Tihomir Culjaga <span dir="ltr"><<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">so, you say ...<br><br>CallingParty => AS5300<br><br>A: aNum<br>B: didNum<br><br><br>AS5300 => PSTN<br>
<br>A: 1 + didNum<br>
B: prefix (actually the PSTN subscriber's number)<br><br><br>well, without a doubt... you can manipulate whatever number you want ... you just need to find the best way to do it. This depends of the number of DIDs you would like to host. You can do a DB lookup to retrieve the prefix / Subscriber Number... or you can do it inline in your dialplan. It really depends of how much you need to scale.<font color="#888888"><br>
</font></blockquote></div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>