<p>Hello Devels:</p>

<p>Making some tests with version 1.11.3 I've just discover how to casue a crash simply calling pres_phtable_list using fifo (opensipsctl fifo pres_phtable_list).</p>

<p>I execute this command in a proxy that is not acting as presence server, but must have the presence modules loaded because is using pua_dialoginfo to set dialoginfo to real presence server (another opensips).</p>

<p>I asume the correct behaviour in this proxy should be not return anything  (because it really don't have anything in the tables) but never a crash....</p>

<p>The related modules config is:</p>

<p>modparam("presence", "mix_dialog_presence", 1)<br>
modparam("presence", "server_address", "sip:XXX.XXX.XXX.XXX")<br>
modparam("pua", "db_table", "pua_p3")<br>
modparam("pua", "hash_size", 11)<br>
modparam("pua_dialoginfo", "presence_server", "sip:<a href="mailto:presence@YYY.YYY.YYY.YYY">presence@YYY.YYY.YYY.YYY</a>")<br>
modparam("pua_dialoginfo", "caller_spec_param", "$avp(callerSpec)")<br>
modparam("pua_dialoginfo", "callee_spec_param", "$avp(calleeSpec)")</p>

<p>modparam("pua_usrloc", "default_domain", "sip.mydomain.com")<br>
modparam("pua_usrloc", "presence_server", "sip:<a href="mailto:presence@YYY.YYY.YYY.YYY">presence@YYY.YYY.YYY.YYY</a>")</p>

<p>where XXX.XXX.XXX.XXX is my own IP (the ip of the proxy that crash) and YYY.YYY.YYY.YYY is the IP of the real presence server.</p>

<p>All presence related messages are relayed to real presence server or the UACs, with no presence processing in the proxy, except for pua_dialoginfo and  pua_usrloc publishing.</p>

<p>In next comment I'll put a backtrace of the generated core. If you need to reproduce the issue I can supply all the info you request.</p>

<p>Regards,<br>
Carlos Oliva</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/382">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcidwhNBAeQ7v6qn7aUmkh4GKRy7J-ks5nJ7XygaJpZM4C2X_v.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Issue on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/issues/382","name":"View Issue"}}</script>