<div dir="ltr"><div><div>Thanks for reply Adrian, <br><br></div>I have one more question, Problem is my customer only want to dial 1<US_PhoneNumber> they don't like 001 idea, Now i want to set up something in asterisk so when i dial 1<US_PhoneNumber> it will automatically append 00 prefix but i don't know how do i configure that part in Opensips.. do you have any example or some kind of document? <br>
<br></div><div>I will appropriate your help <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 7:38 PM, Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class=""><div>On 22 Aug 2014, at 17:24, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>CDRTool driving me crazy... I have setup CDR with Call_control module and now problem is international number.. <br><br></div>My first question how do i configure CDRTool for global word.. I don't just want to use Europe E.164 or US E.164 numbers... I want each and every country number. <br>
</div></div></div></div></div></blockquote><div><br></div></div><div>Those classes just define how people from Europe and US use to dial to "every country number". In Europe people use to dial 00, then country code, then the number. In US is a bit different. </div>
<div class=""><div><br></div><blockquote type="cite"><div dir="ltr"><div><div><div>People saying configure cdr_generic.php file to set E164_class but why i set that class, I want world wide numbers, anybody can dial anywhere.. </div>
</div></div></div></blockquote><div><br></div></div>People told you the right thing, you can dial any number in any country. You just miss understood the meaning of it.</div><div><div class=""><br><blockquote type="cite">
<div dir="ltr"><div><div><div>I want to dial US number and i have configured destination_id = 1 and set same destination in rate table.. I can also test that using telnet to CDR port like following</div></div></div></div>
</blockquote><div><br></div></div><div>If you use European style dialing style, that is the Europe E.164 class, you must use 001 to match US numbers. </div><br><blockquote type="cite"><div class=""><div dir="ltr"><div><div>
<br>ShowPrice From=<a href="mailto:sip%3A3003@sip.com" target="_blank">sip:3003@sip.com</a> To=<a href="mailto:sip%3A11646XXXXXX@sip.com" target="_blank">sip:11646XXXXXX@sip.com</a> Gateway=174.236.4.168 Duration=59<br>
0.0500<br>Increment: 6 s<br>
Min duration: 6 s<br> Duration: 60 s<br> App: audio<br> Destination: 1<br> Customer: subscriber=<a href="mailto:3003@sip.com" target="_blank">3003@sip.com</a><br> Connect: 0.0000<br> StartTime: 2014-08-22 22:07:46<br>
--<br> Span: 1<br> Duration: 60 s<br> ProfileId: sip_profile / weekday<br> RateId: sip_profile / 0-24h<br> Rate: 0.0500 / 60 s<br> Price: 0.0500<br><br><br></div>but when i dial that number i am getting following error from call control, why my DestId=None ?? <br>
<br></div>cdrtool[17524]: MaxSessionTime Duration=36000 CallId=miN0QR-M_WeFgBrC94RpEw..-S From=<a href="mailto:sip%3A3003@sip.com" target="_blank">sip:3003@sip.com</a> Gateway=174.xxx.xxx.xxx To=<a href="mailto:sip%3A11646XXXXXXX@sip.com" target="_blank">sip:11646XXXXXXX@sip.com</a><br>
cdrtool[17524]: MaxSessionTime=unlimited Type=prepaid CallId=miN0QR-M_WeFgBrC94RpEw..-S BillingParty=<a href="mailto:3003@sip.com" target="_blank">3003@sip.com</a> DestId=None<br></div></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
--<br>Adrian<br><br><br></div>
</div>
<br></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>