I'm currently using macports for getting sofia-sip on osx (snow leopard). Is 
this issue resolved in the latest git repository? Just want to know if I should 
put some effort in compiling from the git repository since OSX compilation 
doesn't appear straight-forward.



On Aug 9, 2010, at 6:27 AM, <mikhail.zabal...@nokia.com> 
<mikhail.zabal...@nokia.com> wrote:

> Hi,
> 
>> -----Original Message-----
>> From: ext Gaurav Srivastva [mailto:gaurav...@yahoo.com]
>> Sent: Monday, August 09, 2010 5:11 AM
>> To: sofia-sip-devel@lists.sourceforge.net
>> Subject: Re: [Sofia-sip-devel] sofia-sip not sending correct Via
>> headers in 200 OK to NOTIFY request
>> 
>> Looks like my code works fine in linux but is causing problem in OS/X.
>> 
>> Can someone confirm this issue in OS/X?
> 
> I have seen something like this on a Linux before.
> The problem seemed to be with parsing a Via header that contains multiple 
> entries.
> 
> Regards,
>  Mikhail
> 
>> On Aug 8, 2010, at 2:49 AM, Gaurav Srivastva wrote:
>> 
>> 
>>      Hi,
>> 
>>      The notify request to the subscription is being responded to by
>> Sofia-Sip stack with one Via header from the SIP request missing.
>> 
>>      In the NOTIFY, the Via header is,
>> 
>>         Via: SIP/2.0/UDP ift-
>> uca.mitel.com:5060;branch=z9hG4bK693c3fbd3b6fa114ad984c7a522a1964.1,SIP
>> /2.0/UDP 172.16.14.209:6015;branch=z9hG4bK86266194643563
>> 
>> 
>>      In the 200 OK response, the Via header being sent is,
>> 
>>         Via: SIP/2.0/UDP ift-
>> uca.mitel.com:5060;branch=z9hG4bK693c3fbd3b6fa114ad984c7a522a1964.1;rec
>> eived=172.16.14.209
>> 
>> 
>>      I'm using nua to send the subscribe request.
>> 
>>            handle = nua_handle(appl->nua,
>>                                NULL,
>>                                SIPTAG_FROM(from_header),
>>                                SIPTAG_TO(to_header),
>>                                SIPTAG_ROUTE(route_header),
>>                                SIPTAG_CONTACT(contact_header),
>>                                TAG_END());
>> 
>> 
>>            if(handle)
>>            {
>>              nua_subscribe(handle,
>>                            SIPTAG_EXPIRES_STR("3600"),
>>                            SIPTAG_EVENT_STR("presence"),
>>                            SIPTAG_ACCEPT_STR("application/pidf+xml"),
>>                            TAG_END());
>> 
>> 
>>            }
>> 
>>      The platform is OSX and xcode IDE.
>> 
>>      Can someone tell me what I'm doing wrong or is this a bug in
>> sofia-sip stack?



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to