I'm trying to get the pua_bla module to do its thing, and I'm running into an issue.
I'm getting these errors when the first NOTIFY comes from the phone:
ERROR: presence [publish.c:515]: Missing or unsupported event header field value ERROR: presence [publish.c:518]: event=[dialog;sla]
I see the phone register and the subsequent SUBSCRIBE (both successful) from Kamailio, so this bit seems to be correct.
I'm loading what I think are all the necessary modules: loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "pua.so" loadmodule "pua_bla.so"
And I'm handling the NOTIFY as per the documentation (xlogs to see that in fact the script executes): if(is_method("NOTIFY") && to_uri=~"bla_aor@domain.com") { xlog("Matched bla_aor to_uri\n"); if(bla_handle_notify()) { xlog("Handled NOTIFY\n"); t_reply("200", "OK"); } }
I see the log entries from the above xlogs, so it certainly is executing this part of the script. Any ideas why I'm getting the errors? All ideas and/or assistance are greatly appreciated.
Thanks in advance, - Brad
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Whoops, forgot to mention the version, which is 3.1.3.
Also, apologies for the disclaimer footer. That's not supposed to be there. I'll brow-beat my e-mail administrator when he returns.
- Brad
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users- bounces@lists.sip-router.org] On Behalf Of Watkins, Bradley Sent: Friday, May 27, 2011 10:06 PM To: sr-users@lists.sip-router.org Subject: [SR-Users] Issue using pua_bla module
I'm trying to get the pua_bla module to do its thing, and I'm running into an issue.
I'm getting these errors when the first NOTIFY comes from the phone:
ERROR: presence [publish.c:515]: Missing or unsupported event header field value ERROR: presence [publish.c:518]: event=[dialog;sla]
I see the phone register and the subsequent SUBSCRIBE (both successful) from Kamailio, so this bit seems to be correct.
I'm loading what I think are all the necessary modules: loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "pua.so" loadmodule "pua_bla.so"
And I'm handling the NOTIFY as per the documentation (xlogs to see that in fact the script executes): if(is_method("NOTIFY") && to_uri=~"bla_aor@domain.com") { xlog("Matched bla_aor to_uri\n"); if(bla_handle_notify()) { xlog("Handled NOTIFY\n"); t_reply("200", "OK"); } }
I see the log entries from the above xlogs, so it certainly is executing this part of the script. Any ideas why I'm getting the errors? All ideas and/or assistance are greatly appreciated.
Thanks in advance,
- Brad
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr- users@lists.sip-router.org http://lists.sip-router.org/cgi- bin/mailman/listinfo/sr-users
I hate being a pest, but does anybody have any ideas about this?
I'm completely at a loss without digging into the code (which I can do, but hopefully don't have to), so any pointers would be a big help.
Regards, - Brad
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users- bounces@lists.sip-router.org] On Behalf Of Watkins, Bradley Sent: Friday, May 27, 2011 10:07 PM To: 'SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List' Subject: Re: [SR-Users] Issue using pua_bla module
Whoops, forgot to mention the version, which is 3.1.3.
I'm trying to get the pua_bla module to do its thing, and I'm running into an issue.
I'm getting these errors when the first NOTIFY comes from the phone:
ERROR: presence [publish.c:515]: Missing or unsupported event header field value ERROR: presence [publish.c:518]: event=[dialog;sla]
I see the phone register and the subsequent SUBSCRIBE (both successful) from Kamailio, so this bit seems to be correct.
I'm loading what I think are all the necessary modules: loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "pua.so" loadmodule "pua_bla.so"
And I'm handling the NOTIFY as per the documentation (xlogs to see that in fact the script executes): if(is_method("NOTIFY") && to_uri=~"bla_aor@domain.com") { xlog("Matched bla_aor to_uri\n"); if(bla_handle_notify()) { xlog("Handled NOTIFY\n"); t_reply("200", "OK"); } }
I see the log entries from the above xlogs, so it certainly is executing this part of the script. Any ideas why I'm getting the errors? All ideas and/or assistance are greatly appreciated.
Thanks in advance,
- Brad
Hi Brad, Do you have presence and presence_xml modules loaded in this config? How is your config handling the PUBLISH & SUBSCRIBE messages?
Brad, sorry I overlooked that you are loading the modules already.
Is bla handling enabled in your config?
http://kamailio.org/docs/modules/stable/modules_k/presence_xml.html#id290471...
Cheers, Daniel
On 5/31/11 7:08 PM, Zahid Mehmood wrote:
Brad, sorry I overlooked that you are loading the modules already.
No, it most certainly wasn't. I'm not sure why I didn't notice that parameter before, but thanks for mentioning it!
I still don't quite have a working BLA setup, but at the moment I'm pretty sure it's an issue with the UA configuration rather than Kamailio.
Thanks again, - Brad
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users- bounces@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Tuesday, May 31, 2011 1:49 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: Re: [SR-Users] Issue using pua_bla module
Is bla handling enabled in your config?
http://kamailio.org/docs/modules/stable/modules_k/presence_xml.html#id 2904718
Cheers, Daniel
On 5/31/11 7:08 PM, Zahid Mehmood wrote:
Brad, sorry I overlooked that you are loading the modules already.
-- Daniel-Constantin Mierla -- http://www.asipto.com http://linkedin.com/in/miconda -- http://twitter.com/miconda
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users