Hi Bernhard,

how are you?
Thanks for answering that quick :-)

Do you mean creating a new nua_handle? Because although there is a nua_set_hparams(), as far as the library-doc tells me it does not accept NUTAG_URL(). I'm not sure if I actually tried it but I think at least I had the idea already.

If I create a new nua_handle I have to extract the nua agent (nua_t) from the old handle first for the nua_handle() needs it, or am I missing something. But as far as I see it (in the library-doc) there is no function for this and the nua_handle_s struct's definition (which is the original type of nua_handle_t) is only accessible within sofia's source but not when using the library.


Regards,
Markus

Am 21.07.2010 17:55, schrieb Bernhard Suttner:
Hi,

try to set the NUATAG_URL to the nua_handle (nh) which you use for the 
nua_notify.

Best regards,
Bernhard Suttner

-----Ursprüngliche Nachricht-----
Von: Markus Bucher [mailto:buch...@in.tum.de]
Gesendet: Mittwoch, 21. Juli 2010 17:27
An: sofia-sip-devel@lists.sourceforge.net
Betreff: [Sofia-sip-devel] adding rinstance to NOTIFY request line in nua

Hi,

I have the problem that I need to add an rinstance tag to the request line of a 
sip Notify.

The Notify is sent with nua_notify(). The problem is, I can not set the request 
uri in this function.
Neither through NUTAG_URL() nor through SIPTAG_REQUEST().

I understood that the NUTAG_URL() is not supported with nua_notify(), but why?

Or the better question is how do I succeed in adding the rinstance tag so that 
I get something like

NOTIFY sip:u...@host:5060;rinstance=abc SIP/2.0

in the request line?
Is there a workaround of some kind.
I would prefer not making changes to sofia-sip-library itself, but if this is 
the only possibility it would be nice of you to provide me the concerning 
blocks within the code or even a patch.

I think we have version 1.12 of sofia (but I'm not sure because i'm not at the 
office right now).


I hope you can help me with this.

Regards,
Markus




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
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

Reply via email to