VCI Help Desk
2004-Aug-25 13:32 UTC
[Asterisk-Users] Voicemail forwarding from SER & extensions.conf
I have SER running with Asterisk, both on seperate servers. If I call
another SIP number from my SIP phone SER looks up the phone number to see if
it's online. If it's not online it forwards the call to Asterisk. How do
I
configure the extensions.conf file so that calls being forwarded to Asterisk
destined for VoiceMail do not conflict with normal outbound calls destined
for the PSTN?
I have the following which works ok but I can't make outbound calls when
this is enabled.
; send caller to voicemail if call is being forwarded from SER
; exten => _.,1,MailboxExists(${EXTEN}@default)
; exten => _.,2,Hangup() ; hangup
; exten => _.,102,Voicemail(u${EXTEN}) ; answer and state unavailable,
leave a message
; exten => _.,103,Hangup() ; hangup
Bill Dunn
Leo Ann Boon
2004-Aug-25 18:06 UTC
[Asterisk-Users] Voicemail forwarding from SER & extensions.conf
VCI Help Desk wrote: [snip, snip]> I have the following which works ok but I can't make outbound calls when >this is enabled. > >Use different contexts. Put your inbound SIP sessions from SER to one context and all your internal SIP phones to another. An example modified from your conf: sip.conf [general] ... context=from_sip ;Internal phones [8001] context=int_sip ... extensions.conf [from_sip] ;send caller to voicemail if call is being forwarded from SER exten => _.,1,MailboxExists(${EXTEN}@default) exten => _.,2,Hangup() ; hangup exten => _.,102,Voicemail(u${EXTEN}) ; answer and state unavailable, leave a message exten => _.,103,Hangup() ; hangup [int_sip] ;PSTN access exten => _9XX.,1,Dial(SIP/${EXTEN}@gateway) exten => _9XX.,2,Hangup