Hi,
I want my SER(0.9.3) to store status and x, y coordinates into database and to generate a NOTIFY whenever the position changes.
In the log-file, I can see this information, but SER doesn't store it in the database and it doesn't generate a NOTIFY.
In the log file, I get the message: publish presentity: "No tuple for ....".
I hope, someone can help me.
Regards, Alois
/usr/sbin/ser[25182]: handle publish request /usr/sbin/ser[25182]: get_pres_uri: _puri=sip:PDA_User@fhjoanneum.at /usr/sbin/ser[25182]: handle_publish -4- p_uri= p_uri.len=23 /usr/sbin/ser[25182]: handle_publish -5- presentity=0x4069c0f8 /usr/sbin/ser[25182]: parse_pidf: sipuri=0x821b230:sip:PDA_User@fh-joanneum.at contact=(nil):(null) basic=0x821b2c8:open location=(nil):(null) /usr/sbin/ser[25182]: parse_pidf: site=(nil):(null) floor=(nil):(null) room=(nil):(null) /usr/sbin/ser[25182]: parse_pidf: x=0x821be28:01524.3739 y=0x821be38:04704.0970 radius=(nil):(null) /usr/sbin/ser[25182]: publish_presentity: no tuple for PDA_User@fh-joanneum.at /usr/sbin/ser[25182]: publish_presentity: event_package=1 -1- /usr/sbin/ser[25182]: handle_publish -8- paerrno=0 /usr/sbin/ser[25182]: handled publish
PUBLISH sip:PDA_User@fh-joanneum.at SIP/2.0..Via: SIP/2.0/UDP 10.0.0.3:5060;branch=z9hG4bK1443248938..Max-Forwards: 70..From: sip:PDA_User@fh-joanneum.at;tag=271646917..To: sip:PDA_User@fh-joanneum.at..Call-ID: 1040576725-1127390674-656438565..CSeq: 5 PUBLISH..Contact: sip:PDA_User@fh-joanneum. at..Content-Type: application/cpim-pidf+xml..Content-Length: 308..Expires:7200..Event: presence..User-Agent: SIP .NET 1.0 evaluation version, www.independentsoft.com....<?xml version="1.0" encoding="utf-8"?> <presencexmlns="urn:ietf:params:xml:ns:pidf"entity="sip:PDA_User@fh-joanneum.at"> <tupleid="9r28r59"> <status> <basic>open</basic> <geopriv><locationinfo><civilAddress><x>01524.3595</x><y>04704.0990</y></civilAddress></locationinfo></geopriv> </status> </tuple> </presence>..
SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.0.0.3:5060;branch=z9hG4bK1443248938..From: sip:PDA_User@fh-joanneum.at;tag=271646917..To: sip:PDA_User@fh-joanneum.at;tag=589230a54cd08b3768529724501fae28-4cd6..Call-ID: 1040576725-1127390674-656438565..CSeq: 5 PUBLISH..Server: Sip EXpress router (0.9.3 (i386/linux))..Content-Length: 0..Warning: 392 10.0.0.11:5060 "Noisy feedback tells:pid=25182 req_src_ip=10.0.0.3 req_src_port=5060 in_uri=sip:PDA_User@fh-joanneum.at out_uri=sip:PDA_User@fh-joanneum.at via_cnt==1"
You have errors in your PIDF document "<presencexmlns=...", "<tupleid=..." these probably should be "<presence xmlns=..." and "<tuple id=..."
Vaclav
On Mon, Jun 19, 2006 at 06:48:59PM +0200, Alois Schafferhofer wrote:
Hi,
I want my SER(0.9.3) to store status and x, y coordinates into database and to generate a NOTIFY whenever the position changes.
In the log-file, I can see this information, but SER doesn't store it in the database and it doesn't generate a NOTIFY.
In the log file, I get the message: publish presentity: "No tuple for ....".
I hope, someone can help me.
Regards, Alois
/usr/sbin/ser[25182]: handle publish request /usr/sbin/ser[25182]: get_pres_uri: _puri=sip:PDA_User@fhjoanneum.at /usr/sbin/ser[25182]: handle_publish -4- p_uri= p_uri.len=23 /usr/sbin/ser[25182]: handle_publish -5- presentity=0x4069c0f8 /usr/sbin/ser[25182]: parse_pidf: sipuri=0x821b230:sip:PDA_User@fh-joanneum.at contact=(nil):(null) basic=0x821b2c8:open location=(nil):(null) /usr/sbin/ser[25182]: parse_pidf: site=(nil):(null) floor=(nil):(null) room=(nil):(null) /usr/sbin/ser[25182]: parse_pidf: x=0x821be28:01524.3739 y=0x821be38:04704.0970 radius=(nil):(null) /usr/sbin/ser[25182]: publish_presentity: no tuple for PDA_User@fh-joanneum.at /usr/sbin/ser[25182]: publish_presentity: event_package=1 -1- /usr/sbin/ser[25182]: handle_publish -8- paerrno=0 /usr/sbin/ser[25182]: handled publish
PUBLISH sip:PDA_User@fh-joanneum.at SIP/2.0..Via: SIP/2.0/UDP 10.0.0.3:5060;branch=z9hG4bK1443248938..Max-Forwards: 70..From: sip:PDA_User@fh-joanneum.at;tag=271646917..To: sip:PDA_User@fh-joanneum.at..Call-ID: 1040576725-1127390674-656438565..CSeq: 5 PUBLISH..Contact: sip:PDA_User@fh-joanneum. at..Content-Type: application/cpim-pidf+xml..Content-Length: 308..Expires:7200..Event: presence..User-Agent: SIP .NET 1.0 evaluation version, www.independentsoft.com....<?xml version="1.0" encoding="utf-8"?> <presencexmlns="urn:ietf:params:xml:ns:pidf"entity="sip:PDA_User@fh-joanneum.at"> <tupleid="9r28r59">
<status> <basic>open</basic> <geopriv><locationinfo><civilAddress><x>01524.3595</x><y>04704.0990</y></civilAddress></locationinfo></geopriv> </status> </tuple> </presence>..
SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.0.0.3:5060;branch=z9hG4bK1443248938..From: sip:PDA_User@fh-joanneum.at;tag=271646917..To: sip:PDA_User@fh-joanneum.at;tag=589230a54cd08b3768529724501fae28-4cd6..Call-ID: 1040576725-1127390674-656438565..CSeq: 5 PUBLISH..Server: Sip EXpress router (0.9.3 (i386/linux))..Content-Length: 0..Warning: 392 10.0.0.11:5060 "Noisy feedback tells:pid=25182 req_src_ip=10.0.0.3 req_src_port=5060 in_uri=sip:PDA_User@fh-joanneum.at out_uri=sip:PDA_User@fh-joanneum.at via_cnt==1"
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers