[Kamailio-Users] Where are going my pua_dialoginfo publishes ?
Daniel-Constantin Mierla
miconda at gmail.com
Wed Mar 4 16:41:33 CET 2009
It was clear from logs that pua does not send the PUBLISH, because of
expire=0.
Now I am wondering how un-PUBLISH (delete the tuple) could happen if the
pua does not send publish with expire=0.
Cheers,
Daniel
On 03/04/2009 05:30 PM, Eric PTAK wrote:
> Daniel was right !
> I've changed override_lifetime pua_dialoginfo's parameter and it's now
> working !
>
> Eric.
>
> 2009/3/4 Klaus Darilion <klaus.mailinglists at pernau.at
> <mailto:klaus.mailinglists at pernau.at>>
>
> Actually we still do not know if you use Kamailio or Opensips
> (which have slightly different implementations)
>
> The PUBLISh should be sent to: publish uri= sip:alice at domain
>
> If "domain" is yourself, it should be looped to the proxy via
> loopback interface (ngrep -d lo port 5060)
>
> regards
> klaus
>
> Eric PTAK schrieb:
>
> Hi,
> I'm trying to use *_dialoginfo modules but I'm facing to a
> missunderstanding, or a bug.
> In fact, the presence server is working and I'm also able to
> subscribe to dialog event.
> But when pua_dialoginfo uses pua to send the Publish, I don't
> know where it going...
> I even not sure publishes are really sent.
> This the log :
> DBG:dialog:run_create_callbacks: dialog=0xb59d30b0
> DBG:pua_dialoginfo:__dialog_created: new INVITE dialog
> created: from=sip:alice at domain
> DBG:core:grep_aliases: comparing host [0:domain:0] with us
> [0:domain:0]
> DBG:core:grep_aliases: match found for: [0:domain:0]
> DBG:core:check_self: host == me
> DBG:pua_dialoginfo:build_dialoginfo: new_body: <?xml
> version="1.0"?> <dialog-info
> xmlns="urn:ietf:params:xml:ns:dialog-info" version="0"
> state="full" entity="sip:alice at domain"> <dialog
> id="MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q."
> call-id="MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q."
> direction="initiator"> <state>Trying</state> <remote>
> <identity>sip:bob at domain</identity> <target
> uri="sip:bob at domain"/> </remote> <local>
> <identity>sip:alice at domain</identity> <target
> uri="sip:alice at domain"/> </local> </dialog>
> </dialog-info> DBG:pua_dialoginfo:dialog_publish: publish uri=
> sip:alice at domain
> DBG:pua_dialoginfo:print_publ: publ:
> DBG:pua_dialoginfo:print_publ: uri= sip:alice at domain
> DBG:pua_dialoginfo:print_publ: id=
> DIALOG_PUBLISH.MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q.
> DBG:pua_dialoginfo:print_publ: expires= 0
> DBG:pua:send_publish: pres_uri=sip:alice at domain
> DBG:pua:search_htable: core_hash= 118
> DBG:pua:search_htable: record not found
> DBG:pua:send_publish: insert type
> DBG:pua:send_publish: UPDATE_TYPE and no record found
> DBG:pua:send_publish: request for a publish with expires 0 and
> no record found
> DBG:dialog:get_dlg_timeout: invalid AVP value, use default timeout
> DBG:tm:run_reqin_callbacks: trans=0xb59d3270, callback type 1,
> id 0 entered
> Regards,
> Eric.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Users
mailing list