outgoing calls

Discussion in 'General' started by pjeronimo, Jul 12, 2008.

  1. pjeronimo

    Joined:
    Dec 29, 2007
    Messages:
    20
    Likes Received:
    0
    when making outgoing calls if the number doesn't exist or the sip trunks aren't registered or all lines are busy, I get a prompt from asterisk saying all lines are busy. is there a way to differentiate the type of problem in the connection, perhaps hearing the operators tone and voice prompts.
     
  2. Hajdu

    Joined:
    Jul 8, 2009
    Messages:
    7
    Likes Received:
    0
    Try

    chown -R asterisk.asterisk /dev/snd/*
    chown -R asterisk.asterisk /dev/ttyACM*
     
  3. rejil.rajan

    Joined:
    Apr 8, 2007
    Messages:
    154
    Likes Received:
    0
    Hi

    You can make you customised messages and upload it to the /var/lib/asterisk/sounds

    and then modify the extensions.conf to call these files as shown below

    exten => s-BUSY,1,NoOp(Dial failed due to trunk reporting BUSY - giving up)
    exten => s-BUSY,2,Playback(Busy)
    exten => s-BUSY,3,Hangup()

    exten => s-NOANSWER,1,NoOp(Dial failed due to trunk reporting NOANSWER - giving up)
    exten => s-NOANSWER,2,Playback(Not-Responding)
    exten => s-NOANSWER,3,Hangup()

    exten => s-CHANUNAVAIL,1,NoOp(Dial failed due to trunk reporting Incorrect Number - giving up)
    exten => s-CHANUNAVAIL,2,Playback(Incorrect_Number)
    exten => s-CHANUNAVAIL,3,Hangup()

    exten => s-CANCEL,1,NoOp(Dial failed due to trunk reporting CANCEL - giving up)
    exten => s-CANCEL,2,Playtones(congestion)
    exten => s-CANCEL,3,Congestion(20)
     
  4. rejil.rajan

    Joined:
    Apr 8, 2007
    Messages:
    154
    Likes Received:
    0
    Please also check if your general settings does not have the r value in it
     

Share This Page