Re: [OpenSIPS-Users] Presence: xmlns attributes inside tuple element not compliant to RFC3863

2014-03-11 Thread Martin Stock

Hi,

thanks for your answer.

 With OpenSIPS 1.10 the namespace attributes are not defined inside 
the presence element. Referring to RFC3863, Section 4.1.1 
(https://tools.ietf.org/html/rfc3863#page-5) IMHO this is not intended.


 I'm not sure what you mean. What attributes are not defined?

In the RFC the xmlns attribute is only described for the presence element.

 I don't find any UA that works with this presence element.


 Any client based on SIP SIMPLE Client SDK (such as Blink) works with 
those documents.



Yeah, sorry, it's my fault. I only looked in my traces. Now, I have 
visually confirmed (e.g: Jitsi) that the user has changed his status.


I never saw before, that a client/server wrote his namespaces in the 
tuple element.


 Is this a bug or are there options to tweak this?


 What do you need to tweak? (the encoding bug aside)


We have a lot of soft clients in use, that are not capable to handle 
presence elements with this structure. E.g. the Ninja or Juggler soft 
client are not working and those are not based on the SIP SIMPLE SDK.


Is it possible to tweak the structure of the presence element in 
OpenSIPS 1.10?


Thanks in advance.


Regards
Martin


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Presence: xmlns attributes inside tuple element not compliant to RFC3863

2014-03-10 Thread Martin Stock

Hi guys,

I updated my OpenSIPS server from version 1.6.4 to version 1.10. Nearly 
everything is working. I only have some problems with the presence 
stuff: IMHO the structure of XML presence object is not correct.


Working presence body (OpenSIPS 1.6.4):
--- SNIP ---
?xml version=1.0 encoding=UTF-8?
presence xmlns=urn:ietf:params:xml:ns:pidf 
xmlns:dm=urn:ietf:params:xml:ns:pidf:data-model 
xmlns:rp=urn:ietf:params:xml:ns:pidf:rpid entity=sip:10@domain

tuple id=t48d84e51
status
basicclosed/basic
/status
dm:person id=t48d84e51
status
basicopen/basic
/status
rp:activities
rp:Away/
/rp:activities
/dm:person
timestamp2014-03-07T16:49:30Z/timestamp
/tuple
/presence
--- SNAP ---

Bad presence body (OpenSIPS 1.10):
--- SNIP ---
?xml version=1.0?
presence xmlns=urn:ietf:params:xml:ns:pidf entity=sip:10@domain
tuple xmlns=urn:ietf:params:xml:ns:pidf 
xmlns:dm=urn:ietf:params:xml:ns:pidf:data-model 
xmlns:rp=urn:ietf:params:xml:ns:pidf:rpid id=t1e8c1196

status
basicclosed/basic
/status
dm:person id=t1e8c1196
status
basicopen/basic
/status
rp:activities
rp:Away/
/rp:activities
/dm:person
timestamp2014-03-07T16:50:21Z/timestamp
/tuple
/presence
--- SNAP ---


With OpenSIPS 1.10 the namespace attributes are not defined inside the 
presence element. Referring to RFC3863, Section 4.1.1 
(https://tools.ietf.org/html/rfc3863#page-5) IMHO this is not intended.

Also the encoding Header is missing. This is a bad style.

I don't find any UA that works with this presence element.

Is this a bug or are there options to tweak this?

Regards
Martin

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] clear local cache in opensips without restart

2014-01-23 Thread Martin Stock

Great, thanks Flavio.

Am 22.01.2014 15:50, schrieb Flavio Goncalves:

opensipsctl fifo cache_remove key

Flavio E. Goncalves

2014/1/21 Martin Stock m...@reventix.de mailto:m...@reventix.de

Hi guys,

is there a chance to clear local cache in opensips without a
restart. E.g. via opensipsctl command?

For example I use cache_store() in opensips.cfg:
--- snip ---
cache_store( local, username_$au, $au, 3600 );
--- snap ---

Regards
Martin

P.S.:
I'm using OpenSIPS 1.10.

_
Users mailing list
Users@lists.opensips.org mailto:Users@lists.opensips.org
http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] cannot parse the Contact URI with colon in display part

2014-01-21 Thread Martin Stock

Hi Guys,

IMHO the current OpenSIPS creates a strange error message if the display 
part of contact header contains a colon :.

E.g. the error messages looks like this:
--- snip ---
opensips[24791]: ERROR:core:parse_uri: bad uri,  state 0 parsed: Fax: 
(4) / Fax: Name sip:1001@192.168.16.158:5060 (62)
opensips[24791]: ERROR:nat_traversal:get_contact_uri: cannot parse the 
Contact URI

--- snap ---

The contact header in the of the UA:
Contact: Fax: Name sip:1001@192.168.16.158:5060

If I remove the : inside the display part the error message disappears.

In diplay parts of other URIs this is not a problem.

Is that a bug?

Regards
Martin

P.S.:
I'm using OpenSIPS version 1.10.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] clear local cache in opensips without restart

2014-01-21 Thread Martin Stock

Hi guys,

is there a chance to clear local cache in opensips without a restart. 
E.g. via opensipsctl command?


For example I use cache_store() in opensips.cfg:
--- snip ---
cache_store( local, username_$au, $au, 3600 );
--- snap ---

Regards
Martin

P.S.:
I'm using OpenSIPS 1.10.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users