David,

Thanks. I was thinking the same thing but figured it's neater for me to modify the FROM header so even the CDRs will have the correct origination IP as the CDRs might/will not carry the customer X-Header by default and we'll have to extract it and insert it into the Asterisk CDRs to capture the origination IP. 

Brian,

Yep got that from what David said. Like I said, I figured out how to do it, just didn't know in Asterisk how to extract a customer header in SIP.

Thanks all
\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