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@mydomain";
i have PUBLISH with xml "entity" from "From:" field, not from my avp.
PUBLISH sip:111111@mydomain SIP/2.0 Via: SIP/2.0/UDP 213.170.66.150:5071 ;branch=z9hG4bK9a08.f20b7367000000000000000000000000.0 To: sip:111111@mydomain From: sip:111111@mydomain;tag=b5f1e2ebdfeaa37cea72edd75fe37385-0dfc CSeq: 10 PUBLISH Call-ID: 6d71159d7ab5b9ff-23010@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@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.