[OpenSIPS-Users] opensips pidf-manipulation Not working.
mani sivaraman
mani.opensips at gmail.com
Fri Nov 6 21:57:10 CET 2009
Yes, it does. When the pidf.xml is posted the exact time, I did a tail -f
/var/log/openser-xmlrpc.log and I get the following.
63.148.166.215 - - [06/Nov/2009:14:53:59 -0600] "POST" 200 311
63.148.166.215 - - [06/Nov/2009:14:53:59 -0600] "POST" 200 460
I made sure that opensips is connected to xmlrpc server. When I start
opensips it spits out this message below
Nov 6 14:57:12 [5233] INFO:mi_xmlrpc:xmlrpc_process: starting xmlrpc server
Nov 6 14:57:12 [5229] DBG:core:start_module_procs: forking process "MI
FIFO"/0 for module mi_fifo
Also when I point my broweser to the address http://host.mydomain.com:8555 ,
I can reach this page.
Error 404
Not Found
------------------------------
*ABYSS Web Server for XML-RPC For C/C++
<http://xmlrpc-c.sourceforge.net/>*version 1.06
I have installed opensips-mi-proxy that came with openxcap. WIll that cause
this problem ?
In openxcap/init file I ahve correctly configured the mixmlrpc parameter as
; The address and port of the xml-rpc management interface
xmlrpc_url = http://host.mydomain.com:8555
Still I get the following opensips logs when the actual pidf is publihed and
UA unregisteres. Mu UA first un registers and then sends the pidf.xml
through openxcap. Will that be a problem ?
openxcap Log:
------------------------------
Nov 6 15:07:30 [5298] DBG:presence_xml:pres_agg_nbody: [user]=msivaraman
[domain]= smithmicro.com
Nov 6 15:07:30 [5298] DBG:presence_xml:agregate_xmls: No PIDF_MANIPULATION
doc for [user]= msivaraman [domain]= smithmicro.com
Nov 6 15:07:30 [5298] DBG:presence:send_notify_request: Could not get the
notify_body
Nov 6 15:07:30 [5298] DBG:presence:send_notify_request: headers:
Max-Forwards: 70
Event: presence
Contact: <sip:63.148.166.215:5060>
Subscription-State: active;expires=1263
Nov 6 15:07:30 [5298] DBG:presence:build_dlg_t: CONTACT =
sip:bvuckovic at 89.216.22.73:46670;transport=udp
Nov 6 15:07:30 [5298] DBG:tm:t_uac:
next_hop=<sip:bvuckovic at 89.216.22.73:46670;transport=udp>
Nov 6 15:07:30 [5298] DBG:core:mk_proxy: doing DNS lookup...
Nov 6 15:07:30 [5298] DBG:tm:dlg2hash: 50057
Nov 6 15:07:30 [5298] DBG:tm:print_request_uri:
sip:bvuckovic at 89.216.22.73:46670;transport=udp
Nov 6 15:07:30 [5298] DBG:tm:set_timer: relative timeout is 500000
Nov 6 15:07:30 [5298] DBG:tm:insert_timer_unsafe: [4]: 0xb589bb34
(29500000)
Nov 6 15:07:30 [5298] DBG:tm:set_timer: relative timeout is 30
Nov 6 15:07:30 [5298] DBG:tm:insert_timer_unsafe: [0]: 0xb589bb50 (59)
Nov 6 15:07:30 [5298] INFO:presence:send_notify_request: NOTIFY
sip:bvuckovic at smithmicro.com <sip%3Abvuckovic at smithmicro.com> via
sip:bvuckovic at 89.216.22.73:46670;transport=udp on behalf of
sip:msivaraman at smithmicro.com <sip%3Amsivaraman at smithmicro.com> for event
presence
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:default_method: done running the mi
command.
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:default_method: done building response.
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:default_method: starting up.....
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:default_method: done looking the mi
command.
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:default_method: done parsing the mi
tree.
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: start
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: pres_uri '
sip:msivaraman at smithmicro.com <sip%3Amsivaraman at smithmicro.com>'
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: expires '3600'
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: event 'xcap-diff'
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: content type
'application/xcap-diff+xml'
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: etag '.'
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: extra_headers '.'
Nov 6 15:07:30 [5298] DBG:pua_mi:mi_pua_publish: body '<?xml version="1.0"
encoding="UTF-8"?>
<xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff" xcap-root="
http://sips01.smithmicro.com/xcap-root">
<document new-etag="06df0ae83ed1561d874caae7f21e79af" sel="
http://sips01.smithmicro.com/xcap-root/pidf-manipulation/users/msivaraman@smithmicro.com/pidf.xml"
previous-etag="6f29e9a279bce04f76a9ed5e1a326169"/>
</xcap-diff>
'
Nov 6 15:07:30 [5298] DBG:pua:send_publish: pres_uri=
sip:msivaraman at smithmicro.com <sip%3Amsivaraman at smithmicro.com>
Nov 6 15:07:30 [5298] ERROR:pua:send_publish: event not found in list
Nov 6 15:07:30 [5298] ERROR:pua_mi:mi_pua_publish: sending publish failed
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:default_method: done running the mi
command.
Nov 6 15:07:30 [5298] DBG:mi_xmlrpc:xr_build_response: command processing
failure: MI/PUBLISH failed
On Fri, Nov 6, 2009 at 12:39 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> El Viernes, 6 de Noviembre de 2009, mani sivaraman escribió:
> > Now I'm able to save the pidf.xml on openxcap server. I can also get the
> > pidf from IE from openxcap. Still opensips sends NOTIFY with no payload
> (no
> > pidf) for all the contacts that are offline. Basically all the presentity
> > gets is offline. No details like email , phone , note can be obtained for
> > offline contacts. Though opensips will send pidf for all contacts (both
> > online and offline) with other contact info and note etc.
> >
> > I have enabled pidf manipulation on opensips.cfg. Should I set any thing
> > else on opensips to enable pidf-manipuation. I'm using 1.5.3 version.
>
> Ensure that OpenXCAP is notifying to OpenSIPS, via XMLRPC, the addition of
> a
> pidf document.
>
> --
> Iñaki Baz Castillo <ibc at aliax.net>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091106/0ebde467/attachment-0001.htm
More information about the Users
mailing list