Hi All experts,
I was wondering if the following is possible:
I am trying to call at first to X number, after 15 sec i would like to call Y number and after another 15 sec to Z number.
This part will be done by DIALSTATUS command.
My question is if it is possible to play to caller MOH without starting the file all over again when calling to Y number and Z number.
I am intrested to play the file in sequence.
The below will play the MOH while calling X,Y,Z but will start the file all over again.
Will appreciate your feedback:
exten => _X.,n,Dial(SIP/CELLACT_GB_1/XXXX,15,m(MusicOnHold_2398))
exten => _X.,n,GotoIf(["{DIALSTATUS}" = “NOANSWER”]?lbl_2398_5:)
exten => _X.,n,GotoIf(["{DIALSTATUS}" = “BUSY”]?lbl_2398_5:)
exten => _X.,n,Hangup()
exten => _X.,n(lbl_2398_5),Dial(SIP/YYYY,15,m(MusicOnHold_2398))
exten => _X.,n,GotoIf(["{DIALSTATUS}" = “NOANSWER”]?lbl_2398_6:)
exten => _X.,n,GotoIf(["{DIALSTATUS}" = “BUSY”]?lbl_2398_6:)
exten => _X.,n,Hangup()
exten => _X.,n(lbl_2398_6),Dial(SIP/ZZZZ,15,m(MusicOnHold_2398))
exten => _X.,n,Hangup()