andrei,
here is one more (simpler) example. ua changes presence status that generates
publish request via sip proxy to presence server:
Aug 22 20:11:57 sip /usr/sbin/sip-proxy[9857]: INFO: PUBLISH <sip:jh@test.fi> by
<jh(a)test.fi> as <sip:jh@test.fi> from <192.98.102.10> is authorized
Aug 22 20:11:57 sip /usr/sbin/sip-proxy[9857]: INFO: Routing PUBLISH
<sip:jh@test.fi> to <sip:127.0.0.1:5082;transport=tcp>
Aug 22 20:11:57 sip /usr/sbin/sip-proxy[9857]: WARNING: <core> [timer_funcs.h:119]:
WARNING: timer: add_timeout: 0 expire timer added
Aug 22 20:11:57 sip /usr/sbin/pres-serv[9702]: INFO: INFO: Handling PUBLISH
<sip:jh@test.fi>
Aug 22 20:11:57 sip /usr/sbin/pres-serv[9702]: INFO: Routing locally generated NOTIFY to
<sip:test@192.98.102.10:5074;transport=udp>
Aug 22 20:11:57 sip /usr/sbin/pres-serv[9702]: INFO: presence [notify.c:1593]: NOTIFY
sip:test@test.fi via sip:192.98.102.10;lr;ftag=jysro on behalf of sip:jh@test.fi for event
presence
Aug 22 20:11:57 sip /usr/sbin/sip-proxy[9820]: INFO: Routing in-dialog NOTIFY
<sip:test@192.98.102.10:5074;transport=udp> from <sip:jh@test.fi>
and here is what happens when ua sends re-subscribe:
Aug 22 20:13:20 sip /usr/sbin/sip-proxy[9858]: INFO: Routing in-dialog SUBSCRIBE
<sip:127.0.0.1:5082;transport=tcp> from <sip:jh@test.fi>
Aug 22 20:13:20 sip /usr/sbin/sip-proxy[9858]: WARNING: <core> [timer_funcs.h:119]:
WARNING: timer: add_timeout: 0 expire timer added
Aug 22 20:13:20 sip /usr/sbin/pres-serv[9699]: INFO: INFO: Handling in-dialog SUBSCRIBE to
<sip:test@test.fi> from <sip:jh@test.fi>
Aug 22 20:13:20 sip /usr/sbin/pres-serv[9699]: INFO: Routing locally generated NOTIFY to
<sip:jh_test_fi@192.98.102.10:5074;alias=192.98.102.10~58663~2;transport=tcp>
Aug 22 20:13:20 sip /usr/sbin/sip-proxy[9856]: INFO: Routing in-dialog NOTIFY
<sip:jh_test_fi@192.98.102.10:5074;transport=tcp> from <sip:test@test.fi> to
<sip:192.98.102.10:58663;transport=tcp>
Aug 22 20:13:20 sip /usr/sbin/sip-proxy[9856]: WARNING: <core> [timer_funcs.h:119]:
WARNING: timer: add_timeout: 0 expire timer added
Aug 22 20:13:20 sip /usr/sbin/pres-serv[9699]: WARNING: <core> [timer_funcs.h:119]:
WARNING: timer: add_timeout: 0 expire timer added
Aug 22 20:13:20 sip /usr/sbin/pres-serv[9699]: INFO: presence [notify.c:1593]: NOTIFY
sip:jh@test.fi via sip:192.98.102.10;transport=tcp;lr;ftag=qkzdu on behalf of
sip:test@test.fi for event presence
-- juha