Open Source Telephony
 help / color / mirror / Atom feed
From: Viallard Anthony <viallard@syscom-instruments.com>
To: ofono@ofono.org
Subject: Re: Randomly SMS sent passes or fails
Date: Tue, 02 Apr 2013 17:25:42 +0200	[thread overview]
Message-ID: <515AF876.8010500@syscom-instruments.com> (raw)
In-Reply-To: <515AF457.2000102@gmail.com>

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

Hi,

On 02. 04. 13 17:08, Denis Kenzior wrote:
>
> I doubt provisioning has anything to do with this. That is only for
> activating a context.

Indeed, I tried to remove duplicate entries, provisioning is good but 
SMS fail with GPRS enabled.

I see stange behavior too. When I try to re-enabled a disabled GPRS 
context (Active true --> Active false --> Active true), I've got an error:

----------------------------
ofonod[25358]: Modem: > AT+CGDATA="PPP",1\r
ofonod[25358]: Modem: < \r\nCONNECT 115200\r\n
ofonod[25358]: drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 1
ofonod[25358]: drivers/atmodem/gprs-context.c:setup_ppp()
ofonod[25358]: drivers/atmodem/gprs-context.c:ppp_connect()
ofonod[25358]: IP: 10.47.176.26
ofonod[25358]: DNS: 10.74.210.210, 10.74.210.211
ofonod[25358]: src/gprs.c:pri_activate_callback() 0x101a58
ofonod[25358]: plugins/udev.c:udev_event() subsystem net add
ofonod[25358]: plugins/udev.c:udev_event() subsystem net finished
ofonod[25358]: plugins/udevng.c:check_modem_list()
ofonod[25358]: 
drivers/atmodem/gprs-context.c:at_gprs_deactivate_primary() cid 1
ofonod[25358]: plugins/udevng.c:remove_device() 
/sys/devices/virtual/net/ppp0
ofonod[25358]: plugins/udev.c:udev_event() subsystem net remove
ofonod[25358]: plugins/udev.c:remove_modem() /devices/virtual/net/ppp0
ofonod[25358]: plugins/udev.c:udev_event() subsystem net finished
ofonod[25358]: drivers/atmodem/gprs-context.c:ppp_disconnect() Reason: 6
ofonod[25358]: Modem: < \r\nNO CARRIER\r\n
ofonod[25358]: Data: < \r\nNO CARRIER\r\n
ofonod[25358]: drivers/atmodem/gprs-context.c:at_gprs_activate_primary() 
cid 1
ofonod[25358]: src/gprs.c:pri_activate_callback() 0x101a58
ofonod[25358]: src/gprs.c:pri_activate_callback() Activating context 
failed with error: Unknown error type
----------------------------

But it works well on the first activation... I need to investiguate this 
issue to see what happenning in the source code.

>
> This is automatic provisioning. If there are multiple possibilities that
> fit, then this requires user input. Obviously oFono does not support
> user input, so a UI of some sort to finish provisioning is required.
>

Yes of course ! Sorry, I've chocolate instead of brain since few days.

Regards,

      reply	other threads:[~2013-04-02 15:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 15:27 Randomly SMS sent passes or fails Viallard Anthony
2013-03-05 20:43 ` Denis Kenzior
2013-03-06  9:23   ` Viallard Anthony
2013-03-11 14:53     ` Viallard Anthony
2013-03-12 18:13       ` Denis Kenzior
2013-03-13 16:11         ` Viallard Anthony
2013-03-28  9:02   ` Viallard Anthony
2013-03-28 14:24     ` Denis Kenzior
2013-04-12 13:08       ` Viallard Anthony
2013-05-02 16:40         ` Viallard Anthony
2013-05-02 18:36           ` Denis Kenzior
2013-05-21 14:20             ` Viallard Anthony
2013-03-28 14:29     ` Viallard Anthony
2013-03-28 14:42       ` Denis Kenzior
2013-03-28 16:29         ` Viallard Anthony
2013-03-28 18:05           ` Denis Kenzior
2013-04-02 13:49             ` Viallard Anthony
2013-04-02 15:08               ` Denis Kenzior
2013-04-02 15:25                 ` Viallard Anthony [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=515AF876.8010500@syscom-instruments.com \
    --to=viallard@syscom-instruments.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