[OpenSIPS-Users] ACK never reach UAS

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Dec 28 13:55:07 CET 2011


Hello,

Your opensips script does not do Record-Routing, so the sequential 
requests (in-dialog requests, like ACK) will not go through opensips, 
but rather directly between UAC and UAS, based on the Contact IPs.

Check on the UAC side, where the ACK request is send to.

Regards,
Bogdan

On 12/28/2011 01:35 AM, M.Abdulaziz wrote:
> Hello All,
>
> I'm doing the follwing scenario:
>
> UAC (192.168.1.65:5097)->opensips
> (192.168.1.65:5060)->UAS(192.168.1.65:5099)
>
> UAS command:
> sipp -sn uas -rsa 192.168.1.65:5060 -i 192.168.1.65 -p 5099
>
> UAC command:
> sipp -sn uac -s uas_user 192.168.1.65:5060 -i 192.168.1.65 -p 5097
>
> Note: uas_usr is already registred in UAS's domain 192.168.1.65:5099
>
> Everything goes fine but ACK requests from UAC
> http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7131340/03.png
> 03.png  never reaches UAS
> http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7131340/52.png
> 52.png  which produces dead calls(I attached a screen shot of the scenario)
>
>
> Can anyone kindly help how to handle this problem ASAP?
>
> Thank you in advance,
>
> Here is my opensips.cfg
>
> # ----------- global configuration parameters ------------------------
>
> debug=6            # debug level (cmd line: -dddddddddd)
> fork=yes
> log_stderror=yes    # (cmd line: -E)
> children=32
> log_facility=LOG_LOCAL0
> log_name="OPENSIPS-proxy"
> disable_tcp=yes
> disable_dns_blacklist=yes
> disable_dns_failover=yes
>
>
>
> listen=udp:192.168.1.65:5060
>
> # ------------------ module loading ----------------------------------
> mpath="/usr/local/lib64/opensips/modules/"
>
> loadmodule "tm.so"
> loadmodule "sl.so"
> loadmodule "textops.so"
> loadmodule "statistics.so"
> loadmodule "db_mysql.so"
> loadmodule "dialog.so"
> loadmodule "mi_fifo.so"
> loadmodule "usrloc.so"
> loadmodule "signaling.so"
> loadmodule "maxfwd.so"
> loadmodule "rr.so"
> loadmodule "registrar.so"
>
>
> modparam("tm", "wt_timer", 2)
> modparam("statistics","variable","INVs")
> modparam("statistics","variable","nonINVs")
> modparam("usrloc", "db_mode",2)
> modparam("usrloc",
> "db_url","mysql://opensips:opensipsrw@localhost/opensips")
> modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
>
>
> # -------------------------  request routing logic -------------------
>
> # main routing logic
>
> route{
>
> if(is_method("INVITE"))
> {
> update_stat("INVs","+1");
>
> }
> else
> update_stat("nonINVs","+1");
>
>
> t_relay();
>
>
> }
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/ACK-never-reach-UAS-tp7131340p7131340.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"




More information about the Users mailing list