Hi all !
I use CDRTool for accounting with radiusclient 0.4.3 librairy and freeradius 1.0.2.
For Start and Stop status code, I have no problem, I have the CDRs on MySQL Database.
But when I want to have MISSED CALL, I have an error on freeradius !
Error : Mon Mar 21 17:10:53 2005 : Error: rlm_radutmp: NAS localhost port 5060 unknown packet type 15) Mon Mar 21 17:10:53 2005 : Info: rlm_sql (sql): Unsupported Acct-Status-Type = 15
Does someone know how to solve this problem??
Is it in the SQL.CONF ??
Thanks a lot
Vos Solutions Voix-Data !
Nicolas Ruiz Service Technique Ligne directe : + 33 (0) 1 56 38 39 71 Fax :+ 33 (0) 1 47 24 74 77 nruiz@vivaction.com Immeuble Plein Ouest 177 av. Georges Clemenceau 92024 Nanterre - France Tel : 0 811 02 6000 www.vivaction.com
____________________________________________________________________________ ____________________________________________ This e-mail and the information it contains are confidential and legally protected by law. Only access by the intended recipient is authorized. Review, distribution,reproduction, publication or other use of this e-mail is prohibited. Cet e-mail et les informations qu'il contient sont confidentiels et protégés par la loi. L'accès à ce message n'est autorisé qu'au destinataire de celui-ci. Toute modification,distribution, reproduction, publication, ou autre utilisation de cet e-mail est formellement interdite.
Can you send me the changes that needs to be done in global.inc to get CDRTOLL working .. I tried all combinations but was unsuccessful.
Thanks
Deepak Singhal
_____
From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Nicolas Ruiz Sent: Monday, March 21, 2005 10:19 PM To: serusers@lists.iptel.org Subject: [Serusers] SER 0.8.14 + Radius ACCOUNTING problems
Hi all !
I use CDRTool for accounting with radiusclient 0.4.3 librairy and freeradius 1.0.2.
For Start and Stop status code, I have no problem, I have the CDRs on MySQL Database.
But when I want to have MISSED CALL, I have an error on freeradius !
Error :
Mon Mar 21 17:10:53 2005 : Error: rlm_radutmp: NAS localhost port 5060 unknown packet type 15) Mon Mar 21 17:10:53 2005 : Info: rlm_sql (sql): Unsupported Acct-Status-Type = 15
Does someone know how to solve this problem??
Is it in the SQL.CONF ??
Thanks a lot
Vos Solutions Voix-Data !
Nicolas Ruiz Service Technique Ligne directe : + 33 (0) 1 56 38 39 71 Fax :+ 33 (0) 1 47 24 74 77 mailto:nruiz@vivaction.com nruiz@vivaction.com
Immeuble Plein Ouest 177 av. Georges Clemenceau 92024 Nanterre - France Tel : 0 811 02 6000 http://www.vivaction.com/ www.vivaction.com
____________________________________________________________________________ ____________________________________________ This e-mail and the information it contains are confidential and legally protected by law. Only access by the intended recipient is authorized. Review, distribution,reproduction, publication or other use of this e-mail is prohibited. Cet e-mail et les informations qu'il contient sont confidentiels et protégés par la loi. L'accès à ce message n'est autorisé qu'au destinataire de celui-ci. Toute modification,distribution, reproduction, publication, ou autre utilisation de cet e-mail est formellement interdite.
Hi all,
I have write a command as
if (uri=~"^sip:0") { strip(1); prefix("02134"); forward(xx.xx.xx.xx); break; }
I find it only prefix the invite URI but the to field is not add prefix. The peer PSTN gateway need both URI and to field has the same value. how to add a prefix in to field?
Jiangzhou Best Regards ------------------------------------------------- Phone: 021-54591867 Email: zjiang@sipod.com WWW : www.sipod.com ------------------------------------------------
Hi Jiang,
prefix() operates only on RURI. You shouldn't change TO hdr since you may break transaction matching. Note that according to RFC 3261 the SIP routing is never done based on TO uri, so your gateway must look only to RURI and not to TO header. Better report the bug to the GW vendor.
Best regards, Marian
Jiang zhou wrote:
Hi all,
I have write a command as
if (uri=~"^sip:0") { strip(1); prefix("02134"); forward(xx.xx.xx.xx); break; } I find it only prefix the invite URI but the to field is not add prefix. The peer PSTN gateway need both URI and to field has the same value. how to add a prefix in to field?
Jiangzhou Best Regards
Phone: 021-54591867 Email: zjiang@sipod.com WWW : www.sipod.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi,all
I have a record route problem:
sip client===>ser====>(pstn)gateway
invite: client---->ser---->gw ring and 200ok : gw--->ser--->client ack : client--------------->gw
I use forward command forward pstn call to gateway. if (uri=~"^sip:9817") { rewritehost("xxx.xxx.xxx.xxx"); forward(xxx.xxx.xxx.xxx,5060); break; }
There is no record-route field in the 200ok packet. So client forward to gw directly. But when sip client call each other ser insert record-route field. Can someone tell me how to config forward command with record-route supported?
Jiangzhou Best Regards
This should fix that:
route {
# sanity checks
if (method!="REGISTER") record_route();
# all other processing }
Regards, Paul
On Wed, 23 Mar 2005 13:15:40 +0800, Jiang zhou zjiang@sipod.com wrote:
Hi,all
I have a record route problem:
sip client===>ser====>(pstn)gateway
invite: client---->ser---->gw ring and 200ok : gw--->ser--->client ack : client--------------->gw
I use forward command forward pstn call to gateway. if (uri=~"^sip:9817") { rewritehost("xxx.xxx.xxx.xxx"); forward(xxx.xxx.xxx.xxx,5060); break; }
There is no record-route field in the 200ok packet. So client forward to gw directly. But when sip client call each other ser insert record-route field. Can someone tell me how to config forward command with record-route supported?
Jiangzhou Best Regards
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers