[OpenSIPS-Users] CDRTool Prepaid Billing configuration question

Satish Patel satish.txt at gmail.com
Mon Aug 18 14:36:29 CEST 2014


Thanks Venkatesh,

I have added users just like you told me, find attached screenshot, but
whenever i dial any SIP number internally i am getting
MaxCallDuration=unlimited and saying you have postpaid account.

I want to setup prepaid between two SIP phone internally so i can test all
scenario, is it possible we can setup with internal SIP or it require
International numbers or PSTN connection?

see logs, between two SIP device

Aug 16 22:40:45 sip cdrtool[16362]: MaxSessionTime Duration=36000
CallId=NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM From=
sip:6000 at sip.example.com Gateway=172.16.0.1 To=sip:7000 at sip.example.com
Aug 16 22:40:45 sip cdrtool[16362]: MaxSessionTime=unlimited Type=prepaid
CallId=NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM BillingParty=
6000 at sip.example.com DestId=None
Aug 16 22:40:45 sip call-control[16421]: Call id
NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM of 6000 at sip.example.com to
sip:7000 at sip.example.com is postpaid not limited
Aug 16 22:40:45 sip /usr/sbin/opensips[17541]: new branch at
sip:7000 at 192.168.1.8:55186;rinstance=03c3ebf44b5b9d52




In google many folks saying you need to setup destination number and rates,
I have tried that i have added destination number of second SIP phone but
still it is saying you have unlimited Maxcallduration.

If i dial any number with 001XXXXXXX i am getting no enough credit in your
prepaid call, i don't know where that coming from..

Aug 16 22:42:18 sip cdrtool[16362]: MaxSessionTime Duration=36000
CallId=NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM From=
sip:6000 at sip.example.com Gateway=172.16.0.1 To=sip:001414141 at sip.example.com
Aug 16 22:42:18 sip cdrtool[16362]: Error: Cannot find rates for
callid=NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM, billing party=
6000 at sip.example.com, customer subscriber=7000 at sip.example.com,
gateway=172.16.0.1, destination=1, profile=My_profile, app=audio
Aug 16 22:42:18 sip cdrtool[16362]: Notice: maxduration of 0 is less then
min_duration (120)
Aug 16 22:42:18 sip call-control[16421]: Call id
NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM of 6000 at sip.example.com to
sip:001414141 at sip.example.com forbidden because credit is too low
Aug 16 22:42:18 sip /usr/sbin/opensips[17540]: Call control: not enough
credit for prepaid call




On Mon, Aug 18, 2014 at 2:03 AM, Venkatesh Macha <linuxvenkey at gmail.com>
wrote:

> Hi Sathish,
>
>                I hope you have CDRTool runnig on your server. you can
> connect it by using *<your_server_ip>/CDRTool*
> you can add prepaid user by using *prepaid* section in CDRTool Web page.
> <
> http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7592939/CDRTool_Menu.png
> >
>
> Then you can add users like this
>
> <
> http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7592939/prepaid_Account.png
> >
>
> here 100 at something.com is your prepaid user and 9.0000 is prepaid User
> Balance.
>
> Venkatesh Macha,
> Junior Voip Engineer,
> Learn Programming <http://sillycodes4u.blogspot.in>
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Prepaid-Billing-configuration-question-tp7592935p7592939.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140818/574df2cf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CDR--prepaid.png
Type: image/png
Size: 20217 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20140818/574df2cf/attachment-0001.png>


More information about the Users mailing list