2008/3/31, Jerry Richards <[EMAIL PROTECTED]>:
> After receiving your reply, I revisited my implementation of that tag. I
> found I was actually using the following (which is not correct, because it
> is not using the "_STR" flavor tag):
>
> NUTAG_ALLOW_EVENTS("talk, hold, conference")
It looks like Sofia treats Allow-Events as a response header and it is
included by default only in responses to SUBSCRIBE. From reading RFC
3265 it is clear that it should be included in INVITE, OPTIONS, etc.
> I changed it to the following, and now it is working:
>
> SIPTAG_ALLOW_EVENTS_STR("talk, hold, conference")
...when included in nua_handle()/nua_subscribe(), I guess.
--Pekka
> -----Original Message-----
> From: Oren Bouskila [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2008 10:27 AM
> To: Jerry Richards
> Cc: [email protected]
> Subject: RE: [Sofia-sip-devel] Allow-Events Header Not Appearing in
> OutboundRequests
>
> Hi Jerry
>
> You may already know this. But you should send only the value of the header.
>
> So if your header is "Allow-Events: message-summary" you should use it like
> this:
>
> SIPTAG_ALLOW_EVENTS_STR("message-summary")
>
> I hope it was any help
>
> Regards
> Oren Bouskila
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jerry
> Richards
> Sent: Monday, March 31, 2008 6:41 PM
> To: [email protected]
> Subject: [Sofia-sip-devel] Allow-Events Header Not Appearing in
> OutboundRequests
>
> Hello All,
>
> I have had no success getting the "Allow-Events:" header to appear in
> outbound SIP messages. I tried included the SIPTAG_ALLOW_EVENTS_STR() tag
> in the following API calls, and none have worked:
>
> nua_set_params()
> nua_handle()
> nua_set_hparams()
> nua_subscribe()
>
> Do I need to do something special to get the "Allow-Events:" header to
> appear in an outgoing SUBSCRIBE request?
>
> 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
>
>
>
>
>
> ****************************************************************************
> ********
> This footnote confirms that this email message has been scanned by PineApp
> Mail-SeCure for the presence of malicious code, vandals & computer viruses.
> ****************************************************************************
> ********
>
>
>
>
>
>
>
>
> ****************************************************************************
> ********
> This footnote confirms that this email message has been scanned by PineApp
> Mail-SeCure for the presence of malicious code, vandals & computer viruses.
> ****************************************************************************
> ********
>
>
>
>
> -------------------------------------------------------------------------
> 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