Hi David,

The method below to extract the value of or access X-Original-IP didn't work in Asterisk. I really want to avoid going to the Asterisk mailing list...so if anyone can help figuring out how I can access custom header value in an Asterisk Dialplan, I would be really grateful.

Thanks
RR

2010/4/21 Brian West <brian@freeswitch.org>
In freeswitch the incoming X-Headers are done with sip_h_X-Header as a variable.

/b

On Apr 21, 2010, at 1:15 PM, David Ponzone wrote:

It's not the right place for this but well :)

Should be ${SIP_HEADER(X-Original-IP)}

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.





_______________________________________________
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