[OpenSIPS-Users] OpenSIPS fails on urn:service:sos RURI
Anders Kristensen
andersk at google.com
Wed Mar 19 02:08:07 CET 2014
I'm trying to route calls to emergency services through an OpenSIPS
proxy. It seems that the tm module fails because it (or OpenSIPS
itself) is unable to parse urn:service:sos RURI (defined in RFC 5031).
Mar 18 17:27:31 [8807] ERROR:core:parse_uri: bad uri, state 0 parsed:
<urn:> (4) / <urn:service:sos> (15)
Mar 18 17:27:31 [8807] ERROR:core:parse_sip_msg_uri: bad uri <urn:service:sos>
Mar 18 17:27:31 [8807] DBG:core:set_err_info: ec: 1, el: 3, ei: 'error
parsing r-uri'
Mar 18 17:27:31 [8807] ERROR:tm:new_t: uri invalid
Mar 18 17:27:31 [8807] ERROR:tm:t_newtran: new_t failed
I'm routing the call using t_relay("udp:127.0.0.1:5070") so there
should be no real need to parse the RURI. (What I'd really like to do
instead is have the client insert a preloaded route in the INVITE and
have OpenSIPS route based on that and leave the RURI untouched.)
A quick search shows that this exact issue came up back in 2008:
http://lists.sip-router.org/pipermail/users/2008-March/016680.html
Also, RFC 5031 was published in 2008 so I'm surprised if this is still
an issue. Can you experts think of *any* way to get OpenSIPS to send
an INVITE with RURI urn:service:sos? Preferably one that doesn't
involve writing a new module just for this purpose.
I tried this with the latest OpenSIPS 1.10.
Thanks,
Anders
More information about the Users
mailing list