<html><body bgcolor="#FFFFFF"><div>It is not a personal attack. &nbsp;It is a statement about the appearance that your manner of formulating your follow-up creates, intentionally or otherwise.</div><div>&nbsp;</div><div>"Experts" do not like being prodded; and take a critical view of rhetorical manipulation techniques designed to appeal to their baser tendencies (e.g. ego, competition, proving that they can do something). &nbsp;<br><br><div>--</div>Sent from mobile device</div><div><br>On Jul 15, 2009, at 8:20 AM, Zeeshan Zakaria &lt;<a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Alex, no need for personal attacks.<br><br>Zeeshan<br><br><div class="gmail_quote">On Wed, Jul 15, 2009 at 2:23 AM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com"><a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, provided they are inclined to look at your issue. &nbsp;Do not be<br>
presumptuous or self-entitled.<br>
<div class="im"><br>
Zeeshan Zakaria wrote:<br>
<br>
> It should be an easy one for many of the experts here.<br>
><br>
> On Mon, Jul 13, 2009 at 8:10 PM, Zeeshan Zakaria &lt;<a href="mailto:zishanov@gmail.com"><a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a></a><br>
</div><div class="im">> &lt;mailto:<a href="mailto:zishanov@gmail.com"><a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a></a>>> wrote:<br>
><br>
> &nbsp; &nbsp; For a new project, I have written a dialplan and it is pretty<br>
> &nbsp; &nbsp; straight forward: The [dialout] context dials out a number, and h<br>
> &nbsp; &nbsp; extension in this context writes the CDR. But what is happening is<br>
> &nbsp; &nbsp; that if the callee hangs up first, all values in the CDR are fine,<br>
> &nbsp; &nbsp; but if the caller hangs up first, the 'dst' column is always 'h'. I<br>
> &nbsp; &nbsp; put a NoOp right in the begining of this macro to verify it.<br>
><br>
> &nbsp; &nbsp; Any idea why is this happening and how can I have correct 'dst'<br>
> &nbsp; &nbsp; value if the caller hangs up first.<br>
><br>
> &nbsp; &nbsp; [dialout]<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exten => _NXXNXXXXXX,s,1,Dial(SIP/XXXXXX/${EXTEN},30)<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exten => h,1,Macro(hangupcall,${EXTEN},${CDR(accountcode)})<br>
><br>
> &nbsp; &nbsp; [macro-hangupcall]<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NoOp(${CDR(dst)})<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(dialout_num=${ARG1})<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(user_id=${ARG2})<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ResetCDR(vw);<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NoCDR();<br>
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hangup();<br>
><br>
><br>
> &nbsp; &nbsp; --<br>
> &nbsp; &nbsp; Zeeshan A Zakaria<br>
><br>
><br>
><br>
><br>
> --<br>
> Zeeshan A Zakaria<br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div class="im">><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank"><a href="http://www.api-digital.com">http://www.api-digital.com</a></a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> &nbsp; &nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></a><br>
<br>
<br>
</div><font color="#888888">--<br>
Alex Balashov<br>
Evariste Systems<br>
Web &nbsp; &nbsp; : <a href="http://www.evaristesys.com/" target="_blank"><a href="http://www.evaristesys.com/">http://www.evaristesys.com/</a></a><br>
Tel &nbsp; &nbsp; : (+1) (678) 954-0670<br>
Direct &nbsp;: (+1) (678) 954-0671<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank"><a href="http://www.api-digital.com">http://www.api-digital.com</a></a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zeeshan A Zakaria<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --</span><br><span></span><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span> &nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></a></span></div></blockquote></body></html>