Re: Alternate Line Service (ALS) support
On Sun, 2010-05-30 at 14:07 +0200, ext Christopher Intemann wrote: > On Fri, May 28, 2010 at 2:05 PM, Pekka Pessi > wrote: > > > > You can test what the command > > dbus-send --system --type=method_call --print-reply=True \ > --dest=com.nokia.csd.SS /com/nokia/csd/ss \ > com.nokia.csd.SS.CheckDivert string:21 string:89 > > returns. If it does not return error > > com.nokia.csd.SS.Error.TeleServiceNotProvisioned: Tele service > not > provisioned > > you can try to redirect calls to your line 1 number with > command > > dbus-send --system --type=method_call --print-reply=True \ > --dest=com.nokia.csd.SS /com/nokia/csd/ss \ > com.nokia.csd.SS.RegisterDivert string:21 string:89 \ > string: uint32:0 > > Wow, thanks, thats at least a beginning! > So USSD codes are the only thing that works on line 2, Don't know about USSD - of course you can try dbus-send --system --type=method_call --print-reply=True \ --dest=com.nokia.csd.SS /com/nokia/csd/ss \ com.nokia.csd.SS.USSD.Command string:'*#21**89#' string: and see what you get for response. Call-UI does not recognize the non-standard basic service number (89) used for ALS, so you can not enter the code directly on call ui. > or is there any way to switch to the second line for outgoing calls as > well? It would also be great if it was possible to set a different > ring tone for incoming line 2 calls... The modem does not support ALS line 2, it would have required special modem firmware. With the current modem firware, you can only divert line 2 calls to line 1. --Pekka ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Alternate Line Service (ALS) support
On Thu, 2010-05-27 at 23:34 +0200, ext Christopher Intemann wrote: > I have the CPHS service alternate line service activate on my simcard. > This service features a seperated line with a second number to > distinguish between business and private calls. On many Nokia > handsets, one can switch between lines by holding the hash button for > a few seconds. > The N900 does not officialy support this service. > I read somewhere that it was possible to at least receive calls on the > second line. > However, when I try to call my phone on the second line, the call will > not get through. > Is there any way to acivate the second line on the N900 at least for > incomming calls? You can test what the command dbus-send --system --type=method_call --print-reply=True \ --dest=com.nokia.csd.SS /com/nokia/csd/ss \ com.nokia.csd.SS.CheckDivert string:21 string:89 returns. If it does not return error com.nokia.csd.SS.Error.TeleServiceNotProvisioned: Tele service not provisioned you can try to redirect calls to your line 1 number with command dbus-send --system --type=method_call --print-reply=True \ --dest=com.nokia.csd.SS /com/nokia/csd/ss \ com.nokia.csd.SS.RegisterDivert string:21 string:89 \ string: uint32:0 --Pekka ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: g_enum_get_value_by_name
Arto Karppinen writes: >I need to save and read an enum from a GKeyFile. I was going save the >value as a string into the keyfile and use g_enum_get_value_by_name() to >parse the value, but i cant figure out how to get the GEnumClass parameter. >GEnumValue* g_enum_get_value_by_name(GEnumClass *enum_class, > const gchar *name); g_type_class_ref() and then unref or if you already have ref'ed, g_type_class_peek(). --Pekka ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers