[asterisk-dev] Channel dialed number

Timm Korte korte-asterisk at easycrypt.de
Wed Feb 10 12:08:57 CST 2010


On 02/10/2010 07:05 PM, 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.

you might want to try the extension field in the ast_channel structure, see
http://www.asterisk.org/doxygen/asterisk1.4/channel_8h-source.html lines 342+, esp. line 402.
(assuming asterisk 1.4)

Timm



More information about the asterisk-dev mailing list