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

Jon Bonilla (Manwe) jbonilla at sipwise.com
Thu Jul 5 12:44:37 EDT 2012


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?

 




More information about the Spce-user mailing list