[Spce-user] Still not able to add permanent contact for device with leading +

John Murray john.murray at skyracktelecom.com
Thu Jul 5 16:15:32 EDT 2012


Jon,

Many thanks as always. This is now working with that fix.

Regards

John

-----Original Message-----
From: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Jon Bonilla (Manwe)
Sent: 05 July 2012 17:45
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Still not able to add permanent contact for device with leading +

El Tue, 26 Jun 2012 21:43:48 +0100
"John Murray" <john.murray at skyracktelecom.com> escribió:

> I can add that, but the device I'm addressing needs +441.......
> 
>  
> 
 

We haven't released an updated version yet but I tried with our trunk version and it worked. 

The diff shows this change to that line:

-    unless($contact
  =~ /^sip\:[a-zA-Z0-9\-\_\.\!\~\*\'\(\)\%]+\@[a-zA-Z0-9\-\.\[\]\:]+(\:\d{1,5})?$/)
  {
+    unless($contact
  =~ /^sip\:[a-zA-Z0-9\-\_\.\!\~\*\'\(\)\%\+]+\@[a-zA-Z0-9\-\.\[\]\:]+(\:\d{1,5})?$/)
  {



I applied this change to a 2.5 server and I was able to add a permanent contact with the string you provided:

sip:+447222371855 at 192.168.1.23:5060


Could you please recheck?

 

_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/listinfo/spce-user





More information about the Spce-user mailing list