[SR-Users] pua_dialoginfo avps and entity

Dmitri Savolainen savolainen at erinaco.ru
Mon May 22 18:15:16 CEST 2017


hi all!

i'm trying to use pua_dialoginfo module (current master)  with

modparam("pua_dialoginfo", "use_pubruri_avps", 1)


so for $avp(puburis_caller) = "sip:111111 at mydomain";

i have PUBLISH with xml "entity" from "From:" field, not from my avp.

PUBLISH sip:111111 at mydomain SIP/2.0
Via: SIP/2.0/UDP 213.170.66.150:5071
;branch=z9hG4bK9a08.f20b7367000000000000000000000000.0
To: <sip:111111 at mydomain>
From: <sip:111111 at mydomain>;tag=b5f1e2ebdfeaa37cea72edd75fe37385-0dfc
CSeq: 10 PUBLISH
Call-ID: 6d71159d7ab5b9ff-23010 at mydomain
Content-Length: 260
User-Agent: Dev_Kamailio_UA
Max-Forwards: 70
Event: dialog
Expires: 41
Content-Type: application/dialog-info+xml

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0"
state="full" entity="sip:003 at mydomain">
  <dialog id="yciKcJRNdO1HRjFg0qOoPUe4V3IhbqIW" direction="initiator">
    <state>Trying</state>
  </dialog>
</dialog-info>

is it ok?

according to doc:

> If use_pubruri_avps is enabled, PUBLISH-requests reporting
> dialog-information about the caller (entity=caller) are sent using the
> value of the specified avp as R-Uri.
>



-- 
Savolainen Dmitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170522/d0eb60eb/attachment.html>


More information about the sr-users mailing list