[SR-Users] Q.850 Reason in CANCEL on Kamailio 3.0

Jeremy McNamara jj at indie.org
Tue Mar 15 04:31:40 CET 2011


I am attempting to add a Reason header with Q.850 result codes.

Unfortunately, this does not work:


if (is_method("CANCEL")) {
      append_hf("Reason: Q.850; cause=16\r\n");
       if (t_check_trans()) {
           t_relay();
       }
       exit;
}



If I have to use 3.1.x, does it support sending Q.850 codes?





Jeremy McNamara



More information about the sr-users mailing list