2008/3/27, Jerry Richards <[EMAIL PROTECTED]>:
> I found the correct tag to use: SIPTAG_HEADER_STR("Subscription-State:
> active"), which can be added to the nta_outgoing_tcreate() call and does
> show up in the outgoing unsolicited NOTIFY message.
You can also use SIPTAG_SUBSCRIPTION_STATE_STR().
The NUTAG_* are mostly interpreted by nua only (some NUTAG_* stuff is
just re-defined NTATAGs, however), so including them in nta calls does
not help.
--Pekka
> -----Original Message-----
> From: Jerry Richards [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2008 10:19 AM
> To: '[email protected]'
> Subject: Setting Subscription-State Active Field in Unsolicited Outgoing
> NOTIFY Message
>
> Hello All,
>
> I am sending an outgoing NOTIFY message using nta_leg_tcreate() and
> nta_outgoing_tcreate() and I want to add following header line in the
> message:
>
> Subscription-State: active;expires=xxxx
>
> If I add NUTAG_SUBSTATE(nua_substate_active), it does not show up in the
> outgoing NOTIFY message. Does anyone know how to add this line to the
> message? Is there some generic header line tag to do this?
>
> Best Regards,
> Jerry
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Sofia-sip-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>
--
Pekka.Pessi mail at nokia.com
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel