Saturday, March 15, 2014

Asterisk

6 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. $ tail -n 12 /etc/asterisk/sip.conf

    [phoneatfx8120]
    type=friend
    context=phones
    host=dynamic

    [phoneatacer]
    type=friend
    context=phones
    host=dynamic

    ReplyDelete
  3. $ tail /etc/asterisk/extensions.conf

    [outbounddemo]
    exten => s,1,Answer
    exten => s,2,Wait(1)
    exten => s,3,Background(/var/lib/asterisk/sounds/demo-instruct)
    exten => s,4,Hangup

    ReplyDelete
  4. cat /etc/asterisk/manager.d/adminuser.conf

    [admin]
    secret = admin
    deny = 0.0.0.0/0.0.0.0
    permit = 127.0.0.1/255.255.255.255
    read = all,system,call,log,verbose,command,agent,user,config
    write = all,system,call,log,verbose,command,agent,user,config

    ReplyDelete
  5. $ cat callfile

    Channel: SIP/phoneatfx8120
    Callerid: phoneatfx8120
    MaxRetries: 0
    RetryTime: 10
    WaitTime: 45
    Context: outbounddemo
    Extension: s
    Priority: 1

    ReplyDelete
  6. $ cat ami-oroginalte

    Action: Login
    ActionID: 1
    Username: admin
    Secret: admin



    Action: Originate
    ActionID: 2
    Channel: SIP/phoneatfx8120
    Context: outbounddemo
    Exten: s
    Priority: 1
    Timeout: 30000
    Callerid: phoneatfx8120

    ReplyDelete

Note: Only a member of this blog may post a comment.