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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi!
Many thanks for your help, but it didn't fix it...
----- Original Message ----- From: "Steve Blair" blairs@isc.upenn.edu To: "Sebastian Kühner" skuehner@veraza.com Cc: serusers@lists.iptel.org Sent: Thursday, August 18, 2005 4:46 PM Subject: Re: [Serusers] Cancel
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers