Nerd Vittles "Asteridex" Robodialler

Discussion in 'UK VOIP' started by Jono, Nov 29, 2005.

  1. Jono

    Jono Guest

    Hello.

    I'm having some trouble with the most recent article @
    http://mundy.org/blog/index.php?p=83

    In particular this bit of code:

    [from-internal-custom]
    exten => _00.,1,SayDigits(${EXTEN:2},) ; extensions dialed with 00 prefix
    get looked up in AsteriDex
    exten => _00.,2,EAGI(asteridex.agi|${EXTEN})
    exten => _00.,3,GotoIf($["${DIAL:0:2}" = "00?]?97)
    exten => _00.,4,NoOp(Number to Dial: ${DIAL})
    exten => _00.,5,NoOp(Person to Dial: ${DUDE})
    exten => _00.,6,AGI(festival-script.pl|Connecting to: ${DUDE}. One moment
    please.)
    exten => _00.,7,Dial(IAX2/${DIAL}@sipdiscount,90,r)
    exten => _00.,8,Hangup()
    exten => _00.,97,Playback(num-not-in-db)
    exten => _00.,98,Playback(goodbye)
    exten => _00.,99,Hangup()

    The article was written with [email protected] 1.5 in mind, I'm using v1.3.

    I've got the webdialler (click to dial) all functioning properly, so I know
    the numbers are stored in the database correctly, however with this part of
    the application, I should be able to dial a short code, preceeded with 00 to
    dial a contact.

    Unfortunately, line 7 above seems to fail. When I dial one of the speed dial
    codes, I hear two or three ringing tones, followed by a continuous tone and
    the call never connects.
     
    Jono, Nov 29, 2005
    #1
    1. Advertisements

  2. Jono

    Ian Guest

    Hi
    what do you get on the * cli when the call fails ? Oh and I thought
    sipiscount was sip not iax.

    Ian
     
    Ian, Nov 30, 2005
    #2
    1. Advertisements

  3. Jono

    Jono Guest

    Ian" <spam"AT wrote:
    || ||| Hello.
    |||
    ||| I'm having some trouble with the most recent article @
    ||| http://mundy.org/blog/index.php?p=83
    |||
    ||| In particular this bit of code:
    |||
    ||| [from-internal-custom]
    ||| exten => _00.,1,SayDigits(${EXTEN:2},) ; extensions dialed with 00
    ||| prefix get looked up in AsteriDex
    ||| exten => _00.,2,EAGI(asteridex.agi|${EXTEN})
    ||| exten => _00.,3,GotoIf($["${DIAL:0:2}" = "00?]?97)
    ||| exten => _00.,4,NoOp(Number to Dial: ${DIAL})
    ||| exten => _00.,5,NoOp(Person to Dial: ${DUDE})
    ||| exten => _00.,6,AGI(festival-script.pl|Connecting to: ${DUDE}. One
    ||| moment please.)
    ||| exten => _00.,7,Dial(IAX2/${DIAL}@sipdiscount,90,r)
    ||| exten => _00.,8,Hangup()
    ||| exten => _00.,97,Playback(num-not-in-db)
    ||| exten => _00.,98,Playback(goodbye)
    ||| exten => _00.,99,Hangup()
    |||
    ||| The article was written with [email protected] 1.5 in mind, I'm using
    ||| v1.3.
    |||
    ||| I've got the webdialler (click to dial) all functioning properly, so
    ||| I know the numbers are stored in the database correctly, however with
    ||| this part of the application, I should be able to dial a short code,
    ||| preceeded with 00 to dial a contact.
    |||
    ||| Unfortunately, line 7 above seems to fail. When I dial one of the
    ||| speed dial codes, I hear two or three ringing tones, followed by a
    ||| continuous tone and the call never connects.
    |||
    || Hi
    || what do you get on the * cli when the call fails ?

    Good question. Do I just log in at the console by entering asterisk -r?


    || Oh and I thought sipiscount was sip not iax.
    ||

    You would've thought so, given its name, however I couldn't get it to work
    successfully over sip, so ended up using iax.voipbuster.com as the
    host............
     
    Jono, Nov 30, 2005
    #3
  4. Jono

    Ian Guest

    nearly "asterisk -vvvvvr" or asterisk -r then "set verbose 5"

    fair enough
     
    Ian, Dec 1, 2005
    #4
    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.