<html><body bgcolor="#FFFFFF"><div>It is not a personal attack. It is a statement about the appearance that your manner of formulating your follow-up creates, intentionally or otherwise.</div><div> </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). <br><br><div>--</div>Sent from mobile device</div><div><br>On Jul 15, 2009, at 8:20 AM, Zeeshan Zakaria <<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"><<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. 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 <<a href="mailto:zishanov@gmail.com"><a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a></a><br>
</div><div class="im">> <mailto:<a href="mailto:zishanov@gmail.com"><a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a></a>>> wrote:<br>
><br>
> For a new project, I have written a dialplan and it is pretty<br>
> straight forward: The [dialout] context dials out a number, and h<br>
> extension in this context writes the CDR. But what is happening is<br>
> that if the callee hangs up first, all values in the CDR are fine,<br>
> but if the caller hangs up first, the 'dst' column is always 'h'. I<br>
> put a NoOp right in the begining of this macro to verify it.<br>
><br>
> Any idea why is this happening and how can I have correct 'dst'<br>
> value if the caller hangs up first.<br>
><br>
> [dialout]<br>
> exten => _NXXNXXXXXX,s,1,Dial(SIP/XXXXXX/${EXTEN},30)<br>
> exten => h,1,Macro(hangupcall,${EXTEN},${CDR(accountcode)})<br>
><br>
> [macro-hangupcall]<br>
> NoOp(${CDR(dst)})<br>
> Set(dialout_num=${ARG1})<br>
> Set(user_id=${ARG2})<br>
> ResetCDR(vw);<br>
> NoCDR();<br>
> Hangup();<br>
><br>
><br>
> --<br>
> 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>
> <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 : <a href="http://www.evaristesys.com/" target="_blank"><a href="http://www.evaristesys.com/">http://www.evaristesys.com/</a></a><br>
Tel : (+1) (678) 954-0670<br>
Direct : (+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>
<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> <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>