Re: [OpenSIPS-Users] Script execution hanging

2016-03-18 Thread Koce
Hi Liviu, I think that it was me that made that happen. Backtracking my steps what I did was first I call sl_send_reply("100", "-Trying-") because I don't know for how long I'm going to talk to the http server. Second from route(PSTN) I call route(CGR_LCR_REQ) which in turn calls route(CGR_LCR

Re: [OpenSIPS-Users] Script execution hanging

2016-03-16 Thread Liviu Chircu
Hi Koce, Does the first async rest_post() finish successfully by having its resume route run? Could you please add some xlog() debugging prints, so we can better understand where it gets stuck exactly? Also, do you notice this behaviour with any HTTP server (100% reproducible), or is it a ti

[OpenSIPS-Users] Script execution hanging

2016-03-14 Thread Koce
Hello I'm using Opensips 2.1 git version and when I try to execute the outline from the routing logic below I get Opensips hanging on route(CGR_LCR_REQ) when it finishes executing.What I'm trying to say is it hangs on that particular line as it is expecting something. So I'm wondering if I need