[SR-Users] 403 Forbidden

Pejic, Miroslav miroslav.pejic at cloud.timenet.it
Thu Jun 13 22:45:02 CEST 2019


Hi :)


I'm trying to save a failed call in the kamailio_router.acc_cdrs database

after sending the 403 Forbidden by router, using the module acc, if is it
possible?


https://www.kamailio.org/docs/modules/5.2.x/modules/acc.html


Something like this:


route[IS_CALLER_BLACKLISTED] {


  python_exec("check_caller_blacklisted");


  if ($var(callerBlacklisted) == 1){


     t_send_reply("403", "Forbidden");


  IT’S POSSIBLE HERE SAVE A CALL ON KAMAILIO_ROUTER.ACC_CDRS?



  exit;

  }


Thanks in advance!

Miro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190613/9ce9b59b/attachment.html>


More information about the sr-users mailing list