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?

2
  • 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. Commented Nov 5, 2020 at 16:42
  • ...and whatfor stands ${pbx} ? Normaly it is ${EXTEN} without /#5147582218943 Commented Nov 5, 2020 at 16:52

1 Answer 1

0

You should try like this:

same => n,Dial(SIP/${pbx}/#5147582218943,60,M(booms)m(mymoh))
answered Nov 5, 2020 at 22:23
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.