[OpenSIPS-Users] ERROR:core:parse_uri: bad uri, state 0 parsed
Vlad Paiu
vladpaiu at opensips.org
Thu Jun 2 11:08:16 CEST 2011
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 ( useras at example.com should be sip:useras at example.com, 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, nick at uni-petrol.com 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:<user> (4) /<useras at example.com> (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:useras at example.com SIP/2.0
> Via: SIP/2.0/UDP 10.211.55.2:5070;rport;branch=z9hG4bK4288
> To: useras at example.com
> From: useras at example.com;tag=8932
> Call-ID: 1306927858-288-MacBook-Pro. at 10.211.55.2
> CSeq: 116 SUBSCRIBE
> Max-Forwards: 20
> User-Agent: NCH Software Express Talk 4.04
> Contact:<sip:useras at 10.211.55.2:5070>
> 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: useras at example.com;tag=f2775ec65578db2ba978e4353ce87342.dbdb
> From: useras at example.com;tag=8932
> Call-ID: 1306927858-288-MacBook-Pro. at 10.211.55.2
> CSeq: 116 SUBSCRIBE
> Server: SIP Gateway
> Content-Length: 0
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110602/fbfa169b/attachment.htm>
More information about the Users
mailing list