Thanks for reply Adrian,

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?

I will appropriate your help


On Fri, Aug 22, 2014 at 7:38 PM, Adrian Georgescu <[email protected]>
wrote:

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