[Asterisk-Users] Newbie - getting two local phones to communicate would be a good start :)

David J Carter david.carter at codepipe.com
Fri Jan 2 16:52:46 MST 2004


John,

Try these files.

They work for me.


Dave

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of John Coll
Sent: 02 January 2004 23:42
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Newbie - getting two local phones to
communicate would be a good start :)


Robert, OK :) I'll go there yet again tomorrow.

Do you know of a complete set of files and instructions that will work with
a most basic no-frills system - a basis that I can easily understand and
build on?  I just pray for the Nutshell Asterisk Handbook!

thanks again

john


-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of rnc Info
Lists
Sent: 02 January 2004 23:26
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Newbie - getting two local phones to
communicate would be a good start :)


John wrote:
> Hi
>
> This is hard work :) I have read the Asterisk Handbook, BudgeTone User
> Manual, Andy Powell's useful notes, Zac Sprackett's Asterisk Resource
> Pages
> and more.
>
> I am not a linux newbie but am new to Asterisk. I have failed to find any
> docs that explain how to get a very very simple, minimal, system up and I
> am trying to get the following to work:

< cut .... john >
<CUT out the rest of the original email..rnc>

John,
What is the dialparties.agi? You didn't mention that in your description
(or I missed it)

<john> Used in Zac's system - I've got the perl code and installed - seems
to work without complaint. nice :)

 I have used * with 2 GS phones with no problem.

My suggestion is to go back to the simple extensions.conf file  and try it
again.  Take out all of the fancy stuff until you get the basic phone
working.

If it still doesn't work then post all relevant parts of your
extensions.conf and any changes you made in sip.conf along with the trace.

My GS SIP.conf for one of the phones is:
[2001]
type=friend
username=2001
secret=test2
host=dynamic
context=local-extensions   <--this will probably be different in your setup

Extension.conf for ringing that phone is:
exten => 2001,1,Dial(SIP/2001,20,Ttr)
exten => 2001,2,Voicemail(u2001)
exten => 2001,102,Voicemail(b2001)
exten => 2001,103,Hangup

They probably aren't perfect but they do work.

Robert


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
;
; Static extension configuration files, used by
; the pbx_config module.
;
; The "General" category is for certain variables.  
;
[general]
;
static=yes
;
writeprotect=no
;
; The "Globals" category contains global variables that can be referenced
; in the dialplan with ${VARIABLE} or ${ENV(VARIABLE)} for Environmental variable
; ${${VARIABLE}} or ${text${VARIABLE}} or any hybrid
;
[globals]
CONSOLE=Console/dsp		; Console interface for demo
;CONSOLE=Zap/1
;CONSOLE=Phone/phone0
TRUNK=Zap/g2			; Trunk interface
TRUNKMSD=1				; MSD digits to strip (usually 1 or 0)
;TRUNK=IAX2/user:pass at provider

;
; Any category other than "General" and "Globals" represent 
; extension contexts, which are collections of extensions.  
;
; Extension names may be numbers, letters, or combinations
; thereof. If an extension name is prefixed by a '_'
; character, it is interpreted as a pattern rather than a
; literal.  In patterns, some characters have special meanings:
;
;   X - any digit from 0-9
;   N - any digit from 2-9
;   [1235-9] - any digit in the brackets (in this example, 1,2,3,5,6,7,8,9)
;   . - wildcard, matches anything remaining (e.g. _9011. matches anything starting with 9011 including 9011)
;
[iaxtel700]
exten => _91700NXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)

