All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Query related to UDUB for voice calls.
Date: Fri, 01 Oct 2010 17:56:11 -0500	[thread overview]
Message-ID: <4CA6670B.90606@gmail.com> (raw)
In-Reply-To: <C681C76E0D5F1E4BB01DE79E0A80EEC702AC93D5@usrdes03.ebgroup.elektrobit.com>

[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]

Hi Rajesh,

Please, NO top posting on this list.

On 10/01/2010 04:31 PM, Rajesh.Nagaiah(a)elektrobit.com wrote:
> Hi Sankar, 
> 
> My understanding is that when a call is rejected by the user,
> irrespective of whether its an incoming call or a waiting call, the
> cause value for the release call should be set to UDUB, so that for the
> remote subscriber the User Busy note will be shown in the UI if the
> voice mailbox is not configured. In the message based modem case, we set
> the cause value to UDUB with the release call request and in the AT
> based modem case we should send AT+CHLD=0, which will in turn set UDUB.
> So for the Incoming call hangup case if we call vc->driver->hangup(vc,
> generic_callback, vc); in AT case it will send AT+CHUP which i am not
> sure is inturn going to set the cause value to UDUB or not (Someone with
> AT based modem experience can confirm this ???), but for message based
> modem case its going to call the release call request with cause value
> Release by user, which will be translated to normal call clearing.
> So in ofono core the hangup case for Incoming call should be handled in
> same way as Waiting call by calling vc->driver->set_udub(vc,
> generic_callback, vc);
> instead of vc->driver->hangup(vc, generic_callback, vc);, so that UDUB
> cause is sent to the remote party
> 

Unfortunately AT modems do not allow any CHLD operations on incoming
calls, including CHLD=0.  CHLD=0 can only be used to set UDUB on waiting
calls.  To release incoming calls you must use ATH or +CHUP.  Since AT
command modems are the only ones described by 3GPP standards, that is
the modem interface oFono assumes.

If your modem deviates from this standard, then you need to make sure to
send the proper release cause for incoming calls in the driver for your
target hardware.

Regards,
-Denis

  reply	other threads:[~2010-10-01 22:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-01  9:33 Query related to UDUB for voice calls Sankar
2010-10-01 21:31 ` Rajesh.Nagaiah
2010-10-01 22:56   ` Denis Kenzior [this message]
2010-10-04  6:58     ` Sankar
2010-10-04 12:16       ` Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA6670B.90606@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.