You should be able to handle hangups in one of two ways:1) Register a hangup handler in your script or dialplan. This will execute a script on the hangup of the call. 2) Use the Event Socket Layer(ESL) to listen to hangup events and then perform your actions there.
You can find more about these options in the wiki. On Wed, Sep 9, 2009 at 10:16 PM, Ahmed Munir <ahmedmunir...@gmail.com>wrote: > HI, > > I'm newbie in FS, I want to know how to implement h extension of asterisk > to FS. As I listed down below; > > h => > { > NOOP("Call Completed with Carrier ${CARRIER}"); > goto add_cdr|h|1; > }; > > My other question is, which application/function/class is use in mod_perl > to check the channel status? i.e. busy, answer,hangup,ringing,etc. > > > Kindly advice me soon. > > -- > Regards, > > Ahmed Munir > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org