Moderator: Brekeke Support Team
-
promero
- Posts: 8
- Joined: Thu Apr 18, 2013 9:27 am
Post
by promero »
1. Brekeke Product Name and Version:
3.1.7.8 Advanced
2. Java version: 1.8
3. OS type and the version: Windows 2008
4. UA (phone), gateway or other hardware/software involved: ITSP
5. Your problem:
Provider requires P-Charge-Info inserted to SIP INVITE.
How can we do this in Brekeke dial plan?
-
Harold
- Posts: 289
- Joined: Sun Sep 21, 2008 10:31 pm
- Location: Japan
Post
by Harold »
You can insert it with dial plan but you need a value.
Do you want to get the value from received SIP packet ? or database?
-
promero
- Posts: 8
- Joined: Thu Apr 18, 2013 9:27 am
Post
by promero »
Sip received packet.
Thanks
-
Tata
- Posts: 223
- Joined: Sun Jan 27, 2008 1:03 pm
Post
by Tata »
which header of sip packet is it?
-
promero
- Posts: 8
- Joined: Thu Apr 18, 2013 9:27 am
Post
by promero »
invite
-
Tata
- Posts: 223
- Joined: Sun Jan 27, 2008 1:03 pm
Post
by Tata »
INVITE is not a header name..
well...you can put P-Charge-Info header with DialPlan
This example set From-URI as P-Charge-Info's value.
Tune it for your needs.
Matching Pattern
$request = ^INVITE
$getUri(From) = (.+)
Deploy Patterns
P-Charge-Info = %1