Re: [Sofia-sip-devel] URI parameter in To header

2007-08-20 Thread Jan Van den bosch
It works! Thanks, Jan On 8/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext Jan Van den bosch Sent: Tuesday, August 14, 2007 5:45 PM To: sofia-sip-devel Subject: [Sofia-sip-devel] URI

Re: [Sofia-sip-devel] non-200 response to incoming MESSAGE

2007-07-30 Thread Jan Van den bosch
Okay. A combination of nua_save_event() and NUTAG_WITH_SAVED seems like a good idea. Thanks, Jan On 7/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext Jan Van den bosch Sent: Friday, July 27

Re: [Sofia-sip-devel] non-200 response to incoming MESSAGE

2007-07-27 Thread Jan Van den bosch
a handle isn't enough in this case. Thanks, Jan On 7/26/07, Pekka Pessi [EMAIL PROTECTED] wrote: 2007/7/26, Jan Van den bosch [EMAIL PROTECTED]: Exactly why do I have to include a NUTAG_WITH_THIS() tag when I'm responding to an incoming MESSAGE in my callback function? Responding

[Sofia-sip-devel] non-200 response to incoming MESSAGE

2007-07-26 Thread Jan Van den bosch
Hi, Exactly why do I have to include a NUTAG_WITH_THIS() tag when I'm responding to an incoming MESSAGE in my callback function? Responding to an incoming INVITE doesn't require this. :| ssc_i_message(): nua_respond(nh, 200, NULL, NUTAG_WITH_THIS(nua), TAG_END()); Thanks, Jan

Re: [Sofia-sip-devel] NUA: checking a handle tag in the callback function

2007-06-28 Thread Jan Van den bosch
), SIPTAG_EVENT_STR(event), TAG_END()); event is set to presence. Jan On 6/27/07, Jan Van den bosch [EMAIL PROTECTED] wrote: Hi, Let's say I receive a nua_r_subscribe event. How do I know what the Event header was in the SUBSCRIBE message that this event

[Sofia-sip-devel] unnecessary unescaping

2007-06-28 Thread Jan Van den bosch
Hi, I've attached an Ethereal capture. In it, my NUA client invites sip:[EMAIL PROTECTED] The invitee answers with a 200 OK and this Contact header: sip:[EMAIL PROTECTED]:5060;group=adhoc_5158001;pctr=sip%21controlling%40172.16.58.75%215060;session=adhoc When the client ACK's or BYE's

[Sofia-sip-devel] NUA: checking a handle tag in the callback function

2007-06-27 Thread Jan Van den bosch
Hi, Let's say I receive a nua_r_subscribe event. How do I know what the Event header was in the SUBSCRIBE message that this event was a response to? For example, I do a nua_subscribe() with a SIPTAG_EVENT_STR(presence). My callback function is called with a nua_r_subscribe event and the

[Sofia-sip-devel] re-subscribe, re-publish and re-register fail after some time

2007-06-15 Thread Jan Van den bosch
Hi all, I left my NUA application on during the night, and when I returned, my console showed this: tport_vsend(0x43434e0): Invalid argument with (s=12 */172.16.58.69:5060) nta: SUBSCRIBE (84798893): Invalid argument (22) with */[172.16.58.69]:5060 tport_vsend(0x43434e0): Invalid argument with

[Sofia-sip-devel] SDP parsing fails

2007-04-18 Thread Jan Van den bosch
Hi, I did a checkout of the darcs repository a few days ago, and now most or all of the SDP fields below come out gibberish (long sequences of undisplayable characters) after parsing. Linked against 1.12.4 libraries, this code works fine. Can this be fixed? sdp_parser_t *parser =

Re: [Sofia-sip-devel] remove Authorization header from re-REGISTER

2007-03-19 Thread Jan Van den bosch
method. Still no luck, I'm afraid. :( Can someone help me out here? It's driving me mad. Thanks, Jan On 3/16/07, Jan Van den bosch [EMAIL PROTECTED] wrote: Hi, Apparently, nua_authenticate attaches credentials to an operation so they can be re-used in the future. However, my application requires

[Sofia-sip-devel] remove Authorization header from re-REGISTER

2007-03-16 Thread Jan Van den bosch
Hi, Apparently, nua_authenticate attaches credentials to an operation so they can be re-used in the future. However, my application requires that re-REGISTERs/un-REGISTERs start from a clean REGISTER message (without a WWWAuthentication header). Is there a way to keep a re-REGISTER from sending

Re: [Sofia-sip-devel] NUA: adding text to request line

2007-01-31 Thread Jan Van den bosch
Unfortunately, this changes more than just the request line. The specified URI is also being used to route the message. For instance, when the specified URI can't be resolved, I get a DNS error. Any ideas? Thanks, Jan On 1/29/07, Jan Van den bosch [EMAIL PROTECTED] wrote: Hi, This works

[Sofia-sip-devel] XML parsing readily available?

2007-01-29 Thread Jan Van den bosch
Hi, Does Sofia-SIP provide functionality to parse an incoming XML payload (say, an open/closed presence event) or do I have to use an other library to accomplish this? Thanks in advance, Jan - Take Surveys. Earn Cash.

[Sofia-sip-devel] NUA: adding text to request line

2007-01-25 Thread Jan Van den bosch
Greetings, I'm using the NUA API. How exactly do I add certain text to a request line? Let's say I want to change this: INVITE sip:[EMAIL PROTECTED] SIP/2.0 to: INVITE sip:[EMAIL PROTECTED];oma_im_originating SIP/2.0 Rewriting the request line with SIPTAG_REQUEST_STR() apparently doesn't