[Freeswitch-users] Routing calls acording to the divertion header

Meftah Tayeb tayeb.meftah at gmail.com
Tue Feb 8 11:59:43 MSK 2011


david,
this is a incomming did that insert "divertion:sip:xxxxx at x.com
i don't want to match the "to" destination number, but i want to match 
the divertion in the dialplan
so if the number was diverted to: "15148001395", i route it to client 1
and if is diverted to "213983200193" i route it to client 2.
that's the actual status
thank you
Le 06/02/2011 20:03, David Ponzone a écrit :
> I think we need more details because your question does not make sense 
> to me ATM.
>
> David Ponzone Direction Technique
> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
> tel:      01 74 03 18 97
> gsm:   06 66 98 76 34
>
> Service Client IPeva
> tel:      0811 46 26 26
> www.ipeva.fr <BLOCKED::http://www.ipeva.fr/>  - www.ipeva-studio.com 
> <BLOCKED::http://www.ipeva-studio.com/>
>
> /Ce message et toutes les pièces jointes sont confidentiels et établis 
> à l'intention exclusive de ses destinataires. Toute utilisation ou 
> diffusion non autorisée est interdite. Tout message électronique est 
> susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au 
> titre de ce message s'il a été altéré, déformé ou falsifié. Si vous 
> n'êtes pas destinataire de ce message, merci de le détruire 
> immédiatement et d'avertir l'expéditeur./
> /
> /
>
>
>
> Le 06/02/2011 à 18:59, Meftah Tayeb a écrit :
>
>> guys,
>> i have a divertion header like this:
>> Diversion:<sip:213983200193 at 12.13.14.15;user=phone>;reason=unknown;counter=1 
>>
>>
>> and another like:
>> Diversion:<sip:15148001395 at 12.13.14.15;user=phone>;reason=unknown;counter=1
>> how can i diferentiate calls acording to the divertion header?
>> thanks
>>
>> -- 
>> Meftah Tayeb
>> inum: +883510001288000
>> phone: +13477595883
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org 
>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>    


-- 
Meftah Tayeb
inum: +883510001288000
phone: +13477595883

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110208/b335354f/attachment.html 


More information about the FreeSWITCH-users mailing list