[Users] OpenSER Not able to send Notify

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jun 5 15:19:50 CEST 2007


Either use xcap or set force_active=true

regards
klaus

kiran.bkumar at wipro.com wrote:
> Hi All,
> 
>  
> 
>  
> 
>  
> 
> Finally I was able to get the presence server up and running with the 
> openims and also able to do some basic tests with xlite. But the problem 
> I am seeing is when I change the status of a user (for ex from available 
> to busy), it sends a publish event to openser and now I expect the 
> openser to trigger a Notify to the contacts.
> 
>  
> 
>  
> 
>  
> 
> But this does not seem to be happening and I see some errors as below,
> 
>  
> 
>  1(5293) SIP Request:
> 
>  1(5293)  method:  <PUBLISH>
> 
>  1(5293)  uri:     <sip:kiran at mkd149633.wipro.com>
> 
>  1(5293)  version: <SIP/2.0>
> 
>  1(5293) parse_headers: flags=2
> 
>  1(5293) Found param type 232, <branch> = <z9hG4bK4ac2.743db705.0>; state=16
> 
>  1(5293) end of header reached, state=5
> 
>  1(5293) parse_headers: Via found, flags=2
> 
>  1(5293) parse_headers: this is the first via
> 
>  1(5293) After parse_msg...
> 
>  1(5293) preparing to run routing scripts...
> 
>  1(5293) parse_headers: flags=100
> 
>  1(5293) Found param type 232, <branch> = <z9hG4bK4ac2.bd17e9a7.0>; state=16
> 
>  1(5293) end of header reached, state=5
> 
>  1(5293) parse_headers: Via found, flags=100
> 
>  1(5293) parse_headers: this is the second via
> 
>  1(5293) Found param type 234, <received> = <10.117.2.44>; state=6
> 
>  1(5293) Found param type 232, <branch> = 
> <z9hG4bK-d87543-52058d7c8c660725-1--d87543->; state=6
> 
>  1(5293) Found param type 235, <rport> = <5186>; state=16
> 
>  1(5293) end of header reached, state=5
> 
>  1(5293) parse_headers: Via found, flags=100
> 
>  1(5293) DEBUG:maxfwd:is_maxfwd_present: value = 15
> 
>  1(5293) DEBUG: t_newtran:  T on entrance=0xffffffff
> 
>  1(5293) parse_headers: flags=ffffffffffffffff
> 
>  1(5293) DEBUG:parse_to:end of header reached, state=10
> 
>  1(5293) DBUG:parse_to: display={"Kiran"}, 
> ruri={sip:kiran at mkd149633.wipro.com}
> 
>  1(5293) DEBUG: get_hdr_field: <To> [40]; 
> uri=[sip:kiran at mkd149633.wipro.com]
> 
>  1(5293) DEBUG: to body ["Kiran"<sip:kiran at mkd149633.wipro.com>
> 
> ]
> 
>  1(5293) get_hdr_field: cseq <CSeq>: <95> <PUBLISH>
> 
>  1(5293) DEBUG: get_hdr_body : content_length=449
> 
>  1(5293) found end of header
> 
>  1(5293) parse_headers: flags=78
> 
>  1(5293) t_lookup_request: start searching: hash=11428, isACK=0
> 
>  1(5293) DEBUG: RFC3261 transaction matching failed
> 
>  1(5293) DEBUG: t_lookup_request: no transaction found
> 
>  1(5293) parse_headers: flags=ffffffffffffffff
> 
>  1(5293) PRESENCE:handle_publish: SIP-If-Match found
> 
>  1(5293) PRESENCE:handle_publish: existing etag  = a.1181035469.5298.17
> 
>  1(5293) PRESENCE: handle_publish: 'expires' found
> 
>  1(5293) PRESENCE: handle_publish: lexpire= 60
> 
>  1(5293) PRESENCE: handle_publish: 'To' header ALREADY PARSED: 
> <sip:kiran at mkd149633.wipro.com>
> 
>  1(5293) parse_headers: flags=ffffffffffffffff
> 
>  1(5293) PRESENCE:publ_send200ok: send 200OK reply
> 
>  1(5293) PRESENCE:publ_send200ok: etag= a.1181035469.5298.17 - len= 20
> 
>  1(5293) parse_headers: flags=ffffffffffffffff
> 
>  1(5293) check_via_address(10.154.20.45, 10.154.20.45, 0)
> 
>  *1(5293) PRESENCE: get_subs_dialog:The query for subscribtion for 
> [user]= kiran,[domain]= mkd149633.wipro.com for [event]= presence 
> returned no result*
> 
> * 1(5293) PRESENCE:query_db_notify: Could not get subs_dialog from database*
> 
> * 1(5293)  PRESENCE:update_presentity: Could not send Notify*
> 
> * 1(5293) DEBUG: cleanup_uac_timers: RETR/FR timers reset*
> 
>  1(5293) DEBUG: add_to_tail_of_timer[2]: 0xb609b268 (6756)
> 
>  1(5293) DEBUG:tm:UNREF_UNSAFE: after is 0
> 
>  1(5293) DEBUG:destroy_avp_list: destroying list (nil)
> 
>  1(5293) receive_msg: cleaning up
> 
>  5(5299) DEBUG: timer routine:2,tl=0xb609b268 next=(nil), timeout=6756
> 
>  5(5299) DEBUG: wait_handler : removing 0xb609b220 from table
> 
>  5(5299) DEBUG: delete transaction 0xb609b220
> 
>  5(5299) DEBUG: wait_handler : done
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Can you please help me on this. Let me know if you need some log 
> files/traces.
> 
>  
> 
> Do I require to do some configuration changes or any additions to the 
> database for this.
> 
>  
> 
>  
> 
>  
> 
> Thanks,
> 
>  
> 
> Kiran.
> 
>  
> 
>  
> 
> 
> The information contained in this electronic message and any attachments 
> to this message are intended for the exclusive use of the addressee(s) 
> and may contain proprietary, confidential or privileged information. If 
> you are not the intended recipient, you should not disseminate, 
> distribute or copy this e-mail. Please notify the sender immediately and 
> destroy all copies of this message and any attachments.
> 
> WARNING: Computer viruses can be transmitted via email. The recipient 
> should check this email and any attachments for the presence of viruses. 
> The company accepts no liability for any damage caused by any virus 
> transmitted by this email.
> 
> www.wipro.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list