I need help I have an asterisk and I need to play music on hold and a parallel execut macro
same => n,Dial(SIP/${pbx}/#5147582218943,60,M(booms),m(mymoh))
M(booms) identify if he answered the call
m(mymoh) music on hold but it didn't work
Does anyone have any ideas?
1 Answer 1
You should try like this:
same => n,Dial(SIP/${pbx}/#5147582218943,60,M(booms)m(mymoh))
answered Nov 5, 2020 at 22:23
arheops
15.3k1 gold badge23 silver badges28 bronze badges
Sign up to request clarification or add additional context in comments.
defaultclass is playing withmorm()orm(default). Did you try that? Another way to test MoH is inwaitexten(7200,m)for thedefaultclass and 2h (7200s) music.${pbx}? Normaly it is${EXTEN}without/#5147582218943