[OpenSIPS-Users] Returning 180

Răzvan Crainea razvan at opensips.org
Tue Jun 5 03:29:56 EDT 2018


Hi, Alexander!

Yes, you can use the sl_send_reply() function[1]. I don't really 
understand why you need the usleep() though.

[1] 
http://www.opensips.org/html/docs/modules/3.0.x/sl.html#func_sl_send_reply

Best regards,
Răzvan

On 06/04/2018 09:32 PM, Alexander Perkins wrote:
> Hi All.  In OpenSIPs, is it possible to reply with a 180 for four 
> seconds (that is usually how long it takes us to find the cell user).  I 
> was thinking it would look something like this-
> 
> sl_send_reply("180");
> usleep("24000");
> 
> Any help is greatly appreciated!
> 
> Thanks,
> Alex
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com



More information about the Users mailing list