All pastes #2076486 Raw Edit

Untitled

public text v1 · immutable
#2076486 ·published 2011-06-08 00:56 UTC
rendered paste body
[melb-phones]
include => time
include => melb-conf
include => syd-conf
include => national-outgoing

exten => _32XX,1,Answer()
;exten => _32XX,n,MusicOnHold()
exten => _32XX,n,Dial(SIP/${EXTEN},20,m)
exten => _32XX,n,Voicemail(${EXTEN}@melb-phones,u)
exten => _32XX,n,Hangup

[melb-conf]

exten => _329X,1,Answer()
exten => _329X,n,Confbridge(${EXTEN:3})



calling 3295..
*CLI>   == Using SIP RTP CoS mark 5
    -- Executing [3295@melb-phones:1] Answer("SIP/3203-00000005", "") in new stack
    -- Executing [3295@melb-phones:2] Dial("SIP/3203-00000005", "SIP/3295,20,m") in new stack


*CLI> dialplan show melb-phones
[ Context 'melb-phones' created by 'pbx_config' ]
  '3500' =>         1. Gosub(time)                                [pbx_config]
  '_*32XX' =>       1. VoicemailMain(${EXTEN:1}@melb-phones)      [pbx_config]
  '_32XX' =>        1. Answer()                                   [pbx_config]
                    2. Dial(SIP/${EXTEN},20,m)                    [pbx_config]
                    3. Voicemail(${EXTEN}@melb-phones,u)          [pbx_config]
                    4. Hangup()                                   [pbx_config]
  '_50XX' =>        1. Goto(syd-phones,${EXTEN},1)                [pbx_config]
  '_XXXXXXXX' =>    1. Goto(national-outgoing,03${EXTEN},1)       [pbx_config]
  Include =>        'time'                                        [pbx_config]
  Include =>        'melb-conf'                                   [pbx_config]
  Include =>        'syd-conf'                                    [pbx_config]
  Include =>        'national-outgoing'                           [pbx_config]