*CLI> core show applications
;Все приложения
*CLI> core show application SMS
-= Info about application 'SMS' =-
[Synopsis]
Communicates with SMS service centres and SMS capable analogue phones
[Description]
SMS(name|[a][s]): SMS handles exchange of SMS data with a call to/from SMS capabale
phone or SMS PSTN service center. Can send and/or receive SMS messages.
Works to ETSI ES 201 912 compatible with BT SMS PSTN service in UK
Typical usage is to use to handle called from the SMS service centre CLI,
or to set up a call using 'outgoing' or manager interface to connect
service centre to SMS()
name is the name of the queue used in /var/spool/asterisk/sms
Arguments:
a: answer, i.e. send initial FSK packet.
s: act as service centre talking to a phone.
Messages are processed as per text file message queues.
smsq (a separate software) is a command to generate message
queues and send messages.
;Показывает инфо по приложению SMS
*CLI> console dial
== Console is full duplex
*CLI> -- Executing [s@default:1] Wait("Console/dsp", "1") in new stack
-- Executing [s@default:2] Answer("Console/dsp", "") in new stack
<< Console call has been answered >>
-- Executing [s@default:3] Set("Console/dsp", "TIMEOUT(digit)=5") in new stack
-- Digit timeout set to 5
-- Executing [s@default:4] Set("Console/dsp", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing [s@default:5] BackGround("Console/dsp", "demo-congrats") in new stack
-- Playing 'demo-congrats' (language 'en')
-- Executing [s@default:6] BackGround("Console/dsp", "demo-instruct") in new stack
-- Playing 'demo-instruct' (language 'en')
;Тестируем астериск голосовые сообщения автоответчика.
;По сообщению можно отвечать console dial ? и вместо ? вставлять число, требуемое для звонка.
Для удалленного доступа к серверу:
$ asterisk -r
Asterisk 1.4.20.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
-- Remote UNIX connection
Connected to Asterisk 1.4.20.1 currently running on sspc (pid = 12722)
Verbosity is at least 3
*CLI> core show uptime
System uptime: 57 minutes, 7 seconds
*CLI> core show version
Asterisk 1.4.20.1 built by root @ sspc.local on a i386 running FreeBSD on 2008-07-06 05:56:09 UTC
*CLI> core show globals
TRUNKMSD=1
TRUNK=Zap/G2
IAXINFO=guest
CONSOLE=Console/dsp
-- 4 variables
Письмецо
From ghost@sspc.local Sun Jul 6 11:03:03 2008
Date: Sun, 06 Jul 2008 11:03:03 +0400
From: Asterisk PBX
To: "Example Mailbox"
Subject: [PBX]: New message 1 in mailbox 1234
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----voicemail_11234127221136414341"
This is a multi-part message in MIME format.
------voicemail_11234127221136414341
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Dear Example Mailbox:
Just wanted to let you know you were just left a 0:10 long message (number 1)
in mailbox 1234 from an unknown caller, on Sunday, July 06, 2008 at 11:03:03 AM so you might
want to check it when you get a chance. Thanks!
--Asterisk
;Все приложения
*CLI> core show application SMS
-= Info about application 'SMS' =-
[Synopsis]
Communicates with SMS service centres and SMS capable analogue phones
[Description]
SMS(name|[a][s]): SMS handles exchange of SMS data with a call to/from SMS capabale
phone or SMS PSTN service center. Can send and/or receive SMS messages.
Works to ETSI ES 201 912 compatible with BT SMS PSTN service in UK
Typical usage is to use to handle called from the SMS service centre CLI,
or to set up a call using 'outgoing' or manager interface to connect
service centre to SMS()
name is the name of the queue used in /var/spool/asterisk/sms
Arguments:
a: answer, i.e. send initial FSK packet.
s: act as service centre talking to a phone.
Messages are processed as per text file message queues.
smsq (a separate software) is a command to generate message
queues and send messages.
;Показывает инфо по приложению SMS
*CLI> console dial
== Console is full duplex
*CLI> -- Executing [s@default:1] Wait("Console/dsp", "1") in new stack
-- Executing [s@default:2] Answer("Console/dsp", "") in new stack
<< Console call has been answered >>
-- Executing [s@default:3] Set("Console/dsp", "TIMEOUT(digit)=5") in new stack
-- Digit timeout set to 5
-- Executing [s@default:4] Set("Console/dsp", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing [s@default:5] BackGround("Console/dsp", "demo-congrats") in new stack
--
-- Executing [s@default:6] BackGround("Console/dsp", "demo-instruct") in new stack
--
;Тестируем астериск голосовые сообщения автоответчика.
;По сообщению можно отвечать console dial ? и вместо ? вставлять число, требуемое для звонка.
Для удалленного доступа к серверу:
$ asterisk -r
Asterisk 1.4.20.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
-- Remote UNIX connection
Connected to Asterisk 1.4.20.1 currently running on sspc (pid = 12722)
Verbosity is at least 3
*CLI> core show uptime
System uptime: 57 minutes, 7 seconds
*CLI> core show version
Asterisk 1.4.20.1 built by root @ sspc.local on a i386 running FreeBSD on 2008-07-06 05:56:09 UTC
*CLI> core show globals
TRUNKMSD=1
TRUNK=Zap/G2
IAXINFO=guest
CONSOLE=Console/dsp
-- 4 variables
Письмецо
From ghost@sspc.local Sun Jul 6 11:03:03 2008
Date: Sun, 06 Jul 2008 11:03:03 +0400
From: Asterisk PBX
To: "Example Mailbox"
Subject: [PBX]: New message 1 in mailbox 1234
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----voicemail_11234127221136414341"
This is a multi-part message in MIME format.
------voicemail_11234127221136414341
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Dear Example Mailbox:
Just wanted to let you know you were just left a 0:10 long message (number 1)
in mailbox 1234 from an unknown caller, on Sunday, July 06, 2008 at 11:03:03 AM so you might
want to check it when you get a chance. Thanks!
--Asterisk
Комментарии
Отправить комментарий