How to manipulate option P-Access-Network-Info

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
mcavalier
Posts: 2
Joined: Mon Aug 19, 2013 5:17 am
Location: REUNION

How to manipulate option P-Access-Network-Info

Post by mcavalier »

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 Pattern
$request=^INVITE

Deploy Pattern
$headerparam(P-Access-Network-Info)=TESTNET

Do you have an idea for me ?

Thanks for your help,
Maxime.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

you can set header directly as
P-Access-Network-Info=TESTNET
cocoa
Posts: 7
Joined: Thu Feb 12, 2009 1:18 pm
Location: Japan

Post by cocoa »

The function "$headerparam()" is available in Matching Patterns only.
It is not for Deploy Patterns.
mcavalier
Posts: 2
Joined: Mon Aug 19, 2013 5:17 am
Location: REUNION

Post by mcavalier »

Wow !
Simple, Efficient, Impressive...

Thanks for your help,
Maxime.
Post Reply