[asterisk-users] Music On Hold

Cyprus VoIP voipcy at gmail.com
Fri Oct 2 05:50:51 CDT 2009


 >
 > What is the output of "moh files show" CLI command ?
 >


pbx*CLI> moh show files
Class: default
         File: /var/lib/asterisk/moh/manolo_camp-morning_coffee
         File: /var/lib/asterisk/moh/macroform-the_simplicity
         File: /var/lib/asterisk/moh/macroform-robot_dity
         File: /var/lib/asterisk/moh/macroform-cold_day
         File: /var/lib/asterisk/moh/reno_project-system
         File: /var/lib/asterisk/moh/music_100
         File: /var/lib/asterisk/moh/CHANGES-asterisk-moh-opsound-2
         File: /var/lib/asterisk/moh/CREDITS-asterisk-moh-opsound-2
         File: /var/lib/asterisk/moh/LICENSE-asterisk-moh-opsound-2

One more thing I tried is to add the m option in the dial command, to 
check what happens, when the call is initially originated:

exten => 1111,n,Dial(SIP/21&SIP/22&SIP/23&SIP/24&SIP/25,,m(default))

This is what the console shows me:

     -- Executing [1111 at default:6] Dial("SIP/IN-PROXY-08563908", 
"SIP/21&SIP/22&SIP/23&SIP/24&SIP/25,,m(default)") in new stack
   == Using SIP RTP CoS mark 5
   == Using SIP VRTP CoS mark 6
   == Using UDPTL CoS mark 5
     -- Called 21
   == Using SIP RTP CoS mark 5
   == Using SIP VRTP CoS mark 6
   == Using UDPTL CoS mark 5
     -- Called 22
   == Using SIP RTP CoS mark 5
   == Using SIP VRTP CoS mark 6
   == Using UDPTL CoS mark 5
     -- Called 23
   == Using SIP RTP CoS mark 5
   == Using SIP VRTP CoS mark 6
   == Using UDPTL CoS mark 5
     -- Called 24
   == Using SIP RTP CoS mark 5
   == Using SIP VRTP CoS mark 6
   == Using UDPTL CoS mark 5
     -- Called 25
     -- Started music on hold, class 'default', on SIP/IN-PROXY-08563908
     -- SIP/23-b7c2d928 is ringing
     -- SIP/24-b7a7b3a8 is ringing
     -- SIP/22-b7c35cd8 is ringing
     -- SIP/21-b7c3a508 is ringing
     -- SIP/25-b7a83350 is ringing
     -- Stopped music on hold on SIP/IN-PROXY-08563908
   == Spawn extension (default, 99935709, 6) exited non-zero on 
'SIP/IN-PROXY-08563908'


The music is played instead of the RBT, but during the conversation, 
when put on hold, I only get silence and I don't get any reference in 
the console to the fact that the call has been put on hold.

Thanks.



More information about the asterisk-users mailing list