Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-27 Thread Will Ferrer
Hi. I wanted to update every one on this issue. I found that while the dlg start time: $dlg(start_ts), DLG_lifetime: $DLG_lifetime aren't populating I can still use the following to record the start time of the call as a dialog variable: $dlg_var(TVs) = $TV(s); A strange problem with this

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-22 Thread Will Ferrer
Hi Abdul I just wanted to check int. Did you have any ideas of things we could try or more information we could get you to assistance? Thanks again for your help, the input we have gotten from you and Daniel has always been invaluable. All the best. Will Ferrer Switchsoft On Fri, Jan 16, 2015

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-16 Thread Abdul Gafar
*Hi Will,Thanks for sharing very useful information.* *//Gafar* On Fri, Jan 16, 2015 at 12:48 PM, Will Ferrer will.fer...@switchsoft.com wrote: Hi Daniel Thanks so much for the response and help as always. I tried changing my config to use loose route. It looks like this now:

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-16 Thread Will Ferrer
Hi Adbul Thanks, I am glad the information is useful. Do you have any thoughts on what I could I try next to get that $dlg(start_ts) value populated in the dialog as it is still not working about adding the loose_route() function? I also tried looking at the logs for any reference to dialog --

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-16 Thread Abdul Gafar
Hi Wiil I will be try help you //Gafar On Sat, Jan 17, 2015 at 4:43 AM, Will Ferrer will.fer...@switchsoft.com wrote: Hi Adbul Thanks, I am glad the information is useful. Do you have any thoughts on what I could I try next to get that $dlg(start_ts) value populated in the dialog as it

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-16 Thread Will Ferrer
Hi Abdul That's great. I look forward to the advice. Thanks again for the assistance and I hope you have a great weekend. All the best. Will On Fri, Jan 16, 2015 at 6:44 PM, Abdul Gafar abdul.gafar@gmail.com wrote: Hi Wiil I will be try help you //Gafar On Sat, Jan 17, 2015 at

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-15 Thread Will Ferrer
Hi Daniel Thanks so much for the response and help as always. I tried changing my config to use loose route. It looks like this now: loadmodule dialog.so ... modparam(dialog, db_url, DBURL) modparam(dialog, db_mode, 1) modparam(dialog, dlg_flag, 4) modparam(dialog, dlg_match_mode, 1) ...

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-15 Thread Daniel-Constantin Mierla
Hello, try to do dlg_manage() or lose_route() before accessing the dialog variables. Cheers, Daniel On 15/01/15 08:25, Will Ferrer wrote: An update on this. I tried setting my dialog module to the use the db. No db entry is ever made. My config looks like this now: loadmodule dialog.so

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-14 Thread Will Ferrer
An update on this. I tried setting my dialog module to the use the db. No db entry is ever made. My config looks like this now: loadmodule dialog.so ... modparam(dialog, db_url, DBURL) modparam(dialog, db_mode, 1) modparam(dialog, dlg_flag, 4) modparam(dialog, dlg_match_mode, 1) ...

[SR-Users] Trouble getting start time / call duration from dialog module

2015-01-14 Thread Will Ferrer
Hi All I am in need of being able to see what the duration of the call was at the time of hang out. I tried turning on the dialog module, but the result is that the values I need are either null or always show as zero. I tried to follow the suggestions in the thread about this here: