[OpenSIPS-Users] CDRTool e164 cdr_genric.php

Adrian Georgescu ag at ag-projects.com
Tue May 18 17:15:23 CEST 2010


Your setup must be done in  a different place, you must set OpenSIPS configuration to send 00+ Country Code format to the call control, if this is correctly set you must have To:sip:00.... in syslog.

Adrian

On May 18, 2010, at 4:14 PM, Philipp Hoffmann wrote:

> Hi,
> 
> we wan't dial numbers with + , so I edited our cdr_generic.php:
> 
> ...
>     var $intAccessCode       = '+';
>     var $natAccessCode       = '0';
> 
> ...
> 
>     function E164_Europe ($intAccessCode='+', $natAccessCode='0',$CountryCode='',$ENUMtldRegexp="([1-9][0-9]{7,})") {
>         $this->regexp_international = "/^".$intAccessCode."([1-9][0-9]{5,})\$/";
>         $this->regexp_national      = "/^".$natAccessCode."([1-9][0-9]{3,})\$/";
> ...
> 
> But I always recive:
> 
> MaxSessionTime Duration=36000 CallId=2e3630ab25ed952c7c0eb226657b2c5f at domain.de From=sip:user at domain.de Gateway=88.77.252.24 To=sip:+498003301000 at sip.hns-rechenzentrum.de
> 
> May 18 16:09:29 ser1 call-control[13980]: Call id 2e3630ab25ed952c7c0eb226657b2c5f at domain.de of hns01 at sip.hns-rechenzentrum.de to sip:+498003301000 at sip.hns-rechenzentrum.de is postpaid not limited
> 
> Any idear?
> 
> Thanks,
> Philipp
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100518/c46793e7/attachment-0001.htm 


More information about the Users mailing list