Hello Nick,

This isn't really something that we can fix on the OpenSIPS side.
First, this behavior is not RFC compliant, and secondly, if you see that a URI is "malformed" in this way, you can't just assume it to be prefixed it with sip: , because it could also be sips: or tel: .


Regards,

--
Vlad Paiu
OpenSIPS Developer




On 06/02/2011 01:14 PM, [email protected] wrote:
Dear Vlad!

Yes, this is broken UA (NCH Software Express Talk 4.04 on MacBook-Pro).

I just post this message to make sure opensips community know such cases and maybe fix if it will be needed.

Thanks in advance!

On Thu, 02 Jun 2011 12:08:16 +0300, Vlad Paiu wrote:

Hello Nick,

Your problem is that your From and To header fields do not contain valid
SIP uris, in the sense that the "sip:" part from the beginning is missing
( [email protected] [9] should be sip:[email protected], like in the
R-URI ) , which makes OpenSIPS throw all those errors.

Check which is the source of this. Maybe you are not properly altering
the messages, or you are dealing with broken UAs.

Regards,

--
Vlad Paiu
OpenSIPS Developer

On 06/02/2011 09:57 AM, [email protected] [10]wrote:

Dear All!

opensips: opensips_trunk rev 7915

I have errors:

Jun 2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:parse_uri: bad
uri, state 0 parsed: (4) / (28)
Jun 2 10:47:27 /usr/sbin/opensips[30111]:
ERROR:core:pv_get_acc_username: bad From URI
Jun 2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:do_assign: no
value in right expression
Jun 2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:do_assign: error
at line: 551

SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.211.55.2:5070;rport;branch=z9hG4bK4288
To: [email protected] [1]
From: [email protected];tag=8932 [2]
Call-ID: [email protected] [3]
CSeq: 116 SUBSCRIBE
Max-Forwards: 20
User-Agent: NCH Software Express Talk 4.04
Contact:
Expires: 86400
Event: message-summary
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFO, REFER, NOTIFY
Supported: replaces
Content-Length: 0

SIP/2.0 501 Method Not Supported Here
Via: SIP/2.0/UDP

10.211.55.2:5070;rport=5070;branch=z9hG4bK4288;received=85.235.185.170
To: [email protected];tag=f2775ec65578db2ba978e4353ce87342.dbdb [4]
From: [email protected];tag=8932 [5]
Call-ID: [email protected] [6]
CSeq: 116 SUBSCRIBE
Server: SIP Gateway
Content-Length: 0

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


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



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

Reply via email to