[OpenSIPS-Users] Bad port in uri

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Sep 28 13:21:58 CEST 2015


Hi Nabeel,

I see you have a SIP msg with IPV6 in RURI:
sip:+447984977774 at 2a04:4a41:218:c8d2::2383:20a5%4:39572;transport=tls

In this case, the IPv6 address must be between brackets, like:
sip:+447984977774@[2a04:4a41:218:c8d2::2383:20a5%4]:39572;transport=tls

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 28.09.2015 13:11, Nabeel wrote:
>
> Hi,
>
> I'm getting the followinh error with IPv6 when attempting to make a 
> call.  Is it related to the SIP client or OpenSIPS?
>
> 09-28 03:02:33.564  18214-21831/com.sipdomain 
> I/IntegratedSipProvider﹕ message:
>     SIP/2.0 500 Internal Error
>     Via: SIP/2.0/TLS 
> [2a04:4a41:218:c8d2::2383:20a5]:34248;received=94.197.121.62;rport=7085;branch=z9hG4bK99966
>     To: <sip:+447984977674 at sipdomain.com 
> <mailto:sip%3A%2B447984977674 at sipdomain.com>;transport=tls>;tag=22aedaebbea315632eb770d97d0e8a0d.6772
>     From: <sip:+447984977674 at sipdomain.com 
> <mailto:sip%3A%2B447984977674 at sipdomain.com>>;tag=z9hG4bK61460932
>     Call-ID: 651586519504 at 2a04:4a41:218:c8d2::2383:20a5%4
>     CSeq: 2 INVITE
>
> ERROR:core:parse_uri: bad port in uri (error at char a in state 8) 
> parsed: <sip:+447984977674 at 2a04:4>(24) 
> /<sip:+447984977674 at 2a04:4a41:218:c8d2::2383:20a5%4:42090;transport=tls> 
> (69)
> ERROR:registrar:update_contacts: failed to parse contact 
> <sip:+447984977774 at 2a04:4a41:218:c8d2::2383:20a5%4:42090;transport=tls>
> ERROR:core:parse_uri: bad port in uri (error at char a in state 8) 
> parsed: <sip:+447984977674 at 2a04:4>(24) 
> /<sip:+447984977674 at 2a04:4a41:218:c8d2::2383:20a5%4:42090;transport=tls> 
> (69)
> ERROR:nathelper:get_contact_uri: failed to parse Contact URI
> ERROR:core:parse_uri: bad port in uri (error at char a in state 8) 
> parsed: <sip:+447984977674 at 2a04:4>(24) 
> /<sip:+447984977674 at 2a04:4a41:218:c8d2::2383:20a5%4:42090;transport=tls> 
> (69)
> ERROR:nathelper:get_contact_uri: failed to parse Contact URI
> ERROR:core:parse_uri: bad port in uri (error at char a in state 8) 
> parsed: <sip:+447984977674 at 2a04:4>(24) 
> /<sip:+447984977674 at 2a04:4a41:218:c8d2::2383:20a5%4:39572;transport=tls> 
> (69)
> ERROR:core:parse_sip_msg_uri: bad uri 
> <sip:+447984977774 at 2a04:4a41:218:c8d2::2383:20a5%4:39572;transport=tls>
> ERROR:tm:new_t: uri invalid
> ERROR:tm:t_newtran: new_t failed
>
>
>
> _______________________________________________
> 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/20150928/fe4947c3/attachment.htm>


More information about the Users mailing list