• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-dev] Adding callid to a voicemail INSERT database

 
   AsteriskGuru Archives Forum Index -> Asterisk-Dev
View previous topic :: View next topic  
Author Message
knaplas at gmail.com
Guest





PostPosted: Fri May 29, 2009 1:32 pm    Post subject: [asterisk-dev] Adding callid to a voicemail INSERT database

Hi! I've searched through several forums but I haven't been able to find an solution to my problem.

I've installed an Asterisk server with Voicemail service and I'm trying to add one field in the INSERT query launched when a new voice mail message is stored. This field is the "callid" and I would like to have it in a database for accounting purposes.
I think I've found where the new message query appears in app_voicemail.c (store_file function) but don't know how to pass the callid variable, which appears in chan_sip.c (pbx_builtin_setvar_helper(tmp, "SIPCALLID", i->callid);), to the INSERT query.

Sorry for my bad English and thank you very much for you attention.

Josep Canadell
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Dev All times are GMT
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
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™