Asterisk - команды. Работа с консолью Asterisk

, , . — . Asterisk .

Asterisk?

, Asterisk — , , , , . , - .

, . Asterisk , .

asterisk team




, , SIP, MGCP, SCCP.

Asterisk IAX, .





- Asterisk . - . Digium, .

. — sip.conf. SIP, NAT .

asterisk cli teams




Asterisk . . sip.conf :

  • user;
  • peer;
  • friend.

, .

CLI Asterisk

. rasterisk. asterisk -rvvv. -rvvv .

CLI Asterisk:

  • sip show peers - , , ip , . .;
  • sip show registry - SIP;
  • sip reload - sip.conf. , ;
  • sip show channels - , ;
  • sip show settings - SIP;
  • sip set debug - . ;
  • dialplan show - ;
  • dialplan reload - ;
  • core show codecs - Asterisk ;
  • core restart now - Asterisk;
  • core show help - Asterisk .

, :





  • keys show - RSA ;
  • keys init - RSA;
  • indication show - ;
  • http show status - HTTP ;
  • database showkey - ;
  • database del - ;
  • core show threads - ;
  • core show function - .

AMI - Asterisk

. AMI. Asterisk AMI . TCP. .

asterisk ami teams




: , Asterisk . , :

  • key - , ;
  • value - .

Asterisk , . , . . : Action, Event, Response. :

  • Action. , - . — .
  • Response. .
  • Event. , .

Response , , . , Success, — Error, Follows — .

, Asterisk, .

Action: login Username: admin Secret: secret12

Action, . login , . : Response: Success Message: Authentification accepted.

asterisk console command




, .

Asterisk , Action: logoff. .

, Asterisk AMI : Action: Originate Channel: SIP/2001 Context: incoming Exten: 2001 Priority: 1 Callerid: 2001 Variable: ANSWER = 1 Variable: _ACC=1.

, . Callerid Channel.

asterisk rvvv team




AMI . .

Asterisk . , . .

, , . .

For some solutions, third-party developers use the web version of the program. It does not require installation on a computer, but at the same time allows you to fully use the Asterisk system. For its operation, you only need a PC connected to the network and a browser installed on it.




All Articles