Well, yes.
Or you use the network_addr variable, and you put it in a custom header X-Original-IP or whatever.

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 21/04/2010 à 17:34, RR a écrit :

Thanks David. We know the custom header is the way to go but didn't know how to send that in the header. After a little research, discovered that we could use the sip_invite_domain channel variable to forward the call with the original "From" Header to the Asterisk Farm. Just thought it would help someone else out in the future :)

On Tue, Apr 20, 2010 at 9:16 PM, David Ponzone <david.ponzone@gmail.com> wrote:

Setting a customer SIP header seems a nice way to do that. And easy.

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 21/04/2010 à 01:24, RR a écrit :

Hello list,

we have an FS server configured as a call-distributor (using "mod_distributor") to a bank/farm of Asterisk servers. However, since the FS is acting like a B2BUA, it's not passing the originating IP (network_addr) from the originating switch/gateway to the Asterisk farm (as expected). However, we need to have this information in the Asterisk servers. How can we achieve this? Do we need to create/insert a custom SIP header when passing on the call or set a variable or any other way?

Any help on the issue will be much appreciated

Thanks in advance,
RR
_______________________________________________
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


_______________________________________________
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