On Thursday 25 July 2013, Salaheddine Elharit wrote: > i have asterisk 1.4 installed and i configure an IVR like below > ..... stuff deleted ..... > when i call the number 529 i can get the home and when i press 1 i get the > call when there is no response from my sip/228 i can store the date and > time in my database > > but when i handel the call from my sip i can't store the data in my table > > calldate callerid ext > 2013-07-25 14:09:20 0661xxxxxx No response > > my question how can i do in order to store the data in my database with the > ext = response or no response
You need to do this from an extension called "h" (which gets run when a call is hung up), in the same context where the call was placed. You can look at the variables ${DIALSTATUS} and ${HANGUPCAUSE} to see how the call went. -- AJS Answers come *after* questions. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users