<div dir="ltr">Hey, <br>I have the same problem , using the same openser configuration file, only adding pua_bla "server_address" parameter on 1.3.2 bla stop working.<br><br>I installed 2 openser once with 1.3.0 and the other with openser 1.3.2, then start openser using full debug log level to see what happens with each one.<br>
<br>I'm using Polycom 650 hardphones<br><br>Basic console error log<br>-------------------------------------<br>
<div class="de1"> ERROR:pua_bla:bla_handle_notify: content length= <span class="nu0">0</span> </div>
<div class="de1"> WARNING:tm:t_unref: script writer didn<span class="st0">'t release transaction </span></div>
<a href="http://pastebin.com/m4a1b7969">http://pastebin.com/m4a1b7969</a> (OpenSER 1.3.2 debug logs)<br><br>Full debug log<br>-----------------------<br><a href="http://pastebin.com/m177c219a">http://pastebin.com/m177c219a</a> (OpenSER 1.3.0 full log)<br>
<a href="http://pastebin.com/m36f3ffca">http://pastebin.com/m36f3ffca</a> (OpenSER 1.3.2 full log)<br>
<br>The main difference that I saw comparing both logs are remarked in pastbin, and refer to: "DBG:pua:print_subs: pres_uri" <br><br>Please see below both configuration parameters <br><br>Openser Parameters<br>
----------------------------------<br># Presence server module - common API<br>loadmodule "presence.so"<br>modparam("presence", "server_address", "sip:<a href="http://192.168.4.10">192.168.4.10</a>")<br>
modparam("presence", "max_expires", 3600)<br><br># Presence server module - presence & watcher info and XCAP<br>loadmodule "presence_xml.so"<br>modparam("presence_xml", "force_active", 1)<br>
<br># Common API for presence user agent client<br>loadmodule "pua.so"<br><br># BLA extension for PUA<br>loadmodule "pua_bla.so"<br>modparam("pua_bla", "default_domain", "<a href="http://192.168.4.10">192.168.4.10</a>")<br>
modparam("pua_bla", "header_name", "Sender")<br>modparam("pua_bla", "server_address", "sip:<a href="http://192.168.4.10">192.168.4.10</a>") (Only for OpenSER 1.3.2<br>
<br><br>I'm sending configuration of affected routes (Main, Register, Presence) so you can see if there is an error.<br><br>route {<br><br> # Sanity Check Section<br> #.....<br><br> # Loose Route Section<br> if (loose_route()) {<br>
xlog("L_INFO", "$mi Loose Routing");<br> if(!has_totag()) {<br> xlog("L_INFO", "OPENSER_NAME: $mi Initial loose-routing rejected - \<br> M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");<br>
sl_send_reply("403", "Initial Loose-Routing Rejected");<br> route(ACC_FORBIDDEN_ROUTE);<br> return;<br> }<br> if (is_method("CANCEL") || is_method("ACK")) {<br>
xlog("L_INFO", "$mi CANCEL/ACK");<br> route(BASE_LOCAL_ROUTE);<br> return;<br> }<br> if (is_method("SUBSCRIBE") && $rd == "OPENSER_IP") {<br> # in-dialog subscribe requests<br>
route(PRESENCE_ROUTE);<br> return;<br> }<br><br> if(is_method("BYE")) {<br> route(ACC_BYE_ROUTE); <br> xlog("L_INFO", "(ACC) $mi Setting account_flag"); <br> setflag(ACC_FLAG);<br>
route(BASE_LOCAL_ROUTE);<br> return;<br> }<br> };<br><br> # Call Type Processing Section<br><br> if (method=="INVITE") {<br> route(INVITE_ROUTE);<br> return;<br> };<br> if (method=="REGISTER") {<br>
route(REGISTER_ROUTE);<br> return;<br> }<br><br> if(is_method("PUBLISH|SUBSCRIBE")) {<br> route(PRESENCE_ROUTE);<br> return;<br> }<br> if(is_method("NOTIFY")) {<br> if($hdr(event)=="dialog;sla") {<br>
route(PRESENCE_ROUTE);<br> return;<br> }<br> }<br>}<br><br>route[REGISTER_ROUTE] {<br> # -----------------------------------------------------------------<br> # REGISTER Message Handler<br> # -----------------------------------------------------------------<br>
# This cool register script came from <a href="http://openser.org/docs/scripting.html">http://openser.org/docs/scripting.html</a><br><br> xlog("L_NOTICE", "OPENSER_NAME: $mi Register Route - \<br> M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");<br>
<br> if ((!www_authorize("OPENSER_DOMAIN", "device")))) {<br> xlog("L_INFO", "OPENSER_NAME: $mi Register Authentication Failed - \<br> M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");<br>
www_challenge("OPENSER_DOMAIN", "0");<br> sl_send_reply("401", "Unauthorized");<br> exit;<br> }<br> else<br> xlog("L_INFO", "OPENSER_NAME: $mi Register Authentication OK -\<br>
M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");<br><br> if ( !(src_ip=="LOCAL_PAIR_IP" && src_port==LOCAL_PAIR_PORT) ) {<br> if($hdr(User-Agent) =~ "PolycomSoundPointIP-SPIP_650-UA") {<br>
xlog("L_NOTICE", "$mi Polycom BLA set FLAG \<br> M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");<br> bla_set_flag();<br> }<br><br> if (!save("location")) {<br> xlog("L_NOTICE", "$mi $fu save(location) Failed\n");<br>
sl_reply_error();<br> return(0);<br> };<br> }<br> consume_credentials();<br> return;<br>}<br><br>route[PRESENCE_ROUTE] {<br> # -------------------------------------------------------------------<br> # Presence Route<br>
# -------------------------------------------------------------------<br> xlog("L_INFO","$mi: Presence Route");<br> if (!t_newtran()){<br> sl_reply_error();<br> exit;<br> };<br> <br> if(is_method("PUBLISH")){<br>
if($hdr(Sender)!= NULL) {<br> handle_publish("$hdr(Sender)");<br> }<br> else {<br> handle_publish("");<br> }<br> t_release();<br> } <br> else <br> if( is_method("SUBSCRIBE")) {<br>
handle_subscribe();<br> t_release();<br> } else<br> <br> if(is_method("NOTIFY")) {<br> if(bla_handle_notify()) {<br> t_reply("200", "OK");<br> t_release();<br> }<br>
exit;<br>}<br><br><br>Ok, I hope that provided information help to see if there is a problem on my configuration or a is a bug on OpenSER 1.3.2<br><br>Thanks in advance,<br><br>Cheers,<br><br clear="all">Gustavo Mistrinelli<br>
</div>