Route calls based on the Nb they are divert by
Hi everyone I was wondering if it is possible route calls based on the numbers they were divert by, perhaps using "sip_redirected_by". Let's assume I own two phone numbers of my old fixed telephone lines and one VoIP Account/Number. If I redirect the two fixnet numbers to the same VoIP number, is it possible to "demultiplex" the incoming calls based on the number they were redirected by? I am not sure about the available meta data provided by SIP, however I am certain that my ISDN phone is sometimes showing "xxxx is calling, redirected by yyyyy" Best Wishes Andreas
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. On Mon, Apr 26, 2010 at 3:49 PM, Andreas Dröscher <freeswitch@anticat.ch>wrote:
Hi everyone
I was wondering if it is possible route calls based on the numbers they were divert by, perhaps using "sip_redirected_by".
Let's assume I own two phone numbers of my old fixed telephone lines and one VoIP Account/Number. If I redirect the two fixnet numbers to the same VoIP number, is it possible to "demultiplex" the incoming calls based on the number they were redirected by?
I am not sure about the available meta data provided by SIP, however I am certain that my ISDN phone is sometimes showing "xxxx is calling, redirected by yyyyy"
Best Wishes Andreas
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- -Rupa
There is a whole lot of information. If I knew this command earlier other stuff would have been easer also. T/hank you/ for the /hint/!. However the number I was hoping for, does not show up. ;-( Am 27.04.2010 00:04, schrieb Rupa Schomaker:
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.
On Mon, Apr 26, 2010 at 3:49 PM, Andreas Dröscher <freeswitch@anticat.ch <mailto:freeswitch@anticat.ch>> wrote:
Hi everyone
I was wondering if it is possible route calls based on the numbers they were divert by, perhaps using "sip_redirected_by".
Let's assume I own two phone numbers of my old fixed telephone lines and one VoIP Account/Number. If I redirect the two fixnet numbers to the same VoIP number, is it possible to "demultiplex" the incoming calls based on the number they were redirected by?
I am not sure about the available meta data provided by SIP, however I am certain that my ISDN phone is sometimes showing "xxxx is calling, redirected by yyyyy"
Best Wishes Andreas
participants (2)
-
Andreas Dröscher
-
Rupa Schomaker