[Sofia-sip-devel] sip-sofia support TLS on iPhone
Hi; I'm using sofia-sip 12.9 on an iPhone project. To be able to create a fast prototype I had to remove the support for tls ( I remove the source files related to tls from the source tree ). There is someone from the list that was able to compile the TLS related files on iPhone ? Thanks Inca R - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] sip-sofia support TLS on iPhone
From: Inca Rose <[EMAIL PROTECTED]> Date: November 27, 2008 3:20:58 PM GMT+02:00 To: Pekka Pessi <[EMAIL PROTECTED]>, sofia-sip-devel@lists.sourceforge.net Subject: sip-sofia support TLS on iPhone Hi; I'm using sofia-sip 12.9 on an iPhone project. To be able to create a fast prototype I had to remove the support for tls ( I remove the source files related to tls from the source tree ). There is someone from the list that was able to compile the TLS related files on iPhone ? Thanks Inca R - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] How to use NUTAG_IDENTITY
Hi; In my project, a SIP User Agent. I have to support more than one account per UA. That means, the user can be register to many SIP providers at the same time. In order to do that I need to define several accounts and manage several REGISTRATIONS. I went over the thread regarding NUTAG_IDENTITY, and M_USERNAME, but I'm not clear on how to use those in order to implement multiple SIP accounts. Thanks Inca R - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Fwd: problem in registering user agent
Hi; I did not add any NUTAG_REGISTER to my register request, I think sofia can take the domain part for the req-uri from the To/ From headers. Check the following code: // Sends register to the server sip_addr_t *from, *to; url_string_t *r_uri; to = sip_to_make(home, "sip:[EMAIL PROTECTED]"); from = sip_from_make(home, "sip:[EMAIL PROTECTED]"); sip_aor_strip(to->a_url); sip_aor_strip(from->a_url); regHandle = nua_handle(nuaHandle, magic, // SipAccount object for callback SIPTAG_FROM(from), // who is sending REGISTER? SIPTAG_TO(to), // whom we are sending REGISTER? TAG_END()); if (regHandle) { nua_register(regHandle, NUTAG_M_DISPLAY("Inca Rose"), NUTAG_M_USERNAME("inca"), NUTAG_CALLEE_CAPS(0), SIPTAG_EXPIRES_STR("3600"), TAG_END()); } On Dec 4, 2008, at 6:51 PM, arun sreedhara wrote: I am getting the message as "service unavailable" with status as 503. In the ekiga site , its mentioned that the registrar is "ekiga.net" and i have tried to using NUTAG_REGISTRAR("sip:ekiga.net"), in this case am receiving "DNS Error" message with status 503.I have been trying with different SIP providers like sipcenter.com and iptel.org but getting same messages with all of them.I have used ping command on ekiga.net to get the ip address and am using this ip address in NUTAG_PROXY() also. If i dont specify the proxy address the "DNS Error" with status 503 is being received.Is this bz the ip address used is not valid ??. I have been looking for free SIP providers where i could test my applications,so Is ekiga.net better for testing purpose or can u suggest me SIP providers which i can use for testing ? On Thu, Dec 4, 2008 at 1:48 PM, Pekka Pessi <[EMAIL PROTECTED]> wrote: 2008/12/3 arun sreedhara <[EMAIL PROTECTED]>: I have tried using 1.12.9pre10rc1, but the problem still persists. Am trying this on top of S60Openc plugin,and do I need to some configuration before trying on phones ?? Is the data provided in the code sufficient for SIP registration ?? Your code does not show nua_authenticate(), perhaps that one is missing? What is the "service unavailable message" that you get? -- Pekka.Pessi mail at nokia.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Fwd: problem in registering user agent
Hi; You do not have to add the \" to the sprint f, the realm param already have quotes. your sprintf should look like: sprintf(auth,"%s:%s:%s:%s", method, realm, user ,password); Regards Inca R On Dec 7, 2008, at 11:17 PM, arun sreedhara wrote: > Hi Pessi, > I was able to send the register message finally to the > registrar.Since the authentication process was missing during > registration, i got the message with status 401 in the callback.In > reply to this i have called nua_authenticate() function filling the > appropriate auth values.But this time am getting status 904,which > means that no matching challenge found for the auth details > provided.Have i gone wrong in sending the auth values ???Here is the > code : > > { > sip_www_authenticate_t const *wa = sip->sip_www_authenticate; > sip_proxy_authenticate_t const *pa = sip->sip_proxy_authenticate; > const char *method = NULL; > const char *realm = NULL; > const char *user = NULL; > const char *password = NULL; > char auth[100]=""; > > > if (wa) { > realm = msg_params_find(wa->au_params, "realm="); > method = wa->au_scheme; > } > else if (pa) { > realm = msg_params_find(pa->au_params, "realm="); > method = pa->au_scheme; > } > > user = "sip:[EMAIL PROTECTED]"; > password = "yyy"; > > if (realm == NULL) > { >return; > } > > sprintf(auth,"%s:\"%s\":%s:%s", > method, realm, user ,password); > nua_authenticate(nh, NUTAG_AUTH(auth), TAG_END()); > } > > On Sat, Dec 6, 2008 at 12:28 AM, arun sreedhara > <[EMAIL PROTECTED]> wrote: >> hi, >> I followed the same steps as mentioned by you but problem dint get >> ressolved.I am getting "DNS Error message" with status 503 in the >> callback. >> and couldn't find the reason for this.Have you tried registering to >> public SIP providers like ekiga,iptel etc.with this code ?.Can u tell >> me some public SIP providers which supports better testing of >> useragents ?? Pls help me on this... >> Am using sofia-sip-1.12.9pre10rc2 on s60 platform using s60openC >> plugin and connecting to net using gprs. Here is the code snippet >> after making few changes : >> >> void app_callback(nua_event_t event, >> int status, >> char const *phrase, >> nua_t*nua, >> nua_magic_t *magic, >> nua_handle_t *nh, >> nua_hmagic_t *hmagic, >> sip_t const *sip, >> tagi_ttags[]) >> { >> printf("event %d: %03d %s\n", >>event, >>status, >>phrase); >> >> tl_print(stdout, "", tags); >> break; >> } >> } /* app_callback */ >> >> >> >> int main(int argc,char** argv) >> { >> >> sip_addr_t *from,*to; >> url_string_t *r_uri; >> >> /* Application context structure */ >> application appl[1] = (sizeof appl); >> >> /* initialize system utilities */ >> su_init(); >> >> /* initialize memory handling */ >> su_home_init(appl->home); >> >> /* initialize root object */ >> appl->root = su_root_create(appl); >> >> //su_root_threading(appl->root, 0); >> >> if (appl->root != NULL) >> { >> >> /* create NUA stack */ >> appl->nua = nua_create(appl->root,app_callback,appl, >> >>SIPTAG_FROM_STR("sip:[EMAIL PROTECTED]"), >> >>NUTAG_URL("sip:117.97.73.41:5060"), >> >> TAG_NULL()); >> >> if (appl->nua != NULL) { >> >> nua_handle_t *nh; >> >> to = sip_to_make(appl->home, "sip:[EMAIL PROTECTED]"); >> from = sip_to_make(appl->home, "sip:[EMAIL PROTECTED]"); >> >> if (to == NULL || from == NULL) { >> return 0; >> } >> >> sip_aor_strip(to->a_url); >> sip_aor_strip(from->a_url); >> >> nh = nua_handle(appl->nua, >> NULL,SIPTAG_FROM(from),SIPTAG_TO(to),TAG_END()); >> >>
[Sofia-sip-devel] Setting NUTAG_PROXY in nua_handle
Hi; I try to set the NUTAG_PROXY when creating a new handle with nua_handle and then use that handle in an invite (nua_invite ). What I found out is that the stack ignores the value I pass in NUTAG_PROXT and try to resolve the value I pass in the SIPTAG_TO. When setting the NUTAG_PROXY in nua_invite works OK. And also found out that if I set the NUTAG_PROXY after creating the handle with nua_set_hparams also works OK. All this confusion comes because the documentation may be wrong when in the definition of nua_handle we have: nua_handle() accepts all the tags accepted by nua_set_hparams(), too. and in the definition of NUTAG_PROXY it lists nua_set_hparams. I just wanted to know if I can set the NUTAG_PROXY using nua_handle or I must use nua_set_hparams Thanks Inca -- ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] How to catch a REGISTER timeout condition?
Hi; I think you can use NTA_TAGS like: NTATAG_SIP_T1X64 to set the timeout of the REGISTER transaction. Setting this value will still use the other Tx timers and send retransmissions but you will have control of the timeout value the stack will return a timeout response. Regards Inca R On Jan 8, 2009, at 10:14 AM, Stefano Sabatini wrote: > On date Wednesday 2009-01-07 19:49:38 +0200, Pekka Pessi phoned this: >> 2009/1/7 Stefano Sabatini : >>> I wonder if it is actually possible to catch somehow a REGISTER >>> timeout condition. Currently the behaviour of the sofia-sip stack >>> seems to try the REGISTER again and again when it fails. >>> >>> Is it possible to set a timeout (either setting it in the nua handle >>> either in some operation handle) or do I need to set a timeout in >>> the >>> application? >> >> There are plenty. What kind of error condition you have, like, you >> get >> no response, or does the response trigger a new request to be sent? > > Sorry, I didn't explain myself. > > I mean that when the REGISTER recipient doesn't reply, sofia-sip sends > again and again the REGISTER. I would like to catch this condition say > after N tries and when a certain timeout expires, and notify the > sofia-sip stack of this. > > Currently I see no way to say to the stack to stop to send the > REGISTER requests. > > Thanks, regards. > > -- > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] How to catch a REGISTER timeout condition?
Regarding the NAT_SIP_Tx tags; Can they be used per transaction ? For example setting the Timers when creating a new handle or in nua_invite/ nua_register ??? Thanks Inca R On Jan 8, 2009, at 5:37 PM, Pekka Pessi wrote: > 2009/1/8 Stefano Sabatini : >> I mean that when the REGISTER recipient doesn't reply, sofia-sip >> sends >> again and again the REGISTER. I would like to catch this condition >> say >> after N tries and when a certain timeout expires, and notify the >> sofia-sip stack of this. >> >> Currently I see no way to say to the stack to stop to send the >> REGISTER requests. > > The retransmissions are done as specified in RFC 3261. NTATAG_SIP_T1() > defines the initial retransmission timer (500 ms), NTATAG_SIP_T1X64() > defines the timeout (as the name implies it is 64 times T1 or 32 > seconds). > > -- > Pekka.Pessi mail at nokia.com > > -- > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] How to catch a REGISTER timeout condition?
It is already implemented. The nua refresh mechanism will continue until a REGISTER refresh fails On Jan 14, 2009, at 3:25 PM, Stefano Sabatini wrote: > On date Wednesday 2009-01-14 14:16:28 +0200, Pekka Pessi phoned this: >> 2009/1/14 Stefano Sabatini : >>> Just another question, is there some mechanism in sofia to >>> automatically store the expires time sent back by the REGISTER >>> response, and re-do the registration when it is almost expiring, >>> or do >>> I have to do it in the application? >> >> That is job for nua... > > Do you mean that this is *already* implemented or that it *should* be > implemented in nua? > > Regards. > > -- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] SOA_TAG_ACTIVE_AUDIO meaning
Hi; I don't actually understand when the SOA_TAG_AUDIO_ACTIVE is present, and if it present what it represents. For example in an outgoing INVITE is is present in the first callback ( INVITE Sent ) with active_audio=3. I suppose this means that the Local Offer SDP is full duplex ( send receive ). It is also present in Trying and Ringing when those responses arrives without SDP. So it still flags that the Local SDP is full-duplex ??? And it again is present, for example, in 181 (Forward call), that also has no SDP. I'm getting confused on how to interpret this flag and when to get it (SOA_TAG_ACTIVE_AUDIO). Can someone make this a little bit clear for me ??? Thanks Inca R -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Stack crash when the IP on the device changes
Hi; I'm experiencing a crashing when the IP on the machine where the Sofia SIP stack runs changes. I am getting the following error : Assertion failed: (su_port_own_thread(self)), function su_kqueue_port_register, file /sofia-sip-1.12.10/libsofia-sip-ua/su/ su_kqueue_port.c, line 200. Program received signal: “SIGABRT”. I also found the following code in nua_register.c if nw_updates is initialized with NUA_NW_DETECT_TRY_FULL the case NUA_NW_DETECT_ONLY_INFO: will never happens. This is the desired behavior ? Thanks Inca R static void nua_network_changed_cb(nua_t *nua, su_root_t *root) { uint32_t nw_updates = NUA_NW_DETECT_TRY_FULL; switch (nw_updates) { case NUA_NW_DETECT_ONLY_INFO: nua_stack_event(nua, NULL, NULL, nua_i_network_changed, SIP_200_OK, NULL); break; case NUA_NW_DETECT_TRY_FULL: /* 1) Shutdown all tports */ nta_agent_close_tports(nua->nua_nta); /* 2) Create new tports */ if (nua_stack_init_transport(nua, nua->nua_args) < 0) /* We are hosed */ nua_stack_event(nua, NULL, NULL, nua_i_network_changed, 900, "Internal Error", NULL); else nua_stack_event(nua, NULL, NULL, nua_i_network_changed, SIP_200_OK, NULL); break; default: break; } return; } -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Stack crash when the IP on the device changes
Hi; I will grab the changes and test again. Can you pls tell me the changed files so I take only those changes ??? If it helps, I'm using Sofia SIP on an iPhone. Regards Inca R On Feb 11, 2009, at 10:56 PM, Pekka Pessi wrote: > 2009/2/11 Inca Rose : >> I'm experiencing a crashing when the IP on the machine where the >> Sofia SIP >> stack runs changes. >> I am getting the following error : >> Assertion failed: (su_port_own_thread(self)), function >> su_kqueue_port_register, file >> /sofia-sip-1.12.10/libsofia-sip-ua/su/su_kqueue_port.c, line 200. >> Program received signal: "SIGABRT". > > Uh-oh. Looks like nw change detection used wrong root pointer. I > suspect that is a victim of bit rot, perhaps it should be implemented > for Linux with netlink... > >> I also found the following code in nua_register.c >> if nw_updates is initialized with NUA_NW_DETECT_TRY_FULL the >> case NUA_NW_DETECT_ONLY_INFO: will never happens. This is the desired >> behavior ? > > Probably not. The nw_updates should come from nua_global_preferences. > > I pushed fixes to those issues, but I'd be interested in finding where > it now crashes.. > > -- > Pekka.Pessi mail at nokia.com -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Stack crash when the IP on the device changes
Hi; I just patch the code with your two patches from last night and here are the results: -- It takes the right case in the switch ( TRY_FULL or ONLY_INFO ) -- if NUA_NW_DETECT_TRY_FULL is set, the stack crash again with: Assertion failed: (tport_name_is_resolved(orq->orq_tpn)), function outgoing_create, file /sofia-sip-1.12.10/libsofia-sip-ua/nta/nta.c, line 7665. Program received signal: “SIGABRT”. If you need more info pls let me know. ( I'm running this test from the iPhone emulator on an Intel Mac ) Thanks Inca R On Feb 11, 2009, at 10:56 PM, Pekka Pessi wrote: 2009/2/11 Inca Rose : I'm experiencing a crashing when the IP on the machine where the Sofia SIP stack runs changes. I am getting the following error : Assertion failed: (su_port_own_thread(self)), function su_kqueue_port_register, file /sofia-sip-1.12.10/libsofia-sip-ua/su/su_kqueue_port.c, line 200. Program received signal: "SIGABRT". Uh-oh. Looks like nw change detection used wrong root pointer. I suspect that is a victim of bit rot, perhaps it should be implemented for Linux with netlink... I also found the following code in nua_register.c if nw_updates is initialized with NUA_NW_DETECT_TRY_FULL the case NUA_NW_DETECT_ONLY_INFO: will never happens. This is the desired behavior ? Probably not. The nw_updates should come from nua_global_preferences. I pushed fixes to those issues, but I'd be interested in finding where it now crashes.. -- Pekka.Pessi mail at nokia.com -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Stack crash when the IP on the device changes
Here is the stack trace: abort __assert_rtn outgoing_create nta.c:7665 nta_outgoing_mcreate nua_base_client_request nua_base_client_trequest nua_register_client_request nua_client_request_sendmsg nua_client_request_try nau_client_resend_request nua_register_usage_refresh nua_dialog_usage_refresh nua_stack_init_registration nua_stack_init_transport nua_network_changed_cb su_nw_changed_msg_recv su_base_port_execute_msgs su_base_port_getmsgs su_base_port_run su_port_run su_root_run su_pthread_port_clone_main _pthread_start thread_start To test this I just create a nua and start a registration process, in the middle I change the IP of my device. Thanks Inca R On Feb 12, 2009, at 4:38 PM, Pekka Pessi wrote: > 2009/2/12 Inca Rose : >> I just patch the code with your two patches from last night and >> here are the >> results: >> -- It takes the right case in the switch ( TRY_FULL or ONLY_INFO ) >> -- if NUA_NW_DETECT_TRY_FULL is set, the stack crash again with: >> Assertion failed: (tport_name_is_resolved(orq->orq_tpn)), function >> outgoing_create, file /sofia-sip-1.12.10/libsofia-sip-ua/nta/nta.c, >> line >> 7665. >> Program received signal: "SIGABRT". >> If you need more info pls let me know. > > A backtrace would be very helpful. Also, a check test case would be > ++good (something to add to nua/check_register.c, however, triggering > the nw change might require writing custom functions to use instead of > ones in su_os_nw.c.) > > -- > Pekka.Pessi mail at nokia.com -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] iPhone Library
Hi; Just create a new Xcode project ( static library ) and import the library sources to it. You have to create the config.h by your self ( or run ./configure for os x ). Remember to disable TLS + openSSL support from config.h and remove from your project the related source files from tport. If you have openSSL for iPhone, you can re enable those settings and add the files to your project. Regards Inca R On Feb 20, 2009, at 11:50 PM, Dave wrote: > > I have been able to build and use the sip library for iPhone > simulator development. > > Now I am ready to deploy to a real iPhone. > > What is the easiest way to get an iPhone armv6 version of the sip > library built? > > I don't see any evidence of configure settings for this. > > I see that a few have talked about xcode projects created to build > the library but I don't > see them as part of the download. > > I can start down that path but don't want to waste time working on > something that may > already be created. > > Thanks, > Dave > > > > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Stack crash when the IP on the device changes
Hi; Did you have a chance to check why this is still crashing the Sofia Stack Begin forwarded message: From: Inca Rose Date: February 12, 2009 5:24:03 PM GMT+02:00 To: Pekka Pessi Cc: "sofia-sip-devel@lists.sourceforge.net" > Subject: Re: [Sofia-sip-devel] Stack crash when the IP on the device changes Here is the stack trace: abort __assert_rtn outgoing_create nta.c:7665 nta_outgoing_mcreate nua_base_client_request nua_base_client_trequest nua_register_client_request nua_client_request_sendmsg nua_client_request_try nau_client_resend_request nua_register_usage_refresh nua_dialog_usage_refresh nua_stack_init_registration nua_stack_init_transport nua_network_changed_cb su_nw_changed_msg_recv su_base_port_execute_msgs su_base_port_getmsgs su_base_port_run su_port_run su_root_run su_pthread_port_clone_main _pthread_start thread_start To test this I just create a nua and start a registration process, in the middle I change the IP of my device. Thanks Inca R On Feb 12, 2009, at 4:38 PM, Pekka Pessi wrote: 2009/2/12 Inca Rose : I just patch the code with your two patches from last night and here are the results: -- It takes the right case in the switch ( TRY_FULL or ONLY_INFO ) -- if NUA_NW_DETECT_TRY_FULL is set, the stack crash again with: Assertion failed: (tport_name_is_resolved(orq->orq_tpn)), function outgoing_create, file /sofia-sip-1.12.10/libsofia-sip-ua/nta/ nta.c, line 7665. Program received signal: "SIGABRT". If you need more info pls let me know. A backtrace would be very helpful. Also, a check test case would be ++good (something to add to nua/check_register.c, however, triggering the nw change might require writing custom functions to use instead of ones in su_os_nw.c.) -- Pekka.Pessi mail at nokia.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] OK to REGISTER without an expires parameter in Contact header
Hi; My client based on Sofia is working against a SIP server that do not add an expires parameter on the Contact Header of an OK response to REGISTER. But it adds an Expires Header in that OK. I guess that the Sofia SIP in this case uses the default 3600 expires value in order to calculate the REGISTER refresh and do not check the Expires Header. Can this be configured ? Do you think it is worth checking if there is an Expire header before setting the 3600 default ? Thanks Inca R -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] DNS and iPhone
Hi; The DNS module works with /etc/resolv.conf or any other file that complies with resolv.conf format. in iPhone this file doent exist but there is another file with a different format. Is there any way to populate the DNS server addresses and the other requiered data via API ? At the current state the stack cannot resolve any host. If there is any way I can problematically feed the DNS client with the server addresses pls let me know. Or if someone knows where is resolve.conf in iPhone will also help ;) Thanks Inca R -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] DNS and iPhone
Hi; /etc/resolv.conf points to that file, but the file ( /var/run/resolv.con ) doesn't exist. Thanks Andrew Rechenberg Lists wrote: Check in /var/run/resolv.conf on the iPhone. I believe that's where the DNS server IPs live. -Original Message----- From: Inca Rose [mailto:incar...@gmail.com] Sent: Tuesday, March 24, 2009 10:07 AM To: sofia-sip-devel Mailing List Subject: [Sofia-sip-devel] DNS and iPhone Hi; The DNS module works with /etc/resolv.conf or any other file that complies with resolv.conf format. in iPhone this file doent exist but there is another file with a different format. Is there any way to populate the DNS server addresses and the other requiered data via API ? At the current state the stack cannot resolve any host. If there is any way I can problematically feed the DNS client with the server addresses pls let me know. Or if someone knows where is resolve.conf in iPhone will also help ;) Thanks Inca R -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel Confidentiality Notice: This e-mail message including attachments, if any, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, but do not wish to receive communications through this medium, please so advise the sender immediately. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] DNS Resolving for iPhone
Hi; I just wrote some code to make the reolver code works on the iPhone. The iPhone is missing a resolv.conf like file, but it has a plist files with all the information needed. I wrote a patch ( much like the one for win32 ) to add the DNS servers to the system. The patch is on the function static sres_config_t *sres_parse_resolv_conf(sres_resolver_t *res, char const **options) and it just check for a define HAVE_IPHONE_OS, if the define is true it call a function to fill in the name servers. The patch includes an obj-c file laso to deal with Foundation classes. I dont know how to submit the patch if anyone is interested. So, I patch config.h for HAVE_IPHONE_OS I patch the above function and add a new file ( an obj-c m file ) to deal with Foundation classes ( read and parse plist files ). Regards Inca R -- ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] DNS Resolving for iPhone
Hi; This is the code that collects the DNS servers and return it to the caller The code works OK but it is not optimized and may leak, if someone improves it please post it to the list. The function is placed in a .m file to be compiled with obj-c. The function gets called by *sres_parse_resolv_conf* in sres.c The code looks like: #ifdef HAVE_IPHONE_OS // [DB] For iPhone char const *names[SRES_MAX_NAMESERVERS]; int count=sres_parse_iphone_ip(c, names); if(i> 0){ int j=0; for(j=0; jForm the function we also can get the domain name ( NSString *domainName ) it can be set as an environment variable or into the sres_config structure. #import #include "sofia-resolv/sres.h" typedef struct sres_config sres_config_t; /** * Uses IPHONE to get DNS servers list. */ int sres_parse_iphone_ip(sres_config_t *c, char const **names) { NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfFile:@"/private/var/preferences/SystemConfiguration/com.apple.network.identification.plist"]; NSArray *signatures = [dictionary valueForKey:@"Signatures"]; NSDictionary *item1 = [signatures objectAtIndex:0]; NSDictionary *dns = [[[item1 valueForKey:@"Services"] objectAtIndex:0] valueForKey:@"DNS"]; NSString *domainName = [dns valueForKey:@"DomainName"]; NSArray *dnsServerAddress = [dns valueForKey:@"ServerAddresses"]; NSEnumerator *enumerator = [dnsServerAddress objectEnumerator]; NSString *serveraddr; int i=0; while (serveraddr = (NSString *)[enumerator nextObject]){ names[i++] = [serveraddr UTF8String]; // take only SRES_MAX_NAMESERVERS nameservers if(i == SRES_MAX_NAMESERVERS) break; } return i; } Regards Inca R Andrew Rechenberg Lists wrote: I'd be interested in that patch. I'd post it to the list for posterity's sake, but I leave that up to you. You can send it to me directly as well. Thanks, Andy. -Original Message- From: Inca Rose [mailto:incar...@gmail.com] Sent: Wednesday, March 25, 2009 12:09 PM To: sofia-sip-devel Mailing List Subject: [Sofia-sip-devel] DNS Resolving for iPhone Hi; I just wrote some code to make the reolver code works on the iPhone. The iPhone is missing a resolv.conf like file, but it has a plist files with all the information needed. I wrote a patch ( much like the one for win32 ) to add the DNS servers to the system. The patch is on the function static sres_config_t *sres_parse_resolv_conf(sres_resolver_t *res, char const **options) and it just check for a define HAVE_IPHONE_OS, if the define is true it call a function to fill in the name servers. The patch includes an obj-c file laso to deal with Foundation classes. I dont know how to submit the patch if anyone is interested. So, I patch config.h for HAVE_IPHONE_OS I patch the above function and add a new file ( an obj-c m file ) to deal with Foundation classes ( read and parse plist files ). Regards Inca R -- ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel Confidentiality Notice: This e-mail message including attachments, if any, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, but do not wish to receive communications through this medium, please so advise the sender immediately. -- ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] How sofia select the IP for Via and Contact on a multi home device
HI; I found something very strange the other day. There are 2 IP on the device, Sofia sends the message from IP 1 but fill the Via and COntact with IP 2. The problem is that IP 2 is not connected to anything. Why this happens ? Where to look for the code to understand what is going on behind the scenes? Thanks Inca -- ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Change the transport after calling nua_create
Hi; It is possible to change the current transport ( ip + port ) after calling nua_create ? the scenario is for example a computer on wifi that can receivie a new IP form the Access point or it can just move to another trusted AP and get a new IP. What will be the procedure to change the IP in the current NUA ? Do i need to destroy the current nua and create a new one with the new IP? Thanks Inca R -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] TRansport and NUA o
Hi; I cant find any way to add/remove transports to an already created NUA object. I have to be able to create a NUA object with an IP when calling nua_create, but during the lifetime of the objects that IP may change by: DHCP, changing access points, etc Can anybody point me to some code or API ? Thanks -- Regards Inca R -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] [Fwd: Change the transport after calling nua_create]
Any idea ? Original Message From: Inca Rose Subject:Change the transport after calling nua_create To: sofia-sip-devel Mailing List Hi; It is possible to change the current transport ( ip + port ) after calling nua_create ? the scenario is for example a computer on wifi that can receivie a new IP form the Access point or it can just move to another trusted AP and get a new IP. What will be the procedure to change the IP in the current NUA ? Do i need to destroy the current nua and create a new one with the new IP? Thanks Inca R -- Regards Inca R -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] STUN integration
Hi; I know the STUN code is not complete or is not 100% integrated on NUA or NTA. I would like to take a look and see if I can finish this work by integrating the missing parts. I have done similar work on my company's own SIP Stack and STUN Stack. All that I need is a some guidelines on where to start looking at the code. I what to integrate it on the signaling ( even if I agree that rport can do a better job ) and in the SDP. So, please, if someone can send me some guides on where to start I will put some resources ( 2 engineers ) to finish it. Thanks Inca R -- ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] REGISTER Refreshing Error?
Hi; The Contact in the OK response is missing the expires parameter. Each contact in the OK response to a REGISTER request must carry an expires parameter, this expires is added by the Registrar server. Regards Inca On Jul 31, 2009, at 5:05 PM, Jim Thomas wrote: > Hello Jerry, > > It looks like you and I have run into the same issue. Please see my > recent post 'Registration issue with SIP server behind SBC'. > > I think Sofia-SIP is doing the right thing. From RFC 3261: > > The 200 (OK) response from the registrar contains a list of Contact > fields enumerating all current bindings. The UA compares each > contact address to see if it created the contact address, using > comparison rules in Section 19.1.4. If so, it updates the > expiration > time interval according to the expires parameter or, if absent, the > Expires field value. The UA then issues a REGISTER request for each > of its bindings before the expiration interval has elapsed. It MAY > combine several updates into one REGISTER request. > > That sounds like the SIP designers intended for the original Contact > header to be preserved in the response as a correlation hook. > > However, we still need a way to integrate with systems that perhaps > improperly modify the Contact header. > > Since controlling the behavior of the far end system is typically > beyond our control, one approach might be for Sofia-SIP to use the > value in the Expires header in the 200 OK response if the Contact > header has been changed such that it no longer correlates and the > 'expires' parameter in that header will not be used. > > My reading of the RFC 3261 excerpt above seems like maybe this is > the intended behavior of the SIP stack anyway. > > I haven't reviewed the Sofia-SIP source, but in my case, the 200 OK > response with the modified Contact header *does* also include a > separate Expires header, and the value in that Expires header is not > being used by Sofia-SIP as a fall-back registration fallback, so I > assume Sofia-SIP is not using that as a fall-back when the Contact > header URIs do not correlate. > > I would be interested to learn what solution you or the Sofia-SIP > maintainers come up with. > > Thanks. > > Jim > > > > - Original Message > From: Jerry Richards > To: sofia-sip-devel@lists.sourceforge.net > Sent: Thursday, July 30, 2009 5:39:22 PM > Subject: Re: [Sofia-sip-devel] REGISTER Refreshing Error? > > Okay, I found the code that is causing sofia-sip to use the default > Expires > value instead of the value specified by the server. It is in the > nua_register_client_response() function in the > libsofia-sip-ua/nua/nua_register.c file. > > It appears a for-loop check in this function is comparing the sent > Contact > URL to the received Contact URL which is always different (because > the sent > URL is the phone's URL and the received URL is the server's URL), > thus the > code that sets the refresh time to the received Expires value is never > getting invoked. > > Jerry > > > -Original Message- > From: Jerry Richards [mailto:jer...@tonecommander.com] > Sent: Monday, July 27, 2009 11:04 AM > To: 'sofia-sip-devel@lists.sourceforge.net' > Subject: REGISTER Refreshing Error? > > Hello, > > I am using version 1.12.9 and noticed the sofia-sip stack setting the > register refresh timer to the wrong value. That is, the 200 OK > includes > "Expires: 60", but sofia-sip logs this: > > "nua(): refresh register after 1905 seconds (in [900..2700])". > > Here is the 200 OK content: > > Status-Line: SIP/2.0 200 OK > Message Header: > To: ... > From: ... > Call-ID: ... > Via: ... > User-Agent: ... > Max-Forwards: ... > Contact: sip:6...@192.168.72.128:5060 > Cseq: 118227582 REGISTER > Expires: 60 > Content-Length: 0 > > Do you know why the timer could be wrong? It looks like it's > getting set to > the default 3600 seconds. > > Best Regards, > Jerry > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > > > > > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Sofia-sip-devel mailing lis
[Sofia-sip-devel] An API to save and restore a current stack state
Hi; Developing SIP stack for over 10 years now I came across the need to be able to save and restore a SIP stack state. The scenarios are multiple but the most important one was to be able to do fail over of a call to a different server while serializing the stack state to a different machine. We are using Sofia SIP stack on some of our projects including a custom iPhone application. If I'm in a middle of a SIP call and a GSM call enters the iPhone, my application will stop, but I have the chance to "store" the current state when I get a callback signal from the iPhone that my application will be interrupted. On this callback I will need to store my call state to be able to retrieve the call after the GSM call is over. Any help on where to start looking ? Thanks -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] An API to save and restore a current stack state
Hi; NTA may have only one transaction ?? The restore process need to restore the whole user agent, including Dialogs and transactions. Regards On Feb 10, 2010, at 2:07 PM, Aleksander Morgado wrote: > Hi Inca, > > Developing SIP stack for over 10 years now I came across the need to be able > to save and restore a SIP stack state. > The scenarios are multiple but the most important one was to be able to do > fail over > of a call to a different server while serializing the stack state to a > different machine. > > We are using Sofia SIP stack on some of our projects including a custom > iPhone application. > If I'm in a middle of a SIP call and a GSM call enters the iPhone, my > application will stop, but > I have the chance to "store" the current state when I get a callback signal > from the iPhone that my application will be interrupted. > On this callback I will need to store my call state to be able to retrieve > the call after the GSM call is over. > > Any help on where to start looking ? > > > My god, I would love to have that feature... Maybe a weird idea, but maybe > it's possible to duplicate the home memory of the NTA object, pass the stream > of bytes via a su_msg_t to another place, and restore the home memory as a > duplicated NTA object which includes the whole stack? > > -Aleksander -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Please, make the sigcomp plugin for sofia-sip free software
+1 On Mar 9, 2010, at 6:44 PM, Aleksander Morgado wrote: > Dear Nokia developers, > > It's been a long time since I started using the sofia-sip library, and I > am personally quite happy and impressed with its performance. So first > of all, thanks to all of you and specially to Nokia for making it freely > available to everyone. > > Said so, there's still a small lack of functionality in the free-open > version of sofia-sip, which is the support of Signaling Compression > (SigComp) as defined in RFC3320 and RFC4077. SigComp is widely used in > lots of mobile-related applications using a radio network as physical > transport, where the size of the transmitted packets is an important > issue. > > Digging in the code, one can see the setup and usage of the sigcomp > compartments, and the methods to decompress and compress the messages > directly at tport level. Thus, it seems clear that the private version > of sofia-sip maintained in Nokia has already a good support for SigComp. > > There are already several free-open source SigComp stacks out there: > * opensigcomp (C++ library, GPL or commercial license, already > available through the reSIProcate stack) > * libsigcomp (C++ library, LGPL) > * tinysigcomp (C library, GPL, part of "doubango" framework) > > Including support for any of those in sofia-sip doesn't seem an easy > solution (at least for us, developers, using the API of sofia-sip and > not developing sofia-sip itself). And even worse, it doesn't make much > sense to spend too much time in that effort when the work is already > done by Nokia. > > My humble request is then, please make the sigcomp plugin for sofia-sip > free software, publicly available for everyone, so that we can keep on > developing applications using the sofia-sip stack also including SigComp > support. > > Cheers, > -- > Aleksander > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] New release
Hi; When there is going to be a new release of Sofia ?? I remember an email that in September 2009 we were very close to get a new release. Thanks -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] DNS fail over
Hi; I have a set up with a FQDN pointing to 3 different IP addresses for a SIP server Address A, B and C B is the real SIP address and A and B do not respond to SIP messages. sofia-sip first tries to send REGISTER to address A, it tries for 11 times and then switch to Address B. Address B works OK. The problem is that the next REGISTER ( the refresh ) sofia-sip will start sending to A again. The expected behavior is that it continue to use B until B fails and then start fail-over again. There is any configuration I can change on the nua to get this required behavior ? Thanks Inca -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Send re-invite with different c= IP address
HI; I need to support a SIP GW is implemented by zeroing the c= line ( 0.0.0.0 ) I'm trying to do this in SOfia but no luck I send a re-invite with SOATAG_ADDRESS("0.0.0.0"), but the INVITES is sent with the original IP address. There is any way to accomplish this ?? Thanks Inca -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] FW: Send re-invite with different c= IP address, Again
Again; How can I send a RE_INVITE with c=0.0.0.0 ?? We are working against a media server that supports only 0roing the C line for Hold. Thanks Inca On 6/17/10 1:58 PM, "Inca Rose" wrote: >HI; >I need to support a SIP GW is implemented by zeroing the c= line ( >0.0.0.0 ) >I'm trying to do this in SOfia but no luck > >I send a re-invite with SOATAG_ADDRESS("0.0.0.0"), but the INVITES is >sent with the original IP address. > >There is any way to accomplish this ?? > >Thanks >Inca -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] FW: DNS fail over
Hi; Any code pointer to check my sef ?? Thanks inca On 6/10/10 7:29 PM, "Inca Rose" wrote: >Hi; >I have a set up with a FQDN pointing to 3 different IP addresses for a >SIP server >Address A, B and C > >B is the real SIP address and A and B do not respond to SIP messages. > >sofia-sip first tries to send REGISTER to address A, it tries for 11 >times and then switch to Address B. >Address B works OK. >The problem is that the next REGISTER ( the refresh ) sofia-sip will >start sending to A again. >The expected behavior is that it continue to use B until B fails and then >start fail-over again. > >There is any configuration I can change on the nua to get this required >behavior ? > >Thanks >Inca -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] I need to send a re-invite with the SDP address set to 0.0.0.0
Hi; Can someone help me here ? I cannot find a way to set the SDP c= line to 0.0.0.0 I a session update ( re-invite ) I set the SOA_ADDRESS tag to 0.0.0.0 in the reinvite but the new INVITE request keeps sending the c line with the original value. What I'm doing wrong ?? Thanks Inca -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Fwd: DNS fail over
Do you know if this issue is resolved in the new GIT master tree ?? Thanks Inca Begin forwarded message: > From: Inca Rose > Date: June 21, 2010 2:35:45 PM GMT+03:00 > To: > Cc: Pekka Pessi > Subject: FW: DNS fail over > > Hi; > Any code pointer to check my sef ?? > > Thanks > inca > > On 6/10/10 7:29 PM, "Inca Rose" wrote: > >> Hi; >> I have a set up with a FQDN pointing to 3 different IP addresses for a >> SIP server >> Address A, B and C >> >> B is the real SIP address and A and B do not respond to SIP messages. >> >> sofia-sip first tries to send REGISTER to address A, it tries for 11 >> times and then switch to Address B. >> Address B works OK. >> The problem is that the next REGISTER ( the refresh ) sofia-sip will >> start sending to A again. >> The expected behavior is that it continue to use B until B fails and then >> start fail-over again. >> >> There is any configuration I can change on the nua to get this required >> behavior ? >> >> Thanks >> Inca > > -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Please Can someone please help with this DNS problem ?
>> Hi; >> I have a set up with a FQDN pointing to 3 different IP addresses for a >> SIP server >> Address A, B and C ( A records ) >> >> B is the real SIP address and A and C do not respond to SIP messages. >> >> sofia-sip first tries to send REGISTER to address A, it tries for 11 >> times and then switch to Address B. >> Address B works OK. >> The problem is that the next REGISTER ( the refresh ) sofia-sip will >> start sending to A again. >> The expected behavior is that it continue to use B until B fails and then >> start fail-over again. >> >> There is any configuration I can change on the nua to get this required >> behavior ? >> >> Thanks >> Inca > Thanks Inca -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Still no answer to DNS problems
I dont know if this only happen to me or I'm not using a configuration flag that is document, but I have a very hard time figuring this out. I have a customer with a SIP server represented by an FQDN configured as A records When my application sends a REGISTER I see from the logs: ( i change real IPs and SIP headers ) nta: selecting scheme sip sres_cache_get(0x5163510, A, "mobile1.mysip.com.") called sres_cache_get(0x5163510, A, "mobile1.mysip.com.") returned 4 entries nta: for "mobile1.mysip.com" query "mobile1.mysip.com" A (cached) nta: mobile1.voncp.com. IN A 1.2.3.4 nta(0x5166dd0): A 1.2.3.5 nta(0x5166dd0): A 1.2.3.6 nta(0x5166dd0): A 1.2.3.7 tport_tsend(0x5162ec0) tpn = udp/1.2.3.4:1/sip tport_resolve addrinfo = 1.2.3.4:1 tport_by_addrinfo(0x5162ec0): not found by name udp/1.2.3.4:1/sip tport_vsend(0x5162ec0): 779 bytes of 779 to udp/1.2.3.4:1 tport_vsend returned 779 send 779 bytes to udp/[1.2.3.4]:1 at 18:54:28.65: REGISTER sip:mobile1.mysip.com SIP/2.0 Via: SIP/2.0/UDP 192.168.10.104;rport;branch=z9hG4bKeBKv0gtgt114K Max-Forwards: 70 From: ;tag=BgcaXZpBrS77F To: Call-ID: d256fa75-00ad-122e-b2ac-859f8642be87 CSeq: 132930045 REGISTER Contact: ;audio;text;mobility="mobile" Expires: 3600 User-Agent: MyUA Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel, path Content-Length: 0 The server at 1.2.3.4 doesn't respond so Sofia-SIP send 11 ( or 10 ) retries and timer F fires. At this time the stack switch to the next server 1.2.3.5: nta: resent REGISTER (132930081) to udp/1.2.3.4:1/sip tport_pend(0x5162ec0): pending 0x5173500 for udp/192.168.10.104:5060 (already 0) nta_outgoing_timer: 1/1 resent, 0/1 tout, 0/0 term, 0/1 free nta: timer set next to 491 ms nta: timer F fired, timeout REGISTER (132930081) nta(0x516b6b0): try next after timeout tport_release(0x5162ec0): 0x5173500 by 0x516b6b0 with 0x0 tport_tsend(0x5162ec0) tpn = udp/1.2.3.5:1/sip tport_resolve addrinfo = 1.2.3.5:1 tport_by_addrinfo(0x5162ec0): not found by name udp/1.2.3.5:1/sip tport_vsend(0x5162ec0): 779 bytes of 779 to udp/1.2.3.5:1000 This one works OK and the server sends a respond to the client. The problem is that the next REGISTER goes again to 1.2.3.4. There is no mechanism that nta can remember that 1.2.3.4 is not answering and put it at the bottom of the list and continue to use 1.2.3.5, the last one that did respond ? In other words, how to force the stack to use from now 1.2.3.5 and not 1.2.3.4 ??? Thanks Inca-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Loop error in tport
Hi; I'm getting stuck in tport with the following logs ( >500 per second ) and don't know what is the problem. Can someone point me out what is the source of the problem and a way to workaround ? Thanks Inca : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP : tport_recv_event(0x585b6c0) : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP : tport_recv_event(0x585b6c0) : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP : tport_recv_event(0x585b6c0) : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP : tport_recv_event(0x585b6c0) : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP : tport_recv_event(0x585b6c0) : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP : tport_recv_event(0x585b6c0) : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) : tport_wakeup_pri(0x585b6c0): events IN HUP -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] setting the password for a password protected TLS private key in a pem file
Hi; I'm using sofia-sip with TLS. It works OK while using non password protected agent.pem and cafile.pem files. I cannot find a way to pass the password to tport when the private key in the pem files are protected. On openSSL I found the password callback function: SSL_CTX_set_default_passwd_cb. The Callback function gets called whenever openssl needs the password for the private key. Is this function implemented in sofi-sip ?? I'm using the latest git master branch from. If someone send me some hints I can implement this my self and send the patch Thanks Inca-- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] setting the password for a password protected TLS private key in a pem file
Hi; Thanks for the tips 1, 2 and 3 done I think that in 3 you meant: 3) Parse for the new tag in tport_tls_init_master() and store it in tls_issues_t. (tport_type_tls.c) I'm not sure what I have to do in 4, I know that somewhere I need to set the callback to pass the passowrd back to openSSL, but dont know were to set the function. Thanks Inca On Jan 4, 2011, at 5:40 PM, Jarod Neuner wrote: > Should take four changes in tport/ to add this capability. > > 1) Add new string tags for the certificate passphrase. (tport_tag.c and > sofia-sip/tport_tag.h ) > 2) Extend the tls_issues_t structure with a field for the passphrase. > (tport_tls.h) > 3) Parse for the new tag in tport_tls_init_master() and store it in > tls_issues_t. (tport_tls.c) > 4) Set the OpenSSL context in tport_tls_init_master(). (tport_type_tls.c) > > -Jarod > ____ > > From: Inca Rose [mailto:incar...@gmail.com] > Sent: Tuesday, January 04, 2011 6:40 AM > To: sofia-sip-devel@lists.sourceforge.net > Subject: [Sofia-sip-devel] setting the password for a password protected TLS > private key in a pem file > > > Hi; > I'm using sofia-sip with TLS. > It works OK while using non password protected agent.pem and cafile.pem files. > I cannot find a way to pass the password to tport when the private key in the > pem files are protected. > > On openSSL I found the password callback function: > SSL_CTX_set_default_passwd_cb. > The Callback function gets called whenever openssl needs the password for the > private key. > Is this function implemented in sofi-sip ?? I'm using the latest git master > branch from. > > If someone send me some hints I can implement this my self and send the patch > > Thanks > Inca -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] setting the password for a password protected TLS private key in a pem file
Got it Thanks Inca On Jan 4, 2011, at 6:38 PM, Jarod Neuner wrote: > Yeah, I mixed up 3 and 4. Part 4 is in tport_tls.c, in the method > tls_init_context(). > > -Jarod > > From: Inca Rose [mailto:incar...@gmail.com] > Sent: Tuesday, January 04, 2011 10:42 AM > To: Jarod Neuner > Cc: sofia-sip-devel@lists.sourceforge.net > Subject: Re: [Sofia-sip-devel] setting the password for a password protected > TLS private key in a pem file > > Hi; > Thanks for the tips > 1, 2 and 3 done > > I think that in 3 you meant: > 3) Parse for the new tag in tport_tls_init_master() and store it in > tls_issues_t. (tport_type_tls.c) > I'm not sure what I have to do in 4, I know that somewhere I need to set the > callback to pass the passowrd back to openSSL, but dont know were to set the > function. > > Thanks > Inca > > On Jan 4, 2011, at 5:40 PM, Jarod Neuner wrote: > >> Should take four changes in tport/ to add this capability. >> >> 1) Add new string tags for the certificate passphrase. (tport_tag.c and >> sofia-sip/tport_tag.h ) >> 2) Extend the tls_issues_t structure with a field for the passphrase. >> (tport_tls.h) >> 3) Parse for the new tag in tport_tls_init_master() and store it in >> tls_issues_t. (tport_tls.c) >> 4) Set the OpenSSL context in tport_tls_init_master(). (tport_type_tls.c) >> >> -Jarod >> >> >> From: Inca Rose [mailto:incar...@gmail.com] >> Sent: Tuesday, January 04, 2011 6:40 AM >> To: sofia-sip-devel@lists.sourceforge.net >> Subject: [Sofia-sip-devel] setting the password for a password protected TLS >> private key in a pem file >> >> >> Hi; >> I'm using sofia-sip with TLS. >> It works OK while using non password protected agent.pem and cafile.pem >> files. >> I cannot find a way to pass the password to tport when the private key in >> the pem files are protected. >> >> On openSSL I found the password callback function: >> SSL_CTX_set_default_passwd_cb. >> The Callback function gets called whenever openssl needs the password for >> the private key. >> Is this function implemented in sofi-sip ?? I'm using the latest git master >> branch from. >> >> If someone send me some hints I can implement this my self and send the patch >> >> Thanks >> Inca > -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Fighting SIP-ALG
Hi; During a deployment with a service provider I come across several home based routers that the SIP-ALG implementation is wrong. the router changes the Contact IP address from the private to the public during a REGISTER request, but do not change it back to the private address when sending back the OK to the client. Sofia-SIP will ignore the OK because it doesn't recognize the Contact. I want to make NUA a little bit more flexible here. What will be the best approach to tell NUA to ignore this erroneous SIP-ALG behavior ? Thanks Inca -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Fighting SIP-ALG
Hi The alg just change the ip from private to public when sending the register request But it doesn't change it back to private on the ok response it sends to the device The ok response contains the contact header but with the public ip Device to network(router) REGISTER Contact: sip:u...@private Network(router) to proxy REGISTER Contact: sip:u...@public Proxy to Network(router) 200 OK Contact: sip:u...@public Network(router) to device 200 OK Contact: sip:u...@public Sofia doesn't recognize u...@public Sent from my iPad On Jan 12, 2011, at 3:35 PM, Pekka Pessi wrote: > Hi Inca, > > 2011/1/11 Inca Rose : >> During a deployment with a service provider I come across several home >> based routers that the SIP-ALG implementation is wrong. >> the router changes the Contact IP address from the private to the public >> during a REGISTER request, but do not change it back to the private address >> when sending >> back the OK to the client. >> Sofia-SIP will ignore the OK because it doesn't recognize the Contact. >> >> I want to make NUA a little bit more flexible here. What will be the best >> approach to tell NUA to >> ignore this erroneous SIP-ALG behavior ? > > Do you get the username correct if you use NUTAG_M_USERNAME()? Or does > the ALG drop everything from your Contact? > > -- > Pekka.Pessi mail at nokia.com -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Multi home and sofia-sip
Hi; I remember there was a limitation with Sofia-SIP and multi-home hosts ( in my case is a device ). I do not remember if it was the Via header not populated correctly or the transport was not selected correctly. There was any improvement in this area ?? Why am I asking ? I need to support network changing on the fly during an active call. If the device changes network, from 3g to wifi or vice-versa, during an active call, the application has to be notified and do whatever needed to continue the call without user intervention. If NUA was initialized with the 3G address how can I move the call to WiFi -- I need to change the Contact and SDP, so I need to send a re-invite/update, but NUA is not aware of the WiFi transport. Inca -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Multi home and sofia-sip
Hi Thanks What about the selection of Contact and Via and Transport on a multi-home environment ? I remember that the selection was not consistent, for example sending the packet from NIC1 while selecting Via / Contact from NIC2. Also there is no way to check from which NIC the proxy is reachable, imagine a VPN situation where the proxy is only reachable from the VPN but not from the real NIC. Where can I add iOS implementation for the Network change detection ?? Thanks Inca On Jan 21, 2011, at 3:03 PM, Pekka Pessi wrote: > NUTAG_DETECT_NETWORK_UPDATES -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Using SOFIA-SIP with iOS
The tric is to first run the configure on the MAC OSX, then fix the created config.h. Then you add the *.c files to the xcode project and walla Inca On Apr 27, 2011, at 3:41 PM, macoho...@aol.in wrote: > > Hi All, > > I just checked from the archives that a lot of developers have successfully > compiled the Sofia-Sip libary for iOS devices using XCode. > I tried the approaches mentioned in the older devices but failed to get a > static library up for either the simulator or device. > > Can some one please help me with thispointers tep by step approaches will > be appretiated. > If some modifications need to be made to the makefiles I am game for it > toobut I need some one to point out the right direction. > > > Look forward to your help, > > TIA, > Amrit > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] No ACK sent after PRACK and CANCEL
Hi; We are experiencing a strange behavior in the following scenario: A: Using Sofia SIP stack A ---> INVITE A <-- 183 with RSeq A > PRACK A <--- OK ( PARCK ) A <--- 180 A --> CANCEL A <-- OK ( Cancel ) A <-- 487 Request terminated At this point I was expected A to send ACK to terminate the INVITE Transaction, but the ACK is never sent. In the same scenario, but without PRACK, the ACK after the 487 This is a known bug Inca -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] No ACK sent after PRACK and CANCEL
Hi; I work at the NUA level so NTATAG_UA(1) is set internally by nua_create() Inca On May 24, 2011, at 5:11 PM, Pekka Pessi wrote: > NTATAG_UA -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] No ACK sent after PRACK and CANCEL
OK Thanks I will try it Inca On May 25, 2011, at 7:09 PM, Pekka Pessi wrote: > Hi Inca, > > 2011/5/24 Inca Rose : >> I work at the NUA level so >> NTATAG_UA(1) is set internally by nua_create() > > I've added test cases to nta and nua testing this scenario, and the > tests seem to pass. > > Please give the latest master from gitorious.org a try: > > <https://gitorious.org/sofia-sip/sofia-sip> > > -- > Pekka.Pessi mail at nokia.com -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Integrate with 3rd party SigCom module
Hi; I would like to add support for SigCom to sofia. I know that there is some kind of support in the code but don't know where to integrate with the code we are writing. where to start ??? Thanks Inca -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] How to remove Supported header from outgoing request.
Hi; I'm using NUA and I see that by default the Supported header is sent with "timer, 100rel" I want to control the supported header contents and find out that NUATAG_SUPPORTED only adds supported values, and only SIPTAG_SUPPORTED can override it. I want to be able to not send Supported headers at all if the UA doesn't support any extension. I set SIPTAG_SUPPORTED_STR("") but the stack sends the Supported header empty. There is any way to tell the stack not to send the Supported header if it is empty ? thanks Inca -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] How to remove Supported header from outgoing request.
Hi; when using their header I get a segmentation fault error on the stack. DO I need to use this on the nua_create or when I want to send INVITE/OK/REGISTER ??? On Aug 18, 2011, at 10:40 AM, Pekka Pessi wrote: > Hi Inca, > > 2011/6/22 Inca Rose : >> I'm using NUA and I see that by default the Supported header is sent with >> "timer, 100rel" >> I want to control the supported header contents and find out that >> NUATAG_SUPPORTED only adds supported values, and only SIPTAG_SUPPORTED can >> override it. >> I want to be able to not send Supported headers at all if the UA doesn't >> support any extension. >> I set SIPTAG_SUPPORTED_STR("") but the stack sends the Supported header >> empty. >> >> There is any way to tell the stack not to send the Supported header if it is >> empty ? > > You should be able to get rid of Supported with > SIPTAG_SUPPORTED_STR((void *) -1)). > > -- > Pekka.Pessi mail at nokia.com -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] problems with frying responses
Hi ! We use version 1.12.11 of Sofia Sip Stack. Problem: we send INVITE, receive 183, send PRACK, receive OK, and here Sofia stack immediately send BYE. To tags in 183 and OK are different. Logs: nta: Orphan 200 Ok send ACK&BYE Any hint ? Regards Inca-- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] problems with frying responses
Hi; So lets ask Pekka where to look to start working on a fix. This is critical for us to pass an IOT with a vendor and we are relay stuck here. Thanks On Oct 8, 2011, at 3:35 PM, Nauman Sulaiman wrote: > Hi Inca > > We had this issue, in our case like yours it was because the To tag in the > 200OK was different to the 183 and Pekka responded that PRACK in Sofia does > not work when the INVITE is forked. I am not sure how much effort is required > to fix this but if I had some guidance I am prepared to put in the time.. > > Regards > > --- On Thu, 6/10/11, Inca Rose wrote: > > From: Inca Rose > Subject: [Sofia-sip-devel] problems with frying responses > To: sofia-sip-devel@lists.sourceforge.net > Date: Thursday, 6 October, 2011, 16:52 > > Hi ! > > We use version 1.12.11 of Sofia Sip Stack. > Problem: we send INVITE, receive 183, send PRACK, receive OK, and here > Sofia stack immediately send BYE. > To tags in 183 and OK are different. > > Logs: > nta: Orphan 200 Ok send ACK&BYE > Any hint ? > > Regards > Inca > > -Inline Attachment Follows- > > -- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > > -Inline Attachment Follows- > > ___ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Urgent help Fwd: Loop error in tport ( from 2010 )
Hi; I did not get any answer for this one. Sofia stack is running on an iOS application. Wen the application goes to the background the UDP socket is closed by the OS. when the application gets back to the foreground I start getting those messages from tport: > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) And they continue forever. There is anyway to recover from such a situation ? Do I need to showdown the stack and recreate it ? It looks like a bug in tport. Please advice Inca Begin forwarded message: > From: Inca Rose > Subject: Loop error in tport > Date: October 5, 2010 12:42:17 PM GMT-04:00 > To: sofia-sip-devel@lists.sourceforge.net > > Hi; > I'm getting stuck in tport with the following logs ( >500 per second ) and > don't know what is the problem. > Can someone point me out what is the source of the problem and a way to > workaround ? > > Thanks > Inca > > > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP > : tport_recv_event(0x585b6c0) > : tport(0x585b6c0): zero length packettport_hup_event(0x585b6c0) > : tport_wakeup_pri(0x585b6c0): events IN HUP -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel