Robert Rozman
2005-Jan-27 03:17 UTC
[Asterisk-Users] Moh in meetme doesn't work if I transfer to meetme
Hi, if I dial meetme from extension 200 directly it works ok - I get moh as only user (first trace). If I dial to other local extension and trasfer from there I get second trace... Apparent difference between those two is warning : Jan 27 11:06:33 WARNING[6133]: res_musiconhold.c:466 moh_alloc: No class: random What this could mean ? Direct Call log-----------------------------------------: Jan 27 11:02:23 DEBUG[6133]: chan_iax2.c:5762 socket_read: We don't do requested format ilbc, falling back to peer capability 1550 -- Accepting AUTHENTICATED call from 192.168.0.101, requested format 1024, actual format = 2 -- Executing MeetMe("IAX2/200@200/1", "81|pMs") in new stack == Parsing '/etc/asterisk/meetme.conf': Found == Parsing '/etc/asterisk/meetme_additional.conf': Found Jan 27 11:02:23 WARNING[6133]: channel.c:1901 ast_request: No channel type registered for 'zap' Jan 27 11:02:23 WARNING[6133]: app_meetme.c:227 build_conf: Unable to open pseudo channel - trying device -- Created MeetMe conference 1023 for conference '81' Jan 27 11:02:23 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 160 sample intervals -- Playing 'conf-onlyperson' (language 'si') Jan 27 11:02:23 DEBUG[6133]: chan_iax2.c:5346 socket_read: Ooh, voice format changed to 2 Jan 27 11:02:27 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 0 sample intervals Jan 27 11:02:27 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 0 sample intervals Jan 27 11:02:27 DEBUG[6133]: app_meetme.c:695 conf_run: Placed channel IAX2/200@200/1 in ZAP conf 1023 -- Started music on hold, class 'default', on IAX2/200@200/1 Jan 27 11:02:27 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 160 sample intervals Jan 27 11:02:27 DEBUG[6133]: channel.c:1379 ast_read: Generator got voice, switching to phase locked mode Jan 27 11:02:27 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 0 sample intervals Jan 27 11:02:37 DEBUG[6133]: chan_iax2.c:5528 socket_read: Immediately destroying 1, having received hangup Jan 27 11:02:37 WARNING[6133]: app_meetme.c:962 conf_run: Unable to write frame to channel: Resource temporarily unavailable -- Stopped music on hold on IAX2/200@200/1 ---------------------------------------------------------------------- Now if I dial another local extension (201) and transfer to conference from there, moh doesn't start. I get: ---------------------------------------------------------------------------- ------------------------------- == Channel 'IAX2/200@200/1' jumping out of macro 'dial' == Channel 'IAX2/200@200/1' jumping out of macro 'exten-vm' -- Executing MeetMe("IAX2/200@200/1", "81|pMs") in new stack == Parsing '/etc/asterisk/meetme.conf': Found == Parsing '/etc/asterisk/meetme_additional.conf': Found Jan 27 11:06:30 WARNING[6133]: channel.c:1901 ast_request: No channel type registered for 'zap' Jan 27 11:06:30 WARNING[6133]: app_meetme.c:227 build_conf: Unable to open pseudo channel - trying device -- Created MeetMe conference 1023 for conference '81' Jan 27 11:06:30 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 160 sample intervals -- Playing 'conf-onlyperson' (language 'si') Jan 27 11:06:33 DEBUG[6133]: acl.c:176 ast_apply_ha: ##### Testing 192.168.0.160 with 192.168.0.0 Jan 27 11:06:33 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 0 sample intervals Jan 27 11:06:33 DEBUG[6133]: channel.c:1128 ast_settimeout: Scheduling timer at 0 sample intervals Jan 27 11:06:33 DEBUG[6133]: app_meetme.c:695 conf_run: Placed channel IAX2/200@200/1 in ZAP conf 1023 Jan 27 11:06:33 WARNING[6133]: res_musiconhold.c:466 moh_alloc: No class: random Jan 27 11:06:37 DEBUG[6133]: chan_sip.c:1309 create_addr: Setting NAT on RTP to 0 Jan 27 11:06:37 DEBUG[6133]: chan_sip.c:1313 create_addr: Setting NAT on VRTP to 0 Jan 27 11:06:37 DEBUG[6133]: acl.c:176 ast_apply_ha: ##### Testing 192.168.0.160 with 192.168.0.0 Jan 27 11:06:37 DEBUG[6133]: chan_sip.c:840 __sip_ack: Stopping retransmission on '5fbd3f4610f8a9360278eb7379f41bde@posta.etrust.si' of Request 102: Found Jan 27 11:06:42 DEBUG[6133]: chan_iax2.c:5528 socket_read: Immediately destroying 1, having received hangup Jan 27 11:06:42 WARNING[6133]: app_meetme.c:962 conf_run: Unable to write frame to channel: No such file or directory Thanks in advance, Rob.
timebandit001@gmail.com
2005-Jan-27 13:10 UTC
[Asterisk-Users] Moh in meetme doesn't work if I transfer to meetme
It's hard to tell without seeing your config files, but ... your first trace show : -- Started music on hold, class 'default', on IAX2/200@200/1 while your second trace show : res_musiconhold.c:466 moh_alloc: No class: random So it looks like the context the tranfert is from as MOH class defined as "random" but you don't have a class "random" defined in musiconhold.conf, but "default" is defined. HTH