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:[email protected] Gateway=172.16.0.1 To=sip:[email protected]
Aug 16 22:40:45 sip cdrtool[16362]: MaxSessionTime=unlimited Type=prepaid
CallId=NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM BillingParty=
[email protected] DestId=None
Aug 16 22:40:45 sip call-control[16421]: Call id
NDlkMjBlYzBiMjgzMjQzMGYxY2EyNjgzY2VkMGFmZmM of [email protected] to
sip:[email protected] is postpaid not limited
Aug 16 22:40:45 sip /usr/sbin/opensips[17541]: new branch at
sip:[email protected]: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:[email protected] Gateway=172.16.0.1 To=sip:[email protected]
Aug 16 22:42:18 sip cdrtool[16362]: Error: Cannot find rates for
callid=NmM5MGJmMmM0ZmFiMjEwZTliYWMwNWE4MzFhMWI0YjM, billing party=
[email protected], customer [email protected],
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 [email protected] to
sip:[email protected] 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 <[email protected]>
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 [email protected] 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to