Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
P-Charge-Info
Author Message
promero
Brekeke Junior Member


Joined: 18 Apr 2013
Posts: 8

PostPosted: Mon Feb 08, 2016 12:44 pm    Post subject: P-Charge-Info Reply with quote

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


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Tue Feb 09, 2016 2:05 am    Post subject: Reply with quote

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
View user's profile
promero
Brekeke Junior Member


Joined: 18 Apr 2013
Posts: 8

PostPosted: Tue Feb 09, 2016 11:47 am    Post subject: Reply with quote

Sip received packet.
Thanks
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Tue Feb 09, 2016 12:04 pm    Post subject: Reply with quote

which header of sip packet is it?
Back to top
View user's profile
promero
Brekeke Junior Member


Joined: 18 Apr 2013
Posts: 8

PostPosted: Wed Feb 10, 2016 1:13 pm    Post subject: Reply with quote

invite
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed Feb 10, 2016 1:41 pm    Post subject: Reply with quote

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
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