Try to explain a little bit better what add_cdr does right here. Unlike Asterisk, FreeSWITCH do have lots on information on CDR and it feels like you are trying to do things on the wrong place.
If you want to understand where I am going with this, take a look at this example XML CDR that can be posted by FreeSWITCH to a webserver at the end of a call: http://wiki.freeswitch.org/wiki/Example_XML_cdr
Also you might want to check this referece here: http://wiki.freeswitch.org/wiki/Mod_xml_cdr
jmesquita
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 <ahmedmunir007@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