asterisk genius help required: DTMF

Discussion in 'UK VOIP' started by Mr Man, Sep 9, 2007.

  1. Mr Man

    Mr Man Guest

    Anyone out there know how to do this, or at least some of it please?:

    The plan

    Call comes into asterisk, message played to caller.

    While message is playing another preset number is dialed and DTMF tones
    are sent, preferably the CLI of the orignating call.

    Need to get asterisk 'sendDTMF' working somehow - but i've not had much
    luck so far:

    Any ideas please?

    Mr Man, Sep 9, 2007
    1. Advertisements

  2. Mr Man

    alexd Guest

    So I presume you want something like this:


    but of course you want the Dial() to happen whilst mymessage is playing, and
    then have the two calls joined after the DTMF digits have been sent. To be
    honest I think the above will get you 90% of the way there, without having
    to resort to AGI. Your callers may notice a slight delay whilst it's
    Dial()ing, but you could probably hide that with a bit of MOH trickery.

    One thing the above doesn't take account of is whether or not 12345 is
    available. Is it 100% likely to be available when needed?
    Are you using vanilla Asterisk, or Trixbox or AsteriskNow or ...? If it's
    vanilla Asterisk, I suggest putting NoOp() in every other line, and turning
    up verbosity whilst watching call progress on the Asterisk console.
    alexd, Sep 9, 2007
    1. Advertisements

  3. Mr Man

    Mr Man Guest

    Thanks for that info.

    I've now got what i wanted working.

    s,4,Dial(SIP/[email protected],20,D(wwww**${CALLERIDNUM}**#))

    The above plays a message to the caller then dials a Pager and sends the
    callers number by DTMF, adding ** to the start and end of the number -so
    when it reaches the pager i know it's an automated message coming in in
    this way.


    Mr Man, Sep 9, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.