Author |
Message |
mcavalier Brekeke Newbie
Joined: 19 Aug 2013 Posts: 2
Location: REUNION
|
Posted: Mon Aug 19, 2013 6:18 am Post subject: How to manipulate option P-Access-Network-Info |
|
|
1. Brekeke Product Name and Version:
Brekeke SIP Server
3.1.9.1/348.5
EVAL
2. Java version:
1.7.0_25
3. OS type and the version:
Windows 7 PRO 64 bits
4. UA (phone), gateway or other hardware/software involved:
N/C
5. Your problem:
In Dial Plan, I'm looking for manipulate the option "P-Access-Network-Info" in the SIP header .
May be somthing like this match, but not functionning at this time...
Matching Patterns | $request = ^INVITE
| Deploy Patterns | $headerparam(P-Access-Network-Info) = TESTNET
|
Do you have an idea for me ?
Thanks for your help,
Maxime. |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Aug 19, 2013 9:25 am Post subject: |
|
|
you can set header directly as
P-Access-Network-Info=TESTNET |
|
Back to top |
|
cocoa Brekeke Junior Member
Joined: 12 Feb 2009 Posts: 7
Location: Japan
|
Posted: Mon Aug 19, 2013 11:45 am Post subject: |
|
|
The function "$headerparam()" is available in Matching Patterns only.
It is not for Deploy Patterns. |
|
Back to top |
|
mcavalier Brekeke Newbie
Joined: 19 Aug 2013 Posts: 2
Location: REUNION
|
Posted: Wed Aug 21, 2013 12:58 am Post subject: |
|
|
Wow !
Simple, Efficient, Impressive...
Thanks for your help,
Maxime. |
|
Back to top |
|
|