El 03/09/14 06:13, Luca Olivetti ha escrit:
> El 06/03/13 15:36, Francesco Lamonica ha escrit:
> 
> Sorry to revive an old thread (and for the top-posting!), but I'm having
> the same issue and I saw no replies on the list.
> 
> I'm using nua and I tried this right after the call to nua_create
> 
> 
>         if (g_conf.local_ip) {
>                 url_t * local_url;
>                 local_url = url_make(svd->nua, "sip:*.*");
>                 local_url->url_host = g_conf.local_ip;
>                 nua_set_params(svd->nua,
>                                NUTAG_URL (local_url),
>                                TAG_NULL () );
>         }
> 
> 
> but it doesn't seem to be working.

I also tried to add
 TAG_IF (g_conf.local_ip, SIPTAG_VIA_STR(g_conf.local_ip)),
 TAG_IF (g_conf.local_ip, SOATAG_ADDRESS(g_conf.local_ip)),

in the call to nua_create, again with no apparent result (not
surprisingly since it was a random attempt).




> I'm also managing multiple registrations, so I'd prefer something that's
> specific to each registration instead of a global setting if possible.
> I suppose it's just a matter of adding the "correct" tags to
> nua_register/nua_invite, the problem is to know which tags are the
> correct ones here.
> 
> Bye
> 
> 
>> Hi Jerry, did you solve the problem?  i might have the same issue with
>> the VPN
>>
>>
>> On Wed, May 23, 2012 at 8:41 PM, Jerry Richards
>> <jerry.richa...@teotech.com <mailto:jerry.richa...@teotech.com>> wrote:
>>
>>     I have a Freeswitch issue, where I have softphones connected to two
>>     separate subnets (one on eth0 and the other on eth1).  When I send
>>     an IM (i.e. SIP MESSAGE) from the eth1 phone to the eth0 phone, a
>>     wireshark trace shows the source IP address of the eth1 server
>>     address, rather than the eth0 server address.  The eth1 address
>>     makes no sense on the eth0 subnet, so the softphone does not reply.____
>>
>>     __ __
>>
>>     Is there a sofia tag to control the source IP in this case?  The
>>     message is going out the right interface; the issue is just that the
>>     source IP address is wrong.____


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to