[asterisk] Fix multiple mailbox support
Mailboxes must be separated with an ampersand; they're currently separated with commas in the config.
This commit is contained in:
parent
7fcb81568d
commit
066f8834cd
1 changed files with 4 additions and 2 deletions
|
@ -48,9 +48,11 @@ exten => 700,1,Answer()
|
||||||
same = n,Hangup()
|
same = n,Hangup()
|
||||||
|
|
||||||
; Other extensions
|
; Other extensions
|
||||||
3-digit extensions dial their associated devices
|
; 3-digit extensions dial their associated devices
|
||||||
exten => _XXX,1,Dial(PJSIP/${EXTEN}, 15)
|
exten => _XXX,1,NoOp()
|
||||||
|
same = n,Dial(PJSIP/${EXTEN}, 15)
|
||||||
same = n,Set(MAILBOXES=${PJSIP_ENDPOINT(${EXTEN},mailboxes)})
|
same = n,Set(MAILBOXES=${PJSIP_ENDPOINT(${EXTEN},mailboxes)})
|
||||||
|
same = n,Set(MAILBOXES=${REPLACE(MAILBOXES,\,,&)})
|
||||||
same = n,ExecIf($[${LEN(${MAILBOXES})} = 0]?Congestion(10))
|
same = n,ExecIf($[${LEN(${MAILBOXES})} = 0]?Congestion(10))
|
||||||
same = n,Voicemail(${MAILBOXES})
|
same = n,Voicemail(${MAILBOXES})
|
||||||
same = n,Playback(vm-goodbye)
|
same = n,Playback(vm-goodbye)
|
||||||
|
|
Loading…
Reference in a new issue