Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
semicolon in display name parse problem
Author Message
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Tue Jul 05, 2011 1:34 pm    Post subject: semicolon in display name parse problem Reply with quote

1. Brekeke Product Name and version:

2. Java version:

3. OS type and the version:

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

6. Your problem:
I think this is Sip server and pbx issue solved with sip server dial plan. When incoming call includes a from: display name and display name contains a ";" (semicolon) the from address gets parsed incorrectly.

Example "CARQUEST; OF MA" <sip:5704204194@example.com >

gets parsed to:

"CAR QUEST" <sip:CARQUEST@example.com>

When a call is sent to an extension on the pbx. Not sure if parsing occurs on pbx or sip server.

I would like to know if anyone else experienced problem.

Here is my work around dial plan, maybe can help you.

Match Pattern:

$request=^INVITE
from="(.+);(.+)"(.+)

Deploy

from="%1%2"%3
$continue = true

Of course this assumes your ; will be in the middle of other characters. if it should fall as the first character or last character you may need something more like this in the matching pattern.
from="(.+)*;(.+)*"(.+)

Nick
Voipwell
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 289
Location: Japan

PostPosted: Wed Jul 06, 2011 10:52 am    Post subject: Reply with quote

Hi Nick,

Which version of Brekeke SIP Server are you using?
I tried the latest version of SIP Server with such unique SIP-URI but it seems there are no issues.

If a call is forwarded through Brekeke PBX, such SIP-URI will not be parsed correctly as you reported...
Back to top
View user's profile
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Wed Jul 06, 2011 11:48 am    Post subject: Reply with quote

Hello,

Version 2.4.7.3. Yes, it sends the call to a ua registered on the pbx and fails because of the parsing. I hope readers of the forum understand just how flexible the dial plan in the sip server is to be able to correct things like this without patches. We have several dial plans that correct carriers mistakes.

Thanks.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 289
Location: Japan

PostPosted: Thu Jul 07, 2011 5:55 pm    Post subject: Reply with quote

Nick,
Thank you for the reply.
I got it Very Happy
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1