[macro-stdexten];
;
; Standard extension macro:
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
;
exten => s,1,Dial(${ARG2},20)					; Ring the interface, 20 seconds maximum
exten => s,2,voicemail2(u${ARG1})				; If unavailable, send to voicemail2 w/ unavail announce
exten => s,3,Goto(default,s,1)				; If they press #, return to start
exten => s,102,voicemail2(b${ARG1})				; If busy, send to voicemail2 w/ busy announce
exten => s,103,Goto(default,s,1)				; If they press #, return to start
;
;
[demo]
;
; Create an extension, 5000, for dialing the
; Asterisk demo.
;
exten => 5000,1,Playback(demo-abouttotry)					; Let them know what's going on
exten => 5000,2,Dial(IAX2/guest at misery.digium.com/s at default)	; Call the Asterisk demo
exten => 5000,3,Playback(remote_unavail)						; Couldn't connect to the demo site
exten => 5000,4,Goto(s,6)							; Return to the start over message.
;
;
[mainmenu]
;
;"main menu" context with submenu
;
exten => s,1,Answer
include => default
;exten => s,2,SayDigits(${CALLERID})
exten => s,3,Background(hello_and_thank_you)
exten => s,4,Wait,t,2
exten => s,5,Goto(options,s,1)
;
[options]
;
exten => s,1,Background(double_glazing)
exten => s,2,SayDigits(444)
exten => s,3,Background(now)
exten => s,4,Background(kitchen_sales)
exten => s,5,SayDigits(555)
exten => s,6,Background(now)
exten => s,7,Background(insurance_sales)
exten => s,8,SayDigits(666)
exten => s,9,Background(now)
;
include => default
;
exten => 444,1,Goto(glazing,s,1)
exten => 444,2,Hangup
;
exten => 555,1,Goto(kitchen,s,1)
exten => 555,2,Hangup
;
exten => 666,1,Goto(insurance,s,1)
exten => 666,2,Hangup
;
[glazing]
exten => s,1,Background(glazing_thanks)
exten => s,2,MusicOnHold(default)
exten => s,3,Background(sorry_for_delay)
exten => s,4,Goto(s,2)
exten => s,5,Hangup
;
[kitchens]
exten => s,1,Background(kitchen_thanks)
exten => s,2,MusicOnHold(default)
exten => s,3,Background(sorry_for_delay)
exten => s,4,Goto(s,2)
exten => s,5,Hangup
;
[insurance]
exten => s,1,Background(insurance_thanks)
exten => s,2,MusicOnHold(default)
exten => s,3,Background(sorry_for_delay)
exten => s,4,Goto(s,2)
exten => s,5,Hangup
;
[emergency]
exten => s,1,Background(emergency_ask)
exten => s,2,Wait,5
exten => s,3,Dial,ZAP/1/999
exten => s,4,Hangup
;
[default]
;
include => demo
;
;Free World Dialup
;
exten => _393XXXXX,1,StripMSD,3
exten => _XXXXX,2,Dial(SIP/${EXTEN}@${FWDADD}|20|t)
exten => _XXXXX,3,Playback(invalid)
exten => _XXXXX,4,Hangup
;
;IAXTEL
;
exten => _1700NXXXXXX,1,Dial(IAX2/${IAXUSR}@iaxtel.com/${EXTEN}@iaxtel)
exten => _1700Nxxxxxx,2,Hangup
;
;SipPhone
;
exten => _1747NXXXXXX,1,Dial(SIP/${EXTEN}@${SIPADD}|20|t)
exten => _1747NXXXXXX,2,Playback(invalid)
exten => _1747NXXXXXX,3,Hangup
;
;General Numbers
;
exten => _9NXXXXX,1,StripMSD,1
exten => _XXXXXX,2,Dial,Zap/1/BYEXTENSION
exten => _901NXXXXXXXX,1,StripMSD,1
exten => _XXXXXXXXXXX,2,Dial,Zap/1/BYEXTENSION
exten => _900NXXXXXXXXXX,1,StripMSD,1
exten => _XXXXXXXXXXXXX,2,Dial,Zap/1/BYEXTENSION
exten => _908XXXXXXXXX,1,StripMSD,1
exten => _XXXXXXXXXXX,Dial,Zap/1/BYEXTENSION
exten => _1888NXXXXXX,1,Dial(IAX2/${IAXUSR}@iaxtel.com/${EXTEN}@iaxtel)
exten => _1877NXXXXXX,1,Dial(IAX2/${IAXUSR}@iaxtel.com/${EXTEN}@iaxtel)
exten => _1866NXXXXXX,1,Dial(IAX2/${IAXUSR}@iaxtel.com/${EXTEN}@iaxtel)
exten => _1800NXXXXXX,1,Dial(IAX2/${IAXUSR}@iaxtel.com/${EXTEN}@iaxtel)
;
;Short Code
;
;
exten => *77,1,VoicemailMain(${CALLERIDNUM})
exten => *77,2,Hangup
;
exten => *78,1,Goto(mainmenu,s,1)
;
;
exten => 7100,1,Answer
exten => 7100,2,MusicOnHold(default)
;
exten => 7101,1,Answer
exten => 7101,2,SayDigits(17008188820)
;
exten => 7102,1,Goto(mainmenu,s,3)
;exten => 7102,2,Hangup
;
exten => 7103,1,DateTime
;
exten => 999,1,Goto(emergency,s,1)
;
exten => 7001,1,Playback(transfer,skip)
exten => 7001,2,Dial(SIP/7001|20|t)
exten => 7001,3,voicemail2(u7001)
exten => 7001,5,Goto(s|6)
exten => 7001,103,voicemail2(b7001)
exten => 7001,104,Goto(5)
;
;
exten => 7002,1,Playback(transfer,skip)
exten => 7002,2,Dial(SIP/7002|20|t)
exten => 7002,3,voicemail2(u7002)
exten => 7002,5,Goto(s|6)
exten => 7002,103,voicemail2(b7002)
exten => 7002,104,Goto(5)
;
;
exten => 7003,1,Playback(transfer,skip)
exten => 7003,2,Dial(SIP/7003|20|t)
exten => 7003,3,voicemail2(u7003)
exten => 7003,5,Goto(s|6)
exten => 7003,103,voicemail2(b7003)
exten => 7003,104,Goto(5)
;
;
exten => 7004,1,Playback(transfer,skip)
exten => 7004,2,Dial(SIP/7004|20|t)
exten => 7004,3,voicemail2(u7004)
exten => 7004,5,Goto(s|6)
exten => 7004,103,voicemail2(b7004)
exten => 7004,104,Goto(5)
;
;
exten => 7005,1,Playback(transfer,skip)
exten => 7005,2,Dial(SIP/7005|20|t)
exten => 7005,3,voicemail2(u7005)
exten => 7005,5,Goto(s|6)
exten => 7005,103,voicemail2(b7005)
exten => 7005,104,Goto(5)
;
;
exten => 7006,1,Playback(transfer,skip)
exten => 7006,2,Dial(SIP/7006|20|t)
exten => 7006,3,voicemail2(u7006)
exten => 7006,5,Goto(s|6)
exten => 7006,103,voicemail2(b7006)
exten => 7006,104,Goto(5)
;
;
exten => 7007,1,Playback(transfer,skip)
exten => 7007,2,Dial(SIP/7007|20|t)
exten => 7007,3,voicemail2(u7007)
exten => 7007,5,Goto(s|6)
exten => 7007,103,voicemail2(b7007)
exten => 7007,104,Goto(5)
;
;
exten => 7008,1,Playback(transfer,skip)
exten => 7008,2,Dial(SIP/7008|20|t)
exten => 7008,3,voicemail2(u7008)
exten => 7008,5,Goto(s|6)
exten => 7008,103,voicemail2(b7008)
exten => 7008,104,Goto(5)
;
;
exten => 7009,1,Playback(transfer,skip)
exten => 7009,2,Dial(SIP/7009|20|t)
exten => 7009,3,voicemail2(u7009)
exten => 7009,5,Goto(s|6)
exten => 7009,103,voicemail2(b7009)
exten => 7009,104,Goto(5)
;
;
exten => 7010,1,Playback(transfer,skip)
exten => 7010,2,Dial(SIP/7010|20|t)
exten => 7010,3,voicemail2(u7010)
exten => 7010,5,Goto(s|6)
exten => 7010,103,voicemail2(b7010)
exten => 7010,104,Goto(5)
;
;
exten => 7011,1,Playback(transfer,skip)
exten => 7011,2,Dial(SIP/7011|20|t)
exten => 7011,3,voicemail2(u7011)
exten => 7011,5,Goto(s|6)
exten => 7011,103,voicemail2(b7011)
exten => 7011,104,Goto(5)
;
;
exten => 7012,1,Playback(transfer,skip)
exten => 7012,2,Dial(SIP/7012|20|t)
exten => 7012,3,voicemail2(u7012)
exten => 7012,5,Goto(s|6)
exten => 7012,103,voicemail2(b7012)
exten => 7012,104,Goto(5)
;
;
exten => 7013,1,Playback(transfer,skip)
exten => 7013,2,Dial(SIP/7013|20|t)
exten => 7013,3,voicemail2(u7013)
exten => 7013,5,Goto(s|6)
exten => 7013,103,voicemail2(b7013)
exten => 7013,104,Goto(5)
;
;
exten => 7014,1,Playback(transfer,skip)
exten => 7014,2,Dial(SIP/7014|20|t)
exten => 7014,3,voicemail2(u7014)
exten => 7014,5,Goto(s|6)
exten => 7014,103,voicemail2(b7014)
exten => 7014,104,Goto(5)
;
;
exten => 7015,1,Goto(mainmenu,s,1)
;exten => 7015,1,Playback(transfer,skip)
;exten => 7015,2,Dial(SIP/7015|20|t)
;exten => 7015,3,voicemail2(u7015)
;exten => 7015,5,Goto(s|6)
;exten => 7015,103,voicemail2(b7015)
;exten => 7015,104,Goto(5)
;
exten => 7016,1,Playback(transfer,skip)
exten => 7016,2,Dial(IAX2/7016 at 7016,20,t)
;exten => 7016,2,Dial(SIP/7016|20|t)
exten => 7016,3,voicemail2(u7016)
exten => 7016,5,Goto(s|6)
exten => 7016,103,voicemail2(b7016)
exten => 7016,104,Goto(5)
;
exten => 7017,1,Playback(transfer,skip)
exten => 7017,2,Dial(IAX2/7017 at 7017,20,t)
;exten => 7017,2,Dial(SIP/7017|20|t)
exten => 7017,3,voicemail2(u7017)
exten => 7017,5,Goto(s|6)
exten => 7017,103,voicemail2(b7017)
exten => 7017,104,Goto(5)
;
exten => 7018,1,Playback(transfer,skip)
exten => 7018,2,Dial(IAX2/7018 at 7018,20,t)
;exten => 7018,2,Dial(SIP/7018|20|t)
exten => 7018,3,voicemail2(u7018)
exten => 7018,5,Goto(s|6)
exten => 7018,103,voicemail2(b7018)
exten => 7018,104,Goto(5)
;
exten => 7019,1,Playback(transfer,skip)
exten => 7019,2,Dial(IAX2/7019 at 7019,20,t)
;exten => 7019,2,Dial(SIP/7019|20|t)
exten => 7019,3,voicemail2(u7019)
exten => 7019,5,Goto(s|6)
exten => 7019,103,voicemail2(b7019)
exten => 7019,104,Goto(5)
;
exten => 7020,1,Playback(transfer,skip)
exten => 7020,2,Dial(IAX2/7020 at 7020,20,t)
;exten => 7020,2,Dial(SIP/7020|20|t)
exten => 7020,3,voicemail2(u7020)
exten => 7020,5,Goto(s|6)
exten => 7020,103,voicemail2(b7020)
exten => 7020,104,Goto(5)

;
exten => 8000,1,Playback(transfer,skip)
exten => 8000,2,Dial(SIP/8000|20|t)
exten => 8000,3,voicemail2(u8000)
exten => 8000,4,Goto(s|6)
exten => 8000,103,voicemail2(b8000)
exten => 8000,104,Goto(4)
;
exten => 8001,1,Playback(transfer,skip)
exten => 8001,2,Dial(SIP/8001|20|t)
exten => 8001,3,voicemail2(u8001)
exten => 8001,4,Goto(s|6)
exten => 8001,103,voicemail2(b8001)
exten => 8001,104,Goto(4)
;
;Call Parking
;
[incoming]
exten => s,1,Goto(mainmenu,s,3)
;exten => s,1,Playback(transfer,skip)
;exten => s,2,Dial(SIP/7001|20|t)
;exten => s,3,voicemail2(u7001)
;exten => s,4,Goto(s|6)
;exten => s,103,voicemail2(b7001)
;exten => s,104,Goto(5)
;
;
[iaxtel-calls]
exten => s,1,Dial(SIP/7001|20|t)
exten => s,2,voicemail2(u7001)
exten => s,102,voicemail2(b7001)

exten => h,1,Hangup
exten => i,1,Hangup
exten => t,1,Hangup
;
;
[sip-in]
;exten => s,1,Playback(transfer,skip)
;exten => s,2,Dial(SIP/${MENU},50,t)
exten => s,1,Goto(mainmenu,s,3)
;exten => s,3,Voicemail2(u${DAVE})
;exten => s,4,Hangup
;exten => s,102,Voicemail2(b${DAVE})
;exten => s,103,Hangup
;
-------------- next part --------------
;
; SIP Configuration for Asterisk
;
[general]
port = 5060					; Port to bind to
;bindaddr = 0.0.0.0			; Address to bind to
context = default				; Default for incoming calls
;srvlookup = yes				; Enable SRV lookups on outbound calls
;pedantic = yes				; Enable slow, pedantic checking for Pingtel
tos=lowdelay
;tos=184
;maxexpirey=3600				; Max length of incoming registration we allow
;defaultexpirey=120			; Default length of incoming/outoing registration
;notifymimetype=text/plain		; Allow overriding of mime type in NOTIFY
;videosupport=yes				; Turn on support for SIP video
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7001] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
reinvite=no
canreinvite=no
nat=1
mailbox=7001
dtmfmode=inband
callgroup=1
pickupgroup=1
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7002] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
reinvite=no
canreinvite=no
nat=1
mailbox=7002
dtmfmode=inband
callgroup=1
pickupgroup=1
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7003] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
reinvite=no
canreinvite=no
nat=1
mailbox=7003
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7004] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7004
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7005] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7005
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7006] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7006
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7007] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7007
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7008] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7008
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7009] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7009
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7010] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7010
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7011] ; Grandstream Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7011
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7012] ; Grandstream Lounge Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7012
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7013] ; Grandstream Lounge Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7013
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7014] ; Grandstream Lounge Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7014
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[7015] ; Grandstream Lounge Phone
type=friend
insecure=yes
host=dynamic
canreinvite=yes
nat=1
mailbox=7015
dtmfmode=inband
disallow=all
;
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
allow=speex
allow=lpc10
;
[8000]
type=friend
username=8000
secret=2201
canreinvite=no
host=dynamic
dtmfmode=rfc2833
mailbox=8000
nat=1
;
[8001]
type=friend
username=8001
secret=2201
canreinvite=no
host=dynamic
dtmfmode=rfc2833
mailbox=8001
nat=1
;
-------------- next part --------------
;
; Voicemail Configuration
;
[general]
; Default formats for writing Voicemail
;format=g723sf|wav49|wav
format=wav49|gsm|wav
; Who the e-mail notification should appear to come from
serveremail=asterisk
;serveremail=asterisk at linux-support.net
; Should the email contain the voicemail as an attachment
attach=yes
; Maximum length of a voicemail message
;maxmessage=180
; Maximum length of greetings
;maxgreet=60
; How many miliseconds to skip forward/back when rew/ff in message playback
skipms=3000
; How many seconds of silence before we end the recording
maxsilence=10
; Silence threshold (what we consider silence, the lower, the more sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
;
; Skip the "[PBX]:" string from the message title
;pbxskip=yes
; Change the From: string
;fromstring=The Asterisk PBX
; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE} so you might\nwant to check it when you get a chance.  Thanks!\n\n\t\t\t\t--Asterisk\n
;
;
; 
; Users may be located in different timezones, or may have different 
; message announcements for their introductory message when they enter 
; the voicemail system. Set the message and the timezone each user 
; hears here. Set the user into one of these zones with the tz= attribute 
; in the options field of the mailbox. Of course, language substitution 
; still applies here so you may have several directory trees that have 
; alternate language choices. 
; 
; Look in /usr/share/zoneinfo/ for names of timezones. 
; Look at the manual page for strftime for a quick tutorial on how the 
; variable substitution is done on the values below. 
; 
; Supported values: 
; 'filename'    filename of a soundfile (single ticks around the filename required)
; ${VAR}        variable substitution 
; A or a        Day of week (Saturday, Sunday, ...) 
; B or b or h   Month name (January, February, ...) 
; d or e        numeric day of month (first, second, ..., thirty-first) 
; Y             Year 
; I or l        Hour, 12 hour clock 
; H             Hour, 24 hour clock (single digit hours preceded by "oh") 
; k             Hour, 24 hour clock (single digit hours NOT preceded by "oh") 
; M             Minute 
; P or p        AM or PM 
; Q             "today", "yesterday" or ABdY (*note: not standard strftime value) 
; q             "" (for today), "yesterday", weekday, or ABdY (*note: not standard strftime value) 
; R             24 hour time, including minute 
; 
; 
[zonemessages] 
eastern=America/NewYork|'vm-received' Q 'digits/at' IMp 
central=America/Chicago|'vm-received' Q 'digits/at' IMp 
central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'digits/hours'
;
;
; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
; if the e-mail is specified, a message will be sent when a message is
; received, to the given mailbox. If pager is specified, a message will be sent there as well.
;
[default]
;1234 => 4242,Example Mailbox,root at localhost
;4200 => 9855,Mark Spencer,markster at linux-support.net,mypager at digium.com,attach=no|serveremail=myaddy at digium.com|tz=central
;4300 => 3456,Ben Rigas,ben at american-computer.net
;4310 => 5432,Sales,sales at marko.net
;4069 => 6522,Matt Brooks,matt at marko.net
;4110 => 3443,Rob Flynn,rflynn at blueridge.net
;
;=========================================================================================================
;					Codepipe Added Mailboxes
;
0000 => 1234,Reception Mailbox
7001 => 1234,Office SIP Phone
7002 => 1234,Lounge SIP Phone
7003 => 1234,Grandstream SIP Phone
7004 => 1234,Grandstream SIP Phone
7005 => 1234,Grandstream SIP Phone
7006 => 1234,Grandstream SIP Phone
7007 => 1234,Grandstream SIP Phone
7008 => 1234,Grandstream SIP Phone
7009 => 1234,Grandstream SIP Phone
7010 => 1234,Grandstream SIP Phone
7011 => 1234,Grandstream SIP Phone
7012 => 1234,Grandstream SIP Phone
7013 => 1234,Grandstream SIP Phone
7014 => 1234,Grandstream SIP Phone
7015 => 1234,Grandstream SIP Phone
;
;
;					End of Codepipe Addes Mailboxes
;========================================================================================================
;
; Mailboxes may be organized into multiple contexts for
; voicemail virtualhosting
;
;
[other]
;1234 => 5678,Company2 User,root at localhost





More information about the asterisk-users mailing list