On 22 Aug 2014, at 17:24, Satish Patel <[email protected]> wrote:

> CDRTool driving me crazy... I have setup CDR with Call_control module and now 
> problem is international number.. 
> 
> 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. 

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. 

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

People told you the right thing, you can dial any number in any country. You 
just miss understood the meaning of it.

> 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

If you use European style dialing style, that is the Europe E.164 class, you 
must use 001 to match US numbers. 

> 
> ShowPrice             From=sip:[email protected] To=sip:[email protected] 
> Gateway=174.236.4.168 Duration=59
> 0.0500
> Increment: 6 s
>  Min duration: 6 s
>     Duration: 60 s
>          App: audio
>  Destination: 1
>     Customer: [email protected]
>      Connect: 0.0000
>    StartTime: 2014-08-22 22:07:46
> --
>         Span: 1
>     Duration: 60 s
>    ProfileId: sip_profile / weekday
>       RateId: sip_profile / 0-24h
>         Rate: 0.0500 / 60 s
>        Price: 0.0500
> 
> 
> but when i dial that number i am getting following error from call control, 
> why my DestId=None ?? 
> 
> cdrtool[17524]: MaxSessionTime Duration=36000 
> CallId=miN0QR-M_WeFgBrC94RpEw..-S From=sip:[email protected] 
> Gateway=174.xxx.xxx.xxx To=sip:[email protected]
> cdrtool[17524]: MaxSessionTime=unlimited Type=prepaid 
> CallId=miN0QR-M_WeFgBrC94RpEw..-S [email protected] DestId=None
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

--
Adrian



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to