[Freeswitch-users] hanguphook arguments

Christian Damianidis ChristianDamianidis at globalive.com
Wed May 5 08:55:48 PDT 2010


Looking at http://wiki.freeswitch.org/wiki/Example_Hangup_hook

I see there are some default arguments, however I want to pass in my
own.

 

This may be some weak javascript knowledge on my part, but when I do 

 

session.setHangupHook(on_hangup(myparam))

 

It executes the function (obviously as the brackets make it a function
call).

 

Any tips on how to do this, is it possible?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100505/c36155b4/attachment.html 


More information about the FreeSWITCH-users mailing list