[OpenSIPS-Users] (no subject)

nguyen khue minhkhue49da at yahoo.com
Fri Sep 30 09:41:41 CEST 2011


Hi Faisal,

I don't sure about your error. But, you can try add some lines into block

if (has_totag()){
if (loose_route()){
//add this lines
if (is_method("ACK")){
if (t_check_trans()){ 
t_relay(); 
 }
}
}
}

Best regards
Khue Nguyen.


________________________________
From: Faisal Rehman <faisal.rehman22 at yahoo.com>
To: nguyen khue <minhkhue49da at yahoo.com>; "users at lists.opensips.org" <users at lists.opensips.org>
Sent: Friday, September 30, 2011 2:01 PM
Subject: Re: [OpenSIPS-Users] (no subject)


Hi Khue,

Please find the necessary configuration that I have done for Load Balancing work, the calls are going and Load balance is also working but the problem is that I am getting much packets of ACK & 200OK, please see the configuration as:

 # the method used is different for invite/register requests
        # unknown methods are rejected here
        if (is_method("INVITE")) {
                if (!load_balance("1","pstn","1")) {
                        send_reply("503","Service Unavailable");
                        exit;
                }
        }
        else if (is_method("REGISTER")) {
                if (!ds_select_dst("1", "0")) {
                        send_reply("503","Service Unavailable");
                        exit;
                }
        }
        else {
                send_reply("405","Method Not Allowed");
                exit;
        }

        # route the request
        if (!t_relay()) {
                sl_reply_error();
        }
}
                                         
 
Warmest Regards,


Faisal Rehman


________________________________
From: nguyen khue <minhkhue49da at yahoo.com>
To: Faisal Rehman <faisal.rehman22 at yahoo.com>; "users at lists.opensips.org" <users at lists.opensips.org>
Sent: Thursday, September 29, 2011 7:56 PM
Subject: Re: [OpenSIPS-Users] (no subject)


Hi Faisal,

Please post your config file.

Best regards,
Khue Nguyen.


________________________________
From: Faisal Rehman <faisal.rehman22 at yahoo.com>
To: "users at lists.opensips.org" <users at lists.opensips.org>
Sent: Thursday, September 29, 2011 8:39 PM
Subject: [OpenSIPS-Users] (no subject)


Hi Everyone,

I am just testing calls from OpenSIPS to Free-Switch but I am facing a problem that too many ACK & 200OK packets are being generated by OpenSIPS, so how can I remove this problem.

 
With Best Regards,


Faisal Rehman

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110930/48b9a4cf/attachment-0001.htm>


More information about the Users mailing list