Author |
Message |
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Sun Sep 26, 2010 1:33 pm Post subject: Sip Display Info |
|
|
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 |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Mon Sep 27, 2010 10:20 am Post subject: |
|
|
how about this??
From = ^"(.+)"
Because a Display Name is in "". |
|
Back to top |
|
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Mon Sep 27, 2010 10:23 am Post subject: |
|
|
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 |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 245
|
Posted: Tue Sep 28, 2010 12:11 am Post subject: |
|
|
because $geturi( From ) returns the URI part of From header.
it doesn't have the display name part. |
|
Back to top |
|
|