[Freeswitch-users] passing originating IP when configured as a B2BUA

RR ranjtech at gmail.com
Wed Apr 21 13:24:16 PDT 2010


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 at 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
> email: 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  -   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.*
> *
> *
>
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100421/a8d9a43b/attachment.html 


More information about the FreeSWITCH-users mailing list