Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Javascript, Hanguphooks, CDRs and User Variables.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
keithl at voxtelecom.c...
Guest





PostPosted: Mon Mar 30, 2009 5:07 pm    Post subject: [Freeswitch-users] Javascript, Hanguphooks, CDRs and User Va Reply with quote

Hi,

I have an application where my Javascript hanguphook code calculates a value (e.g. the cost of the call which can only be calculated post hangup) and I need to have that value appear as a field in the cdrs.

As the ‘session’ object is no longer available for javascript logic post hangup, I can’t figure out how to ‘set’ a user variable post hangup, such that it can be written to the cdr when the state changes from CS_HANGUP -> CS_REPORTING. Maybe it’s just not possible……? It would be a pity to have to resort to writing out cdrs from the javascript itself and duplicating what fs does so well already.

Any advice / suggestions would be appreciated.

Best Regards

Keith
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services