[asterisk-users] Get the extension dailed
ABBAS SHAKEEL
shakeel.abbas.qau at gmail.com
Mon Nov 23 04:40:54 CST 2009
Thanks Alex,
suppose this is the context
[abc]
exten => s,1,Answer();
exten => s,n,Noop(${EXTEN});
exten => s,n,Noop(${CALLERID(dnid)});
I get the following out put
Answer("DAHDI/2-1", "")
NoOp("DAHDI/2-1", "s") in new stack
NoOp("DAHDI/2-1", "")
But i need the number that the user is dialing not the "s";
On Mon, Nov 23, 2009 at 3:24 PM, Alex Balashov <abalashov at evaristesys.com>wrote:
> ABBAS SHAKEEL wrote:
>
> > I am facing problem while getting the number dialed. if the user is
> > using SIP phone then we can get the number dialed. but if it using PSTN
> > then we are unable to get the number dialed using CALLERID(dnid). Do any
> > other way exists to find out? Or this is some thing wrong with the PSTN.
>
> DNID breakage is a long-standing Asterisk problem.
>
> If this is taking place in the context of the dial plan, why not just
> use ${EXTEN}?
>
> --
> Alex Balashov - Principal
> Evariste Systems
> Web : http://www.evaristesys.com/
> Tel : (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Kind Regards
Shakeel Abbas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091123/6a5b7620/attachment.htm
More information about the asterisk-users
mailing list