[asterisk-dev] Channel dialed number

Mark Michelson mmichelson at digium.com
Wed Feb 10 12:21:46 CST 2010


Dave Brody wrote:
> I need to get the dialed number from a channel that has been passed to an
> application.  In specific we are writing a custom fax application.  We get
> passed the channel, but not sure where there dialed number is found.
> 
> Dave Brody
> 
> 

Try looking at the channel's cid.cid_dnid field. That will likely have what you 
want.

Mark Michelson



More information about the asterisk-dev mailing list