<div>Thanks Alex <br>Thats just a test code </div><div><br></div><div>>>exten => _.,1,Answer<br><div>>>exten => _.,n,NoOp(${EXTEN})</div><div><br></div><div>This also have the same output as that of previous.</div>
<div><br></div><div> <br><div class="gmail_quote">On Mon, Nov 23, 2009 at 3:46 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am curious what happens if you do the following instead:<br>
<br>
[abc]<br>
<br>
exten => _.,1,Answer<br>
exten => _.,n,NoOp(${EXTEN})<br>
<div class="im"><br>
ABBAS SHAKEEL wrote:<br>
<br>
> Thanks Alex,<br>
><br>
> suppose this is the context<br>
><br>
> [abc]<br>
> exten => s,1,Answer();<br>
> exten => s,n,Noop(${EXTEN});<br>
> exten => s,n,Noop(${CALLERID(dnid)});<br>
><br>
> I get the following out put<br>
><br>
><br>
> Answer("DAHDI/2-1", "")<br>
> NoOp("DAHDI/2-1", "s") in new stack<br>
> NoOp("DAHDI/2-1", "")<br>
><br>
> But i need the number that the user is dialing not the "s";<br>
><br>
><br>
><br>
><br>
> On Mon, Nov 23, 2009 at 3:24 PM, Alex Balashov<br>
</div><div class="im">> <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a> <mailto:<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>>> wrote:<br>
><br>
> ABBAS SHAKEEL wrote:<br>
><br>
> > I am facing problem while getting the number dialed. if the user is<br>
> > using SIP phone then we can get the number dialed. but if it<br>
> using PSTN<br>
> > then we are unable to get the number dialed using CALLERID(dnid).<br>
> Do any<br>
> > other way exists to find out? Or this is some thing wrong with<br>
> the PSTN.<br>
><br>
> DNID breakage is a long-standing Asterisk problem.<br>
><br>
> If this is taking place in the context of the dial plan, why not just<br>
> use ${EXTEN}?<br>
><br>
> --<br>
> Alex Balashov - Principal<br>
> Evariste Systems<br>
> Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
> Tel : (+1) (678) 954-0670<br>
> Direct : (+1) (678) 954-0671<br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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>
><br>
><br>
><br>
><br>
> --<br>
> Kind Regards<br>
> Shakeel Abbas<br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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>
<br>
<br>
--<br>
Alex Balashov - Principal<br>
Evariste Systems<br>
Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel : (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br></div><div>Kind Regards<br>Shakeel Abbas<br><br>
</div></div>