[Serusers] using pa module

Vaclav Kubart vaclav.kubart at iptel.org
Wed Dec 14 07:13:03 CET 2005


It should be used in the mode "Presence agent".

I don't understand the domain parts of URIs in the log - they could be 
closed in < > ?

If you want to know the internal status of PA, try "serctl fifo pa_trace".

 	Vaclav

P.S. What SER version are you using? Current from CVS?

On Tue, 13 Dec 2005, [WINDOWS-1252] lo ? wrote:

> ok,
> i set up eyebeam with peer-to-peer mode in the presence agent settings
> but i don't understand yet if it is close to work or not...
>
> thank you, again!
> this is my log:
>
> Maxfwd module- initializing
> db_url=0x8208c78
> db_url=mysql://ser:heslo@localhost/ser
> db_url.len=31
> pa_domain=<domain.tld>
> pa_mod: use_db=1 db_url.s=mysql://ser:heslo@localhost/ser pa_domain=<
> domain.tld>
> pa_mod_init done
> subscribe_fixup: pdomain name is registrar
> subscribe_fixup: pdomain name is registrar
> INFO: udp_init: SO_RCVBUF is initially 108544
> INFO: udp_init: SO_RCVBUF is finally 217088
> INFO: udp_init: SO_RCVBUF is initially 108544
> INFO: udp_init: SO_RCVBUF is finally 217088
> INFO: fifo process starting: 28887
> SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...
> handle_subscription() entered
> get_pres_uri: _puri=sip:ennevu@<domain.tld>
> handle_subscription() entered
> get_pres_uri: _puri=sip:lo2@<domain.tld>
> pdomain_load_presentities: pdomain=registrar presentity uri=11@<domain.tld>
> presid=1
> new_presentity_no_wb=0xb618bdb8 for uri=11@<domain.tld>
> add_presentity _p=0xb618bdb8 p_uri=11@<domain.tld>
> pdomain_load_presentities: pdomain=registrar presentity uri=ennevu@<
> domain.tld> presid=2
> new_presentity_no_wb=0xb618be08 for uri=ennevu@<domain.tld>
> add_presentity _p=0xb618be08 p_uri=ennevu@<domain.tld>
> pdomain_load_presentities: pdomain=registrar presentity uri=lo2@<domain.tld>
> presid=3
> new_presentity_no_wb=0xb618be60 for uri=lo2@<domain.tld>
> add_presentity _p=0xb618be60 p_uri=lo2@<domain.tld>
> pdomain_load_presentities: pdomain=registrar presentity uri=10@<domain.tld>
> presid=4
> new_presentity_no_wb=0xb618beb0 for uri=10@<domain.tld>
> add_presentity _p=0xb618beb0 p_uri=10@<domain.tld>
> pdomain_load_presentities: pdomain=registrar presentity uri=lo@<domain.tld>
> presid=5
> new_presentity_no_wb=0xb618bf00 for uri=lo@<domain.tld>
> add_presentity _p=0xb618bf00 p_uri=lo@<domain.tld>
> db_read_watcherinfo: _p->uri='11@<domain.tld>'
> db_read_watcherinfo: _p->uri='11@<domain.tld>' done
> db_read_watcherinfo: _p->uri='ennevu@<domain.tld>'
> db_read_watcherinfo: _p->uri='ennevu@<domain.tld>' done
> db_read_watcherinfo: _p->uri='lo2@<domain.tld>'
> db_read_watcherinfo: _p->uri='lo2@<domain.tld>' done
> db_read_watcherinfo: _p->uri='10@<domain.tld>'
> db_read_watcherinfo: _p->uri='10@<domain.tld>' done
> db_read_watcherinfo: _p->uri='lo@<domain.tld>'
> db_read_watcherinfo: _p->uri='lo@<domain.tld>' done
> new_watcher starting
> new_watcher: _p->uri=ennevu@<domain.tld>
> db_new_watcher: watcher->uri=11@<domain.tld>
> new_watcher: watcher->package=presence
> new_watcher: getting values: res=0x81019b8 res->n=1
> new_watcher: status=active
> handle_subscription about to return 1: w->event_package=1 w->accept=2
> p->flags=4 w->flags=1 w=0xb618c490
> new_watcher starting
> new_watcher: _p->uri=lo2@<domain.tld>
> db_new_watcher: watcher->uri=11@<domain.tld>
> new_watcher: watcher->package=presence
> new_watcher: getting values: res=0x8101998 res->n=1
> new_watcher: status=active
> handle_subscription about to return 1: w->event_package=1 w->accept=2
> p->flags=4 w->flags=1 w=0xb618c928
> handle_subscription() entered
> get_pres_uri: _puri=sip:lo@<domain.tld>
> new_watcher starting
> new_watcher: _p->uri=lo@<domain.tld>
> db_new_watcher: watcher->uri=10@<domain.tld>
> new_watcher: watcher->package=presence
> new_watcher: getting values: res=0x810a640 res->n=1
> new_watcher: status=active
> handle_subscription about to return 1: w->event_package=1 w->accept=2
> p->flags=4 w->flags=1 w=0xb618fb38
> handle_subscription() entered
> get_pres_uri: _puri=sip:11@<domain.tld>
> new_watcher starting
> new_watcher: _p->uri=11@<domain.tld>
> db_new_watcher: watcher->uri=10@<domain.tld>
> new_watcher: watcher->package=presence
> new_watcher: getting values: res=0x810a500 res->n=1
> new_watcher: status=active
> handle_subscription about to return 1: w->event_package=1 w->accept=2
> p->flags=4 w->flags=1 w=0xb6191980
> timer_presentity: _p=0xb618bdb8 11@<domain.tld> flags=4 watchers=0xb6191980
> w=0xb6191980 10@<domain.tld>ennevu<sip:10@<domain.tld>> flags=1
> notifying 10@<domain.tld> _p->flags=4 _w->event_package=1 _w->accept=2
> _w->status=1
> send_pidf_notify
> timer_presentity: _p=0xb618be08 ennevu@<domain.tld> flags=4
> watchers=0xb618c490
> w=0xb618c490 11@<domain.tld>lo<sip:11@<domain.tld>> flags=1
> notifying 11@<domain.tld> _p->flags=4 _w->event_package=1 _w->accept=2
> _w->status=1
> send_pidf_notify
> timer_presentity: _p=0xb618be60 lo2@<domain.tld> flags=4 watchers=0xb618c928
> w=0xb618c928 11@<domain.tld>lo<sip:11@<domain.tld>> flags=1
> notifying 11@<domain.tld> _p->flags=4 _w->event_package=1 _w->accept=2
> _w->status=1
> send_pidf_notify
> timer_presentity: _p=0xb618bf00 lo@<domain.tld> flags=4 watchers=0xb618fb38
> w=0xb618fb38 10@<domain.tld>ennevu<sip:10@<domain.tld>> flags=1
> notifying 10@<domain.tld> _p->flags=4 _w->event_package=1 _w->accept=2
> _w->status=1
> send_pidf_notify
> Warning: run_failure_handlers: no UAC support (0, 0)
> Warning: run_failure_handlers: no UAC support (0, 0)
> Warning: run_failure_handlers: no UAC support (0, 0)
> Warning: run_failure_handlers: no UAC support (0, 0)
> Removing watcher 10@<domain.tld>
> notifying 10@<domain.tld> _p->flags=0 _w->event_package=1 _w->accept=2
> _w->status=1
> Removing watcher 11@<domain.tld>
> notifying 11@<domain.tld> _p->flags=0 _w->event_package=1 _w->accept=2
> _w->status=1
> Removing watcher 11@<domain.tld>
> notifying 11@<domain.tld> _p->flags=0 _w->event_package=1 _w->accept=2
> _w->status=1
> Removing watcher 10@<domain.tld>
> notifying 10@<domain.tld> _p->flags=0 _w->event_package=1 _w->accept=2
> _w->status=1
>




More information about the sr-users mailing list