<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><SPAN style="RIGHT: auto">
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks Laszlo, good idea! but it still not working.</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 13px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Now i can see in the cdrtool web portal that the canonical-uri is 9999 (check the attached file, there is a comparison before and after changing the can-uri to 9999) but when the sip user <A href="mailto:samsung@sip.mydomain">samsung@sip.mydomain</A> places the call i still seeing in the syslog:</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Jun 12 11:56:50 sip cdrtool[1304]: MaxSessionTime Duration=7200 CallId=1517185829 From=sip:samsung@sip.mydomain Gateway=82.186.X.X To=sip:ipad@sip.mydomain<BR>Jun 12 11:56:50 sip cdrtool[1304]: <STRONG><FONT color=#ff0000>MaxSessionTime=unlimited</FONT></STRONG> Type=prepaid CallId=1517185829 <A href="mailto:BillingParty=samsung@sip.mydomain">BillingParty=samsung@sip.mydomain</A> <FONT color=#ff0000><STRONG>DestId=None<BR></STRONG></FONT>Jun 12 11:56:50 sip call-control[1985]: Call id 1517185829 of <A href="mailto:samsung@sip.mydomain">samsung@sip.mydomain</A> to sip:ipad@<U><FONT color=#0000ff>sip.mydomainsip</FONT></U> <STRONG><FONT color=#ff0000>is postpaid not limited</FONT></STRONG><BR></div></FONT></SPAN>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>One more thing, with change (can-uri 9999) when the cdrtool does the normalization i see in the syslog:</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Jun 12 11:59:27 sip cdrtool[7012]: Error: cannot find destinations for <A href="mailto:subscriber='samsung@sip.mydomain'">subscriber='samsung@sip.mydomain'</A>, domain ='', gateway='', reseller='0'<BR>Jun 12 11:59:27 sip cdrtool[7012]: Error: cannot find destination id for 9999 of customer = '', total destinations = 0</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Do i configuring something wrong in the cdrtool web portal -> Rating -> Destinations?</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Is is normal to have domain=''? shouldn't be sip.mydomain?</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Thanks a lot for your help,</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 2px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Leo.</FONT></SPAN></div>
<div style="RIGHT: auto"><VAR id=yui-ie-cursor></VAR><BR style="RIGHT: auto" class=yui-cursor></SPAN></div>
<div><BR></div>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">Da:</SPAN></B> Laszlo <voipfreak.net@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B> Leonardo Uzcudun <uzcudunl@yahoo.it>; OpenSIPS users mailling list <users@lists.opensips.org> <BR><B><SPAN style="FONT-WEIGHT: bold">Inviato:</SPAN></B> Martedì 11 Giugno 2013 18:26<BR><B><SPAN style="FONT-WEIGHT: bold">Oggetto:</SPAN></B> Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<BR></FONT></DIV>
<DIV class=y_msg_container><BR>
<DIV id=yiv4723692461>
<div>what happens if you manually set $avp(can_uri) to a fixed value? like to 9999, and define this destination in cdrtool?</div>
<DIV class=yiv4723692461gmail_quote>2013.06.11. 18:08, "Leonardo Uzcudun" <<A href="mailto:uzcudunl@yahoo.it" rel=nofollow target=_blank ymailto="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</A>> ezt írta:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=yiv4723692461gmail_quote>
<DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV>Did it but still not working. I'm still receiving Maxsessiontime=unlimited and DetsId=none :(</DIV>
<DIV><BR></DIV>
<DIV>Is there any "default destination" (like a default gateway)? So no matched destination will use the "default destination" with an X price/rate/profile?<BR></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><BR></DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT face=Arial><B><SPAN style="FONT-WEIGHT: bold">Da:</SPAN></B> Adrian Georgescu <<A href="mailto:ag@ag-projects.com" rel=nofollow target=_blank ymailto="mailto:ag@ag-projects.com">ag@ag-projects.com</A>><BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B> OpenSIPS users mailling list <<A href="mailto:users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:users@lists.opensips.org">users@lists.opensips.org</A>> <BR><B><SPAN style="FONT-WEIGHT: bold">Inviato:</SPAN></B> Martedì 11 Giugno 2013 17:18<BR><B><SPAN style="FONT-WEIGHT: bold">Oggetto:</SPAN></B> Re: [OpenSIPS-Users] CDRTool - Callcontrol -
Prepaid<BR></FONT></DIV>
<DIV><BR>
<DIV>
<DIV>
<DIV>You need to add pricing info in the other billing tables too.</DIV>
<DIV><BR></DIV>
<DIV>Adrian</DIV><BR>
<DIV>
<DIV>On Jun 11, 2013, at 3:24 PM, Leonardo Uzcudun wrote:</DIV><BR>
<BLOCKQUOTE type="cite">
<DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">Thanks again Adrian.<BR>You mean to insert in destinations (CDRtool web portal -> Rating -> Destinations) the <A href="mailto:user02@example.com" rel=nofollow target=_blank ymailto="mailto:user02@example.com">user02@example.com</A> in the destination field?<BR>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT face=Arial><B><SPAN style="FONT-WEIGHT: bold">Da:</SPAN></B> Adrian Georgescu <<A href="mailto:ag@ag-projects.com" rel=nofollow target=_blank ymailto="mailto:ag@ag-projects.com">ag@ag-projects.com</A>><BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B> OpenSIPS users mailling list <<A href="mailto:users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:users@lists.opensips.org">users@lists.opensips.org</A>> <BR><B><SPAN style="FONT-WEIGHT: bold">Inviato:</SPAN></B> Martedì 11 Giugno 2013 14:32<BR><B><SPAN style="FONT-WEIGHT: bold">Oggetto:</SPAN></B> Re: [OpenSIPS-Users] CDRTool - Callcontrol -
Prepaid<BR></FONT></DIV>
<DIV><BR>
<DIV>
<DIV>Never tried it myself for prepaid but you can setup SIP URIs as valid destinations too and put a price on them.
<DIV><BR></DIV>
<DIV>Adrian<BR>
<DIV><BR>
<DIV>
<DIV>On Jun 11, 2013, at 12:29 PM, Leonardo Uzcudun wrote:</DIV><BR>
<BLOCKQUOTE type="cite">
<DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">I guess this confirm why i can't use prepaid for calls between sip users..., do you confirm it?<BR>Thanks.
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT face=Arial><B><SPAN style="FONT-WEIGHT: bold">Da:</SPAN></B> Adrian Georgescu <<A href="mailto:ag@ag-projects.com" rel=nofollow target=_blank ymailto="mailto:ag@ag-projects.com">ag@ag-projects.com</A>><BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B> OpenSIPS users mailling list <<A href="mailto:users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:users@lists.opensips.org">users@lists.opensips.org</A>> <BR><B><SPAN style="FONT-WEIGHT: bold">Inviato:</SPAN></B> Martedì 11 Giugno 2013 11:57<BR><B><SPAN style="FONT-WEIGHT: bold">Oggetto:</SPAN></B> Re: [OpenSIPS-Users] CDRTool - Callcontrol -
Prepaid<BR></FONT></DIV>
<DIV><BR>
<DIV>
<DIV>The prepaid engine was designed for PSTN destinations using phone numbers only.
<DIV><BR></DIV>
<DIV>Adrian</DIV>
<DIV><BR>
<DIV>
<DIV>On 11 Jun 2013, at 11:49, Leonardo Uzcudun <<A href="mailto:uzcudunl@yahoo.it" rel=nofollow target=_blank ymailto="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</A>> wrote:</DIV><BR>
<BLOCKQUOTE type="cite">
<DIV style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; WORD-SPACING: 0px">
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">Hello Adrian:<BR><BR>From the following site (<A href="http://callcontrol.ag-projects.com/issues/1769#change-8449" rel=nofollow target=_blank>http://callcontrol.ag-projects.com/issues/1769#change-8449</A>) i've found that you say "All internals of CDRTool rely on the fact that there is a normalized URI in the form of 00 + Country Code + Number."<BR>So, my question or doubt is:<BR>If there are 2 sip users within the same domain like<SPAN> </SPAN><A href="mailto:user01@example.com" rel=nofollow target=_blank ymailto="mailto:user01@example.com">user01@example.com</A><SPAN> </SPAN>and<SPAN> </SPAN><A href="mailto:user02@example.com" rel=nofollow target=_blank ymailto="mailto:user02@example.com">user02@example.com</A>, can i implement prepaid billing between them or the prepaid will only work if they call to 00 + Country Code + Number sip accounts?<BR>Thanks,<BR><BR>Leo
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT face=Arial><B><SPAN style="FONT-WEIGHT: bold">Da:</SPAN></B><SPAN> </SPAN>Adrian Georgescu <<A href="mailto:ag@ag-projects.com" rel=nofollow target=_blank ymailto="mailto:ag@ag-projects.com">ag@ag-projects.com</A>><BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B><SPAN> </SPAN>OpenSIPS users mailling list <<A href="mailto:users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:users@lists.opensips.org">users@lists.opensips.org</A>><SPAN> </SPAN><BR><B><SPAN style="FONT-WEIGHT: bold">Inviato:</SPAN></B><SPAN> </SPAN>Lunedì 10 Giugno 2013 21:39<BR><B><SPAN style="FONT-WEIGHT:
bold">Oggetto:</SPAN></B><SPAN> </SPAN>Re: [OpenSIPS-Users] CDRTool - Callcontrol - Prepaid<BR></FONT></DIV>
<DIV><BR>
<DIV>There is Rating.txt document that contain sample rates files and examples of prepaid queries in the console that shows you how it works.
<DIV><BR></DIV>
<DIV>Adrian</DIV>
<DIV><BR>
<DIV><BR>
<DIV>
<DIV>On Jun 10, 2013, at 9:30 PM, Leonardo Uzcudun wrote:</DIV><BR>
<BLOCKQUOTE type="cite">
<DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV><SPAN>Hello All:<BR></SPAN></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><SPAN><BR></SPAN></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><SPAN>After doing more tests i guess the problem is the missing DestId</SPAN></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><SPAN>cdrtool log:</SPAN></DIV>Jun 8 02:51:12 sip cdrtool[13359]: MaxSessionTime=unlimited Type=prepaid CallId=1226626922 BillingParty=user01@mydomain<SPAN> </SPAN><SPAN style="FONT-WEIGHT: bold">DestId=None</SPAN><BR><BR><SPAN>and considering the rating.txt doc point<SPAN> </SPAN></SPAN>3. Determination of the costs -> No rate will be returned if no 'destination id' is found<SPAN>.</SPAN>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><BR><SPAN></SPAN></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><SPAN>So, now my question is: If the Destination (cdrtool web portal -> Rating -> Destinations) must be a number (like 31 for the Netherlands), how will i match destination to mydomain?<BR></SPAN></DIV>
<DIV style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 13px"><SPAN><BR></SPAN></DIV>Thanks,<BR><BR>Leo.
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-SIZE: 12pt">
<DIV dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT face=Arial><B><SPAN style="FONT-WEIGHT: bold">Da:</SPAN></B><SPAN> </SPAN>leo <<A href="mailto:uzcudunl@yahoo.it" rel=nofollow target=_blank ymailto="mailto:uzcudunl@yahoo.it">uzcudunl@yahoo.it</A>><BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B><SPAN> </SPAN><A href="mailto:users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:users@lists.opensips.org">users@lists.opensips.org</A><SPAN> </SPAN><BR><B><SPAN style="FONT-WEIGHT: bold">Inviato:</SPAN></B><SPAN> </SPAN>Venerdì 7 Giugno 2013 9:38<BR><B><SPAN style="FONT-WEIGHT: bold">Oggetto:</SPAN></B><SPAN> </SPAN>[OpenSIPS-Users]
CDRTool - Callcontrol - Prepaid<BR></FONT></DIV>
<DIV><BR>Hello:<BR><BR>I need some help to understand the CDRTool - Callcontrol - Prepaid, all the<BR>efforts i could do reading, searching and testing to try to understand how<BR>it works were unsuccessful.<BR><BR>My set-up would be very simple, I would like to give credit (in seconds) to<BR>the users and after the call is ended the call duration time should be<BR>subtracted to its balance.<BR><BR>My first concern is how do i map a user in the opensips.subscriber<BR>(DB.table) to the prepaid billing?<BR>The second one would be, how would i configure the rating/quota/prepaid to<BR>have my set-up?<BR><BR>Thanks for your help.<BR><BR>Leo.<BR><BR><BR><BR>--<BR>View this message in context:<SPAN> </SPAN><A href="http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Callcontrol-Prepaid-tp7586750.html" rel=nofollow target=_blank>http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-Callcontrol-Prepaid-tp7586750.html</A><BR>Sent from the
OpenSIPS - Users mailing list archive at<SPAN> </SPAN><A href="http://nabble.com/" rel=nofollow target=_blank>Nabble.com</A>.<BR><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR></DIV></DIV></DIV></DIV></DIV>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR></DIV></DIV></DIV></DIV>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR></DIV></DIV></DIV></DIV></DIV>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR></DIV></DIV></DIV></DIV></DIV>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR></DIV></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opensips.org" rel=nofollow target=_blank ymailto="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=nofollow
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR></BLOCKQUOTE></DIV></DIV><BR><BR></DIV></DIV></DIV></div></body></html>