Author |
Message |
promero Brekeke Junior Member
Joined: 18 Apr 2013 Posts: 8
|
Posted: Mon Feb 08, 2016 12:44 pm Post subject: P-Charge-Info |
|
|
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? |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Tue Feb 09, 2016 2:05 am Post subject: |
|
|
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? |
|
Back to top |
|
promero Brekeke Junior Member
Joined: 18 Apr 2013 Posts: 8
|
Posted: Tue Feb 09, 2016 11:47 am Post subject: |
|
|
Sip received packet.
Thanks |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Tue Feb 09, 2016 12:04 pm Post subject: |
|
|
which header of sip packet is it? |
|
Back to top |
|
promero Brekeke Junior Member
Joined: 18 Apr 2013 Posts: 8
|
Posted: Wed Feb 10, 2016 1:13 pm Post subject: |
|
|
invite |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed Feb 10, 2016 1:41 pm Post subject: |
|
|
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 Patterns | $request = ^INVITE $getUri(From) = (.+)
| Deploy Patterns | P-Charge-Info = %1
|
|
|
Back to top |
|
|