Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Sip Display Info
Author Message
voipwell.com
Partner PBX


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

PostPosted: Sun Sep 26, 2010 1:33 pm    Post subject: Sip Display Info 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:

Is there a way to match SIP Display Name in Matching Patterns in dial plan? Can't seem to grab it with geturi (From) or headerparam.
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Mon Sep 27, 2010 10:20 am    Post subject: Reply with quote

how about this??

From = ^"(.+)"

Because a Display Name is in "".
Back to top
View user's profile
voipwell.com
Partner PBX


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

PostPosted: Mon Sep 27, 2010 10:23 am    Post subject: Reply with quote

Thanks james.

So geturi( From ) doesn't work but just From does? geturi( From ) only shows from from the sip: onward. I'll try it. Thanks so much!
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 242

PostPosted: Tue Sep 28, 2010 12:11 am    Post subject: Reply with quote

because $geturi( From ) returns the URI part of From header.
it doesn't have the display name part.
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