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

John Murray john.murray at skyracktelecom.com
Tue Jun 26 16:43:48 EDT 2012


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

 

For completeness this is following this, which I did:

 

>> The SPCE web interface does not allow me to add a permanent contact 

>> for a user with a + in it, as:

>> sip:+447222371855 at 192.168.1.23:5060

>> I am only allowed:

>> sip:447222371855 at 192.168.1.23:5060

>> Can I enable this?

> 

>We've fixed this in the dev version and will provide a backport for 2.5
tomorrow.

> 

>In the meanwhile, in

>/usr/share/ngcp-www-admin/lib/admin/Controller/subscriber.pm search for
"sub add_permanent_contact" and change the regex line below to this:

> 

>unless($contact =~

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

>{

> 

>Note the addition of "\+" before the first closing square bracket.

> 

>Restart apache2 afterwards to take it into effect.

 

 

 

From: Adam Fyfe [mailto:adam.fyfe1 at gmail.com] 
Sent: 26 June 2012 21:37
To: John Murray
Subject: Re: [Spce-user] Still not able to add permanent contact for device
with leading +

 

to get round it, if the SIP trunk is UK based, can you try 

 

sip:0044123 at 192.168.1.10:5060 

 

i wouldnt have thought youd need the port number !!

On 26 June 2012 21:35, John Murray <john.murray at skyracktelecom.com> wrote:

Hi Adam,

 

Yes I get the same.

 

I can add 'sip:44123 at 192.168.1.10:5060' without problem.

 

Regards

 

John

 

From: Adam Fyfe [mailto:adam.fyfe1 at gmail.com] 
Sent: 26 June 2012 21:32
To: John Murray
Subject: Re: [Spce-user] Still not able to add permanent contact for device
with leading +

 

have u tried without the :5060 at the end or the uri ?

On 26 June 2012 21:29, John Murray <john.murray at skyracktelecom.com> wrote:

Hi,

 

I tried to add:

 

sip:+44123 at 192.168.1.10:5060

 

and get 'Invalid SIP URI'

 

Regards

 

John


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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120626/6f5c43c5/attachment-0001.html>


More information about the Spce-user mailing list