Author |
Message |
colin2710 Brekeke Talented
Joined: 20 Nov 2007 Posts: 58
Location: Teddington UK
|
Posted: Thu Dec 04, 2008 2:26 pm Post subject: $geturi( From ) |
|
|
1. Brekeke Product Name and version: PBX/SIP server 2.2.5.0 Basic (20 users purchased x 2)
2. Java version: jre1.5.0 14
3. OS type and the version: Windows 2000
4. UA (phone), gateway or other hardware/software involved: No hardware, all VOIP providers, Inbound numbers - Voxbone and Magrathea Telecom (VOIP call termination).
5. Network pattern http://www.brekeke-sip.com/bbs/network/pattern9.html:
6. Your problem: I have seen in the forum some useful dial plans, but sometimes I have seen "$geturi( From )", I can't see/find this command anywhere - has it been replaced with new command, if so - what is it's replacement - anyone help?
Regards - Colin
Colin2710 |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Fri Dec 05, 2008 10:44 am Post subject: |
|
|
there is dial plan tutorial at
http://www.brekeke-sip.com/download/bss/bss_tutorial_dialplan_en.pdf
at section 4: Editing SIP Header
there is sample about how to use
use $geturi(From) in matching patterns to check what is in the From header then you can change the From header in the deploy patterns depending on your need |
|
Back to top |
|
colin2710 Brekeke Talented
Joined: 20 Nov 2007 Posts: 58
Location: Teddington UK
|
Posted: Sun Dec 07, 2008 4:25 am Post subject: |
|
|
Hi there Hope,
Many thanks for your reply.
I have seen that dial plan tutorial, but when I go to Matching Patterns, the is NO "$geturi" in the drop down box of variables - it’s just NOT in the list. Am I missing something or have I lost the variable "$geturi".
Below I list the 13 Matching Patterns options (But NO "$geturi")
From
To
Contact
$addr
$date
$localhost
$outbound
$registered
$request
$port
$sid
$time
$transport
I am running a fully licensed paid for version as follows: "Brekeke PBX, Version 2.2.6.2 , Basic, ID: (Number removed for security reasons), Users: 20, Concurrent: 10"
Is there something wrong/missing in my copy?
Regards - Colin |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Dec 08, 2008 11:40 am Post subject: |
|
|
Not all variables are listed in the variable drop down list.
you can type "$geturi" in the text box and it will work also. |
|
Back to top |
|
colin2710 Brekeke Talented
Joined: 20 Nov 2007 Posts: 58
Location: Teddington UK
|
Posted: Mon Dec 08, 2008 4:42 pm Post subject: |
|
|
Hi there Hope,
Many thanks for your reply - do you or anyone at Brekeke have a list of these, as this would be very helpful.
Thanks again.
Warm regards - Colin |
|
Back to top |
|
taitan Brekeke Master Guru
Joined: 15 Mar 2008 Posts: 237
|
Posted: Tue Dec 09, 2008 1:13 am Post subject: |
|
|
See the section "6.3.1 Matching Patterns" in the Brekeke SIP Server Admin Guide.
You can find "$geturi" there. |
|
Back to top |
|
|