[SR-Users] Inserting a message into a transaction?

Daniel Tryba d.tryba at pocos.nl
Tue Feb 20 18:24:13 CET 2018


On Tue, Feb 20, 2018 at 05:41:49PM +0100, Emmanuel BUU wrote:
> sl_send_reply("180", "Make this retarded endpoint ring");

Well, this is embarrassing :)

This is so obvious that I didn't even try. I was under the impression
that a send_reply in on_reply would send to the source of the reply.

onreply_route[MANAGE_REPLY] {
        if(status=="183")
        {
                send_reply("180","Ringing.");
        }
		...

Does the job. 

Thank you very much Emmanuel.




More information about the sr-users mailing list