0

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?

  • If MoH works then the ```default``` class is playing with ```m``` or ```m()``` or ```m(default)```. Did you try that? Another way to test MoH is in ```waitexten(7200,m)``` for the ```default``` class and 2h (7200s) music. – koyaanisqatsi Nov 05 '20 at 16:42
  • ...and whatfor stands ```${pbx}``` ? Normaly it is ```${EXTEN}``` without ```/#5147582218943``` – koyaanisqatsi Nov 05 '20 at 16:52

1 Answers1

0

You should try like this:

same => n,Dial(SIP/${pbx}/#5147582218943,60,M(booms)m(mymoh))
arheops
  • 15,544
  • 1
  • 21
  • 27