<div dir="ltr">thanks for your help when i use <div><br></div><div>exten => s,1,NoOp(User chose support option)<br></div><div><div>exten => s,n,Dial(SIP/228, 10)</div><div>exten => s,n,Goto(${DIALSTATUS},1)</div><div>
exten => NOANSWER,1,Goto(call,s,1)</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div style>with no answer i can coto [call] without issue but with answer like below i can't get [call]</div>
<div style><br></div><div style>exten => s,1,NoOp(User chose support option)<br></div><div style><div>exten => s,n,Dial(SIP/228, 10)</div><div>exten => s,n,Goto(${DIALSTATUS},1)</div><div>exten => ANSWER,1,Goto(call,s,1)</div>
<div><br></div><div style>any help please</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/25 A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thursday 25 July 2013, Salaheddine Elharit wrote:<br>
> i have asterisk 1.4 installed and i configure an IVR like below<br>
</div>> ..... stuff deleted .....<br>
<div class="im">> when i call the number 529 i can get the home and when i press 1 i get the<br>
> call when there is no response from my sip/228 i can store the date and<br>
> time in my database<br>
><br>
> but when i handel the call from my sip i can't store the data in my table<br>
><br>
> calldate callerid ext<br>
> 2013-07-25 14:09:20 0661xxxxxx No response<br>
><br>
> my question how can i do in order to store the data in my database with the<br>
> ext = response or no response<br>
<br>
</div>You need to do this from an extension called "h" (which gets run when a call<br>
is hung up), in the same context where the call was placed. You can look at<br>
the variables ${DIALSTATUS} and ${HANGUPCAUSE} to see how the call went.<br>
<br>
--<br>
AJS<br>
<br>
Answers come *after* questions.<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div>