Set custom fields in xml cdr after called leg hangup
Hi All, I need to set some custom tags in called leg xml cdr after its hangup. it can be done by setting channel variables but only before the hangup. I need to add some more details in cdr after call completion. Please let me know if anyone has any solution or came across similar type of requirement. Regards, Shahnawaz
Hello! You can send XML CDR to some processing system via HTTP(s) and change it there. And write file to needed place after that. You can look there for details: https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_cdr#mod_xml_cdr... чт, 19 сент. 2019 г. в 21:42, Shahnawaj Khan <shahnawaj.khan1990@gmail.com>:
Hi All,
I need to set some custom tags in called leg xml cdr after its hangup. it can be done by setting channel variables but only before the hangup. I need to add some more details in cdr after call completion. Please let me know if anyone has any solution or came across similar type of requirement.
Regards, Shahnawaz
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- With best regards Dmitry Borisov
You can set variables after the hang up, but I did this ages ago. Have you looked at https://freeswitch.org/confluence/plugins/servlet/mobile?contentId=16352708#... with it you can continue executing instructions after a hang up. Though I’m not sure whether you can set channel variables. Check it out. Nowadays I just make any addition or changes while posting the mod_xml_cdr to a web server. You’d get the xml cdr and act accordingly. Regards, On Thu, 19 Sep 2019 at 19:40, Shahnawaj Khan <shahnawaj.khan1990@gmail.com> wrote:
Hi All,
I need to set some custom tags in called leg xml cdr after its hangup. it can be done by setting channel variables but only before the hangup. I need to add some more details in cdr after call completion. Please let me know if anyone has any solution or came across similar type of requirement.
Regards, Shahnawaz
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
participants (3)
-
David Villasmil
-
Dmitriy Borisov
-
Shahnawaj Khan