Asterisk: Difference between revisions
From Hackepedia
Jump to navigationJump to search
m →X100P card: added BSD |
|||
Line 1: | Line 1: | ||
== X100P card == | == X100P card == | ||
[[Linux]]: | |||
# lspci -lv | less -XF | # lspci -lv | less -XF | ||
Line 11: | Line 12: | ||
Memory at fe9fd000 (32-bit, non-prefetchable) [size=4K] | Memory at fe9fd000 (32-bit, non-prefetchable) [size=4K] | ||
Capabilities: [40] Power Management version 2 | Capabilities: [40] Power Management version 2 | ||
[[BSD]]: | |||
# pciconf -lv | less -XF | |||
none0@pci2:2:0: class=0x078000 card=0x00001057 chip=0x56081057 rev=0x00 hdr=0x00 | |||
vendor = 'Motorola' | |||
device = 'SM56 PCI Fax Voice Modem' | |||
class = simple comms | |||
# lsmod | less -XF | # lsmod | less -XF | ||
Line 24: | Line 33: | ||
Alarms Span | Alarms Span | ||
OK Wildcard X100P Board 1 | OK Wildcard X100P Board 1 | ||
== Voicmail Setup for single answering machine == | == Voicmail Setup for single answering machine == |
Revision as of 16:53, 8 April 2006
X100P card
# lspci -lv | less -XF
and see if you can find something similar:
0000:01:05.0 Communication controller: Motorola: Unknown device 5608 Subsystem: Motorola: Unknown device 0000 Flags: bus master, medium devsel, latency 64, IRQ 201 I/O ports at de00 [size=256] Memory at fe9fd000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2
BSD:
# pciconf -lv | less -XF none0@pci2:2:0: class=0x078000 card=0x00001057 chip=0x56081057 rev=0x00 hdr=0x00 vendor = 'Motorola' device = 'SM56 PCI Fax Voice Modem' class = simple comms
# lsmod | less -XF
and see if you can find the same modules loaded:
ztdummy 3880 0 zaptel 227876 8 ztdummy,wcfxo crc_ccitt 2144 1 zaptel rtc 14420 1 ztdummy
now to try zttool:
# zttool Alarms Span OK Wildcard X100P Board 1
Voicmail Setup for single answering machine
# cat extensions.conf [incoming] exten => s,1,Wait,2 exten => s,2,Answer exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => s,5,WaitExten(3) exten => #,1,Hangup exten => 88,1,VoicemailMain exten => 88,2,Hangup exten = t,1,Voicemail(1) exten = t,2,Hangup
or you can make a personal greeting instead of the generic by replacing the "t" lines:
exten => t,1,BackGround(alisonsayingleaveamessage) ; make sure you have alisonsayingleaveanessage.gsm in your asterisk/sounds directory exten => t,2,Voicemail(s1) exten => t,3,Hangup
# cat voicemail.conf [general] ; You may not want all of these formats "show file formats" ; at the Asterisk console for a list of formats available format=wav49|gsm|wav serveremail=asterisk attach=yes minmessage=3 skipms=3000 maxsilence=10 silencethreshold=128 maxlogins=3 ; I have a script that changes permissions on new voicemails ; so I can use them in a webpage defined in externnotify ; externnotify=/usr/bin/vmperms fromstring=The answering machine emaildateformat=%A, %B %d, %Y at %r [zonemessages] eastern=America/New_York|'vm-received' Q 'digits/at' IMp central=America/Chicago|'vm-received' Q 'digits/at' IMp central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' [default] ; 54322 is your password below ; john@example.com will be emailed when there is a new voicemail 1 => 54322,The Family,john@example.com