[asterisk-users] Placing a SIP Call on Hold

Venkateshwarlu Kakkireni venkat.k at iconsultech.com
Sun Aug 9 14:08:04 CDT 2009


Kevin, Thanks for the reply... I don't have a problem if my end phones don't
know about Hold & users can't take the call off hold. 

However, I am not sure transferring both the channels to MeetMe would solve
my problem as it might split the call recordings into two diff files (though
not sure about the same). I am just looking for may be a fake hold like
agents channel is muted & MOH is played on customer's channel. I have seen
this working in a solution but could not figure out how they did it as it is
a patented software. I am trying to achieve this through AMI.

Can I mute a connected channel? Also, can I play MOH on a specific channel
without transferring it to a different MOH extension or MeetMe? I am pretty
new to the dialplans & your help would be very much appreciated... Thanks in
advance...

Thanks & Regards,
Venkat

Info Consultech Pvt. Ltd. email notice: The information contained in this
email and any attachments is confidential and may be subject to copyright or
other intellectual property protection. If you are not the intended
recipient, you are not authorized to use or disclose this information, and
we request that you notify us by reply mail or telephone and delete the
original message from your mail system.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: 08 August 2009 20:11
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Placing a SIP Call on Hold

Venkateshwarlu Kakkireni wrote:
> Thanks for a quick reply... This link just shows how to set MOH feature if
> the phone has "hold" feature. I want to place a call on hold irrespective
of
> SIP phones used... If I create an MOH extension as shown & transfer the
> calls to that extension and then if one party disconnects the call, the
> other party is still hearing the MOH...

If your goal is to achieve the same result as if one of the SIP phone
users had placed their end of the call on hold, you won't be able to
accomplish it. There is no method to trigger one of the SIP endpoints
placing the call on hold.

It would be possible (although there isn't currently a mechanism for
doing so) to make Asterisk initiate the transition to on-hold for both
legs of the call, but there would be no way for the phone users to take
the call off hold, since their phones did not put the call on hold in
the first place.

If you don't care whether the phones actually know that they are on
hold, a brute-force solution would be to redirect both channels into a
MeetMe, with both channels muted so they can't speak to each other, and
have a third channel playing MOH into the MeetMe. When you want to pull
them back off of this 'fake hold', just drop the MOH-playing channel and
unmute both of the phone channels so they can talk to each other again.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list