Re: [OpenSIPS-Users] opensips taking too much time to load

2013-03-28 Thread darin vivekanadan
Thank you for you help and hint. Indeed domain name was the problem and culprit for the delays. When I replace the domains with IP, it just took around 1 sec to reload gateways. In our case we cant get rid of domain names so this is what we did to improve the timings. So any time before executing

[OpenSIPS-Users] BAD ACK Reply

2013-03-28 Thread M.Khaled W Chehab
HI, I fix the ACK reply using the below code for topology hiding scenario and setting an ACK timeout if (is_method("ACK")){ $avp(timeout2) = 3540; } if(match_dialog()) { xlog("L_INFO", "< in-dialog topology hiding re

Re: [OpenSIPS-Users] Permission Module Problem

2013-03-28 Thread M.Khaled W Chehab
Hi, I use to add if (!(is_method("REGISTER") || is_from_gw()) || is_method("INVITE")) {and it works as I try to set it as if (!(is_method("REGISTER") )) { $avp(ip) = $si; $avp(port) = 5060; $avp(proto) = $proto;

[OpenSIPS-Users] Permission Module Problem

2013-03-28 Thread M.Khaled W Chehab
Hi, I have a problem when I include the same IP address in dr_gateways (do_routing ) and in address table (permission module) In other words I have a problem when the IP address exists as provider and as client The below function is not recognizing the IP address when it exists as provi

[OpenSIPS-Users] Change acc message on call failure

2013-03-28 Thread Brett Nemeroff
Hey All, I'm routing a call using a failure_route and serial attempts. Under certain conditions, I'd like to customize the failure code written to the acc table with something like: acc_db_request("503 Special Failure"); But when I'm doing this, I'm getting two acc entries. One for the last faile