[Serusers] Cancel

Steve Blair blairs at isc.upenn.edu
Thu Aug 18 21:46:00 CEST 2005


Yes and the following code fragment placed within if (uri=myself) section of
route block 0 fixed my issue.

     # Call Close-Down Section
     if (method == "CANCEL" || method=="ACK") {
         t_relay();
         break;
     };

Sebastian Kühner wrote:

>Hi!
>
>Now I've spent nearly one day on the problem, that ser doesn't stop the
>failover timer on CANCEL. It would be nice to know if anyone of you had the
>same problem once. Could it be the ser.cfg? I'm really stucked and I hope
>that anyone of you can give me a small hint.
>
>I also tried to make changes in the lcr module, but I can't delete the
>gateway entries...
>
>That's the code (on method==CANCEL)
>
>int reset_gw(struct sip_msg* _m, char* _s1, char* _s2)
>{
>  struct usr_avp *avp;
>  int_str val;
>  while (avp = search_first_avp(gw_ap_avp_name_str, addr_port_name, &val)
>   destroy_avp(avp);
>  return 1;
>}
>
>OK, any hints are very welcome!!!
>
>Thanks!!
>
>Sebastian
>
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>




More information about the sr-users mailing list