Re: [Sofia-sip-devel] SIPTAG_P_PREFERRED_IDENTITY()

2008-01-23 Thread Pekka Pessi
2008/1/22, Jerry Richards [EMAIL PROTECTED]: If I call sip_update_default_mclass(sip_extend_mclass(NULL)) during initialization as you mention below, then which field of the (INVITE) sip message (in the NUA callback function) would I find the Alert-Info header? Up until now, I have been

[Sofia-sip-devel] [ sofia-sip-Bugs-1878039 ] Memory leak in handling of incoming ACK request

2008-01-23 Thread SourceForge.net
Bugs item #1878039, was opened at 2008-01-23 17:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=756076aid=1878039group_id=143636 Please note that this message will contain a full copy of

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Pekka Pessi
2008/1/23, Martin Drasar [EMAIL PROTECTED]: 1) I have modified the proxy to send some realm and it didn't help. 2) reINVITE I'm not sure how the reinvite works so I have just tried this piece of code: nua_invite(nh, TAG_END()); Problem is that the invite is sent, but it's not challenged.

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Martin Drasar
Pekka Pessi napsal(a): 2008/1/18, Martin Drasar [EMAIL PROTECTED]: I have a problem with proxy authentication. My user agent registers itself with proxy without a problem. However when I want it to redirect a call, the following happens: 1) REFER is sent to proxy 2) Proxy answers with

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Pekka Pessi
2008/1/23, Martin Drasar [EMAIL PROTECTED]: Could you have a peek in 407 response, is the sip-sip_proxy_authenticate non-NULL? Does nua call auc_challenge()? auc_challenge is called, but the first parameter (nh-nh_auth) is NULL. sip-sip_proxy_authenticate has some data inside. Hm. And when

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Martin Drasar
Pekka Pessi napsal(a): 2008/1/23, Martin Drasar [EMAIL PROTECTED]: 1) I have modified the proxy to send some realm and it didn't help. 2) reINVITE I'm not sure how the reinvite works so I have just tried this piece of code: nua_invite(nh, TAG_END()); Problem is that the invite is sent,

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Martin Drasar
Pekka Pessi napsal(a): 2008/1/23, Martin Drasar [EMAIL PROTECTED]: Could you have a peek in 407 response, is the sip-sip_proxy_authenticate non-NULL? Does nua call auc_challenge()? auc_challenge is called, but the first parameter (nh-nh_auth) is NULL.

Re: [Sofia-sip-devel] SIPTAG_P_PREFERRED_IDENTITY()

2008-01-23 Thread Jerry Richards
Hi, Okay, I added a call to sip_alert_info(sip) in the callback function when I receive the nua_i_invite 100 event. However, the ai_params and ai_url fields of the sip_alert_info_t structured returned from sip_alert_info() is not valid ASCII data (i.e. negative numbers). Is there any other way

Re: [Sofia-sip-devel] SIPTAG_P_PREFERRED_IDENTITY()

2008-01-23 Thread Michael Jerris
You can access the whole header as: sip_header_as_string(profile-home, (void *) alert_info); ai_url should be a url_t, not ascii data... if you are printfing it as %d it might show as a negative number. ai_params is a msg_param_t * , so a double pointer, its essentially a list of const char

[Sofia-sip-devel] ANNOUNCE: Sofia SIP release 1.12.8

2008-01-23 Thread Pekka Pessi
Hello all, The latest and most shiniest Sofia SIP 1.12.8 is now out. The source tar is available from sourceforge.net, the CVS on sourceforge.net has been updated, and the up-to-date sources are also available from our darcs repo at http://sofia-sip.org/repos/sofia-sip/. The release notes can be

[Sofia-sip-devel] sofia-sip changes (2008-01-23)

2008-01-23 Thread Sofia-SIP Darcs Changes
This posting was generated automatically from darcs repo http://sofia-sip.org/repos/sofia-sip. Wed Jan 23 21:25:07 EET 2008 [EMAIL PROTECTED] * RELEASE, configure.ac: 1.12.8devel M ./RELEASE -78 +40 M ./configure.ac -1 +1 Wed Jan 23 20:18:16 EET 2008 [EMAIL PROTECTED] *

[Sofia-sip-devel] Registration/Subscription Refresh

2008-01-23 Thread Jerry Richards
Hello All, What are the intervals that sofia-sip refreshes registrations (nua_register())? And Subscriptions (i.e. nua_subscribe())? I presume it's a function of the Expires field? The reason I'm asking is that it does not appear consistent. Best Regards, Jerry

Re: [Sofia-sip-devel] Registration/Subscription Refresh

2008-01-23 Thread Pekka Pessi
2008/1/23, Jerry Richards [EMAIL PROTECTED]: What are the intervals that sofia-sip refreshes registrations (nua_register())? And Subscriptions (i.e. nua_subscribe())? I presume it's a function of the Expires field? The reason I'm asking is that it does not appear consistent. The refresh