thanks for your help when i use exten => s,1,NoOp(User chose support option) exten => s,n,Dial(SIP/228, 10) exten => s,n,Goto(${DIALSTATUS},1) exten => NOANSWER,1,Goto(call,s,1)
with no answer i can coto [call] without issue but with answer like below i can't get [call] exten => s,1,NoOp(User chose support option) exten => s,n,Dial(SIP/228, 10) exten => s,n,Goto(${DIALSTATUS},1) exten => ANSWER,1,Goto(call,s,1) any help please 2013/7/25 A J Stiles <asterisk_l...@earthshod.co.uk> > 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 >
-- _____________________________________________________________________ -- 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