Sorry, I attached a wrong log file, this is the good one.

Regards,
Pablo

-----Mensaje original-----
De: Pablo Guijarro Enríquez [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 17 de abril de 2008 18:59
Para: 'Anca Vamanu'
CC: '[email protected]'
Asunto: RE: [OpenSER-Users] Log errors when processing a contact list with
RLSmodule

Hello,

As you supposed, it was the mistake taken from openser 1.3.0 config file.
Now a first notify request gets to the SIP client. It carries the contact
list, but no presence information, though they are online and have published
it. The message received is:

NOTIFY sip:[EMAIL PROTECTED];transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.95.43.31;branch=z9hG4bK0686.86ae4926.0
To: sip:[EMAIL PROTECTED];tag=4ivc499k75hc7g2k5aeo
From: sip:[EMAIL PROTECTED];tag=10.1841.1208448754.13
CSeq: 1 NOTIFY
Call-ID: 1sf29lPkoIemh2GtzJAuBMhyvfxO_l
Content-Length: 504
User-Agent: OpenSER (1.3.1-notls (i386/linux))
Max-Forwards: 70
Event: presence
Contact: <sip:10.95.43.31>
Subscription-State: active;expires=3600
Require: eventlist
Content-Type: "multipart/related;type="application/rlmi+xml";start=
<1208448754.sip:[EMAIL PROTECTED]>;boundary=eU3
JIKPQGrAduyGcfXiT4gZS

--eU3JIKPQGrAduyGcfXiT4gZS
Content-Transfer-Encoding: binary
Content-ID: <1208448754.sip:[EMAIL PROTECTED]>
Content-Type: application/rlmi+xml;charset="UTF-8r"

<?xml version="1.0"?>
<list uri="sip:[EMAIL PROTECTED]"
xmlns="urn:ietf:params:xml:ns:rlmi" version="1" fullState="true">
  <resource uri="sip:[EMAIL PROTECTED]"/>
  <resource uri="sip:[EMAIL PROTECTED]"/>
  <resource uri="sip:[EMAIL PROTECTED]"/>
</list>

--eU3JIKPQGrAduyGcfXiT4gZS--


Subsequent changes in their presence status are not notified to the client
that is subscribed to the group either.

Log file shows some errors that may have to do with that issue. Sample
attached shows one of those presence status changes, made by one of the
contacts, and a periodic process for sending notifies or something like
that.

In other posts, I have read about some of the errors that appear, and they
were supposed to have been fixed in openser 1.3.1. However, it seems they
are still there:

Apr 17 18:13:25 comm ./openser[1839]: ERROR:mysql:db_mysql_submit_query:
driver error: Duplicate entry '1' for key 3
Apr 17 18:13:25 comm ./openser[1839]: ERROR:mysql:db_mysql_insert: error
while submitting query
Apr 17 18:13:25 comm ./openser[1839]: ERROR:rls:rls_handle_notify: in sql
insert


Of course, that's true, there are two entries in rls_presentity table, both
with the same id. I don't know why...

Thanks again for your support,

Pablo


-----Mensaje original-----
De: Anca Vamanu [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 17 de abril de 2008 11:18
Para: Pablo Guijarro Enríquez
CC: [email protected]
Asunto: Re: [OpenSER-Users] Log errors when processing a contact list with
RLSmodule

Hi,

Here you have the same problem in your configuration file, you should 
accept in dialog SUBSCRIBE and NOTIFY requests that are directed to the 
proxy.
I think that the example config file from 1.3.0 might have this mistake. 
It was fixed but probably after the release. You should look at the 
config from 1.3.1.

regards,
Anca

Pablo Guijarro Enríquez wrote:
> Hi Anca,
>
> Oops, you are right, sorry :p Now errors have disappeared, but there is
> something wrong. The notify messages sent as a result of the subscribe
ones
> generated by the rls module for each of the contacts in the list are
> rejected with 404 responses. For example:
>
>
> SUBSCRIBE sip:[EMAIL PROTECTED] SIP/2.0
> Via: SIP/2.0/UDP 10.95.43.31;branch=z9hG4bK16cd.9a07a1d1.0
> To: sip:[EMAIL PROTECTED]
> From: sip:[EMAIL PROTECTED];tag=533cb9e91f4b999cf76861cbb9ed54ed-1a1a
> CSeq: 10 SUBSCRIBE
> Call-ID: [EMAIL PROTECTED]
> Content-Length: 0
> User-Agent: OpenSER (1.3.1-notls (i386/linux))
> Max-Forwards: 70
> Event: presence
> Contact: <sip:10.95.43.31>
> Expires: 3610
> Max-Forwards: 70
> Support: eventlist
>
>
> NOTIFY sip:10.95.43.31 SIP/2.0
> Via: SIP/2.0/UDP 10.95.43.31;branch=z9hG4bK975a.bb2427c3.0
> To: sip:[EMAIL PROTECTED];tag=533cb9e91f4b999cf76861cbb9ed54ed-1a1a
> From: sip:[EMAIL PROTECTED];tag=10.31561.1208325872.1
> CSeq: 1 NOTIFY
> Call-ID: [EMAIL PROTECTED]
> Content-Length: 0
> User-Agent: OpenSER (1.3.1-notls (i386/linux))
> Max-Forwards: 70
> Event: presence
> Contact: <sip:10.95.43.31>
> Subscription-State: active;expires=3600
>
>
> SIP/2.0 404 Not here
> Via: SIP/2.0/UDP 10.95.43.31;branch=z9hG4bK975a.bb2427c3.0
> To: sip:[EMAIL PROTECTED];tag=533cb9e91f4b999cf76861cbb9ed54ed-1a1a
> From: sip:[EMAIL PROTECTED];tag=10.31561.1208325872.1
> CSeq: 1 NOTIFY
> Call-ID: [EMAIL PROTECTED]
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> What could be the reason for this to happen? It seems that openser does
not
> want to handle that message or something... I have tried setting an alias
> for 10.95.43.31 in openser configuration file, but that did not work
either.
>
> Log file is huge, so I cannot attach this whole part, just the end of it.
> Feel free to ask whatever data you may want to ckeck.
>
> Regards,
> Pablo
>
>
> -----Mensaje original-----
> De: Anca Vamanu [mailto:[EMAIL PROTECTED] 
> Enviado el: viernes, 11 de abril de 2008 15:41
> Para: Pablo Guijarro Enríquez
> CC: [email protected]
> Asunto: Re: [OpenSER-Users] Log errors when processing a contact list with
> RLS module
>
> Hi Pablo,
>
> It is exactly the same error you mentioned with pua_xmpp :). RLS also 
> depends on pua and since you have changed it .. You need to run a 'make 
> proper' in the rls module directory and then compile it again.
>
> regards,
> Anca
>
>
> Pablo Guijarro Enríquez wrote:
>   
>> Hi,
>>
>>  
>>
>> I am running openser v1.3.1 and I cannot get the RLS module to work 
>> properly when handling a contact list already retrieved from database. 
>> Some errors related with the pua module appear in the log when the 
>> server seems to be trying to generate the subscribe requests for each 
>> of the contacts in the list (see attached, lines 60 to 62).
>>
>>  
>>
>> Apr 10 13:02:23 comm ./openser[20184]: ERROR:pua:subs_build_hdr: 
>> getting event from list
>>
>> Apr 10 13:02:23 comm ./openser[20184]: ERROR:pua:send_subscribe: while 
>> building extra headers
>>
>> Apr 10 13:02:23 comm ./openser[20184]: 
>> ERROR:rls:process_list_and_exec:  infunction given as a parameter
>>
>>  
>>
>> Those requests are never sent. What could this be due to?
>>
>>  
>>
>> Thanks!
>>
>>  
>>
>> Pablo
>>
>>  
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>   
>>     
>
>   

Attachment: ser1.log
Description: Binary data

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to