david,
this is a incomming did that insert "divertion:sip:xxxxx@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
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

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@12.13.14.15;user=phone>;reason=unknown;counter=1

and another like:
Diversion:<sip:15148001395@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@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@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