[OpenSIPS-Users] CDRTool e164 cdr_genric.php

Philipp Hoffmann philipp.hoffmann at hns-rechenzentrum.de
Tue May 18 16:14:28 CEST 2010


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<sip%3Auser at domain.de>Gateway=88.77.252.24 To=
sip:+498003301000 at sip.hns-rechenzentrum.de<sip%3A%2B498003301000 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.deto
sip:+498003301000 at sip.hns-rechenzentrum.de<sip%3A%2B498003301000 at sip.hns-rechenzentrum.de>is
postpaid not limited

Any idear?

Thanks,
Philipp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100518/0e3f11c4/attachment.htm 


More information about the Users mailing list