[asterisk-dev] extra DAHDI dial options [was: Re: [svn-commits] rmudgett: trunk r228691 - in /trunk: ./ channels/]
Tilghman Lesher
tlesher at digium.com
Sun Nov 8 01:51:28 CST 2009
On Saturday 07 November 2009 16:46:52 Tzafrir Cohen wrote:
> On Sun, Nov 08, 2009 at 07:02:36AM +0900, Kevin P. Fleming wrote:
> > Tzafrir Cohen wrote:
> > > It is actually:
> > >
> > > DAHDI/[gGrR]<num>[<chan_opts>][/<extension>][/<options>]
> > >
> > > In <chan_opts> we have:
> > >
> > > c: Confirm answer
> > > d: If this is an ISDN call, make it digital
> > > r[1-8]: Use the specified ring cadense
> > >
> > > Sadly, both 'c' and 'd' are DTMF digits, and thus can't safely get
> > > added to <options>.
> >
> > Why not? There is an explicit separator between the extension string and
> > the options.
>
> How should the following be parsed?
>
> Dial(DAHDI/3/c)
This should be sending the DTMF digit 'C' as the extension. Compare this to
Dial(DAHDI/3c/${EXTEN}), which sets channel option 'c' on channel number 3,
but sends ${EXTEN} as the extension.
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list