semicolon in display name parse problem

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

semicolon in display name parse problem

Post by voipwell.com »

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/ ... terns.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
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

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...
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

Post by voipwell.com »

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.
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Nick,
Thank you for the reply.
I got it :D
Post Reply