It all depends on what your ITSP sends you. Try the "info" app to see if there is any mention of the number you are diverting from. Pretty much everything there can be used for routing decisions.<br><br><div class="gmail_quote">
On Mon, Apr 26, 2010 at 3:49 PM, Andreas Dröscher <span dir="ltr"><<a href="mailto:freeswitch@anticat.ch">freeswitch@anticat.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everyone<br>
<br>
I was wondering if it is possible route calls based on the numbers they were<br>
divert by, perhaps using "sip_redirected_by".<br>
<br>
Let's assume I own two phone numbers of my old fixed telephone lines and one<br>
VoIP Account/Number. If I redirect the two fixnet numbers to the same VoIP<br>
number, is it possible to "demultiplex" the incoming calls based on the number<br>
they were redirected by?<br>
<br>
I am not sure about the available meta data provided by SIP, however I am<br>
certain that my ISDN phone is sometimes showing "xxxx is calling, redirected by<br>
yyyyy"<br>
<br>
Best Wishes<br>
Andreas<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>