Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] default.xml: accept SMS with SMSC num "123"
Date: Thu, 30 Aug 2012 12:03:54 -0500	[thread overview]
Message-ID: <503F9CFA.7040209@gmail.com> (raw)
In-Reply-To: <1346336297-13287-1-git-send-email-nicolas.bertrand@linux.intel.com>

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

Hi Nicolas,

On 08/30/2012 09:18 AM, Nicolas Bertrand wrote:
> Reply to the SMS pdu with CMGS:0 when SMSC is set to "123".
> This is used by Send SMS in Demo sim app
> ---
>   src/default.xml |    7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/src/default.xml b/src/default.xml
> index 568259b..78fc9ae 100644
> --- a/src/default.xml
> +++ b/src/default.xml
> @@ -2757,6 +2757,13 @@
>   	<response>+CMGS: 0\n\nOK</response>
>   	<switch name="default"/>
>       </chat>
> +
> +<chat>
> +<!-- Accept messages with SMSC set to 123 (STK app) -->
> +<command>038121F3*</command>
> +<response>+CMGS: 0\n\nOK</response>
> +<switch name="default"/>
> +</chat>

Is there a reason we can't modify the existing default rule to accept 
every SMS?

>   </state>
>
>   <chat>

Regards,
-Denis

      reply	other threads:[~2012-08-30 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 14:18 [PATCH] default.xml: accept SMS with SMSC num "123" Nicolas Bertrand
2012-08-30 17:03 ` Denis Kenzior [this message]

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=503F9CFA.7040209@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox