View Single Post
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#290
Originally Posted by faf View Post
hi. first of all, thank you, this is an awesome application.

i found potential trouble with grps connection handling. there could be situations when there are more than one such connection available. for example, one for internet-over-gprs and one for mms (via fmms / fapn pair).

in such case smscon-daemon, as far as i can understand, will use the first gprs connection he found, and if it will be the one for mms only then email just will not be sent.

actually, i haven't any clue about how to define the exact subtype of the grps connection. the only solution that came to my mind was to check gprs_accesspointname param in the gconftool output for whether it contains "mms." substring. (patch attached.)

but it's a kind of quick-and-dirty hacks. has anybody any better suggestions?
Sorry for the late reaction (didn't see your post until now), but smscon_daemon detects the current available GPRS internet connection (from the currently inserted SIM card) by comparing it's IMSI number by the saved IMSI number in smscon_code file, so if you are using more than one SIM card in your phone it can pickout the right saved connection to activate succesfully when needed.