Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
How to manipulate option P-Access-Network-Info
Author Message
mcavalier
Brekeke Newbie


Joined: 19 Aug 2013
Posts: 2
Location: REUNION

PostPosted: Mon Aug 19, 2013 6:18 am    Post subject: How to manipulate option P-Access-Network-Info Reply with quote

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
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 19, 2013 9:25 am    Post subject: Reply with quote

you can set header directly as
P-Access-Network-Info=TESTNET
Back to top
View user's profile
cocoa
Brekeke Junior Member


Joined: 12 Feb 2009
Posts: 7
Location: Japan

PostPosted: Mon Aug 19, 2013 11:45 am    Post subject: Reply with quote

The function "$headerparam()" is available in Matching Patterns only.
It is not for Deploy Patterns.
Back to top
View user's profile
mcavalier
Brekeke Newbie


Joined: 19 Aug 2013
Posts: 2
Location: REUNION

PostPosted: Wed Aug 21, 2013 12:58 am    Post subject: Reply with quote

Wow !
Simple, Efficient, Impressive...

Thanks for your help,
Maxime.
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