I solved changing chan_sip.c, moving the "ast_quiet_chan(peerb);" (line 14086) to go inside the "if(peerd)" if, right below, dont forget to put the {}!<br><br>Ortiz<br><br><br><div class="gmail_quote">2009/12/13 nico kooijman <span dir="ltr"><<a href="mailto:syspert@gmail.com">syspert@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Dulip,<div><br></div><div>Thanks for your reply. But the musiconhold is heard bij de transferer, but is gone after the transfer to the caller. In the event logging I only see the message that the Musiconhold is stopped on the channel that will be masqueraded to the caller channel.</div>
<div><br></div><div>I made a simple test to skip the ast_quiet_chan and the musiconhold was heard by the caller after the transfer in chan_sip.c function attempt_transfer..</div><div><br></div><div>Regards Nico</div><div>
<br><div class="gmail_quote">2009/12/13 Dulip Ravindra <span dir="ltr"><<a href="mailto:duliprb2005@yahoo.com" target="_blank">duliprb2005@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
<div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;">Hello Nico, <br><div><div></div><div><br>I found the following problem in using Asterisk. In version <span style="font-weight: bold;">1.2.26.1</span> and in <span style="font-weight: bold;">1.6.2</span> (RC6) after an attended transfer of a caller.<br>
<br>Caller calls transferer, transferer calls a queue and hears musiconhold.<br>
<span style="font-weight: bold;"><br>[**********The call is transfered and the caller is connected to the queue but doesn't hear anything.**********]</span><br><br>When a blind transfer method is used the problem does not occur <br>
<br>On
a attended transfer the other way around also does not work, I'm not
questioning why, but if someone calls a queue and then transfers the
call attended to a callee also the musiconhold is not played anymore.<br></div></div>-------------------------------------------------------<br><br>I also got the same problem. and I resolved it. <br><br>Please make sure firstly is that music file that you are going to use on this case having a appropriate permissions that can read by asterisk. <br>
it is located at /var/lib/aserisk/mohmp3 as I remember. <br><br>to do that in linux command prompt <br><br>1. chown asterisk:asterisk /var/lib/asterisk/mohmp3/* <br>2. chmod 777 /var/lib/asterisk/mohmp3/* <br><br>but I dont having idea about blind transfer. so if there is a possible solutions let me know also. thanks. <br>
<br>Dulip Ravindra.<br><br> <br><br><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1">
<b><span style="font-weight: bold;">From:</span></b> nico kooijman <<a href="mailto:syspert@gmail.com" target="_blank">syspert@gmail.com</a>><br><b><span style="font-weight: bold;">To:</span></b> <a href="mailto:asterisk-dev@lists.digium.com" target="_blank">asterisk-dev@lists.digium.com</a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Fri, December 11, 2009 3:42:26 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [asterisk-dev] Music on hold after an attended transfer to a queue.<br></font><div>
<div></div><div><br>
Hello,<br><br>I found the following problem in using Asterisk. In version 1.2.26.1 and in 1.6.2 (RC6) after an attended transfer of a caller.<br><br>Caller calls transferer, transferer calls a queue and hears musiconhold.<br>
The call is transfered and the caller is connected to the queue but doesn't hear anything.<br><br>When a blind transfer method is used the problem does not occur <br><br>On a attended transfer the other way around also does not work, I'm not questioning why, but if someone calls a queue and then transfers the call attended to a callee also the musiconhold is not played anymore.<br>
<br>Regards Nico<br>
</div></div></div></div>
</div><br>
</div><br></div></div>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>