maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [HOWTO] Modify SIP Account to send SIP IM to telephone field (https://talk.maemo.org/showthread.php?t=74792)

tarek 2011-07-09 19:11

[HOWTO] Modify SIP Account to send SIP IM to telephone field
 
Hello all,

I finally made the switch to Anveo, which permits incoming and outgoing SMS via SIP IM. However, the contact list would not permit me to send messages unless I set the number in a special "SIP" field.

To have SIP IM enabled for the field TEL (any telephone number), I made the following change:

Code:

vi /usr/share/osso-rtcom/sip.profile
Then add "TEL" after "X-SIP" for [Action chat]. That area should look as below:

Code:

[Action chat]
Name = addr_bd_cont_starter_im_service_chat
IconName = general_sms
VCardFields = X-SIP,TEL
prop-org.freedesktop.Telepathy.Channel.ChannelType-s = org.freedesktop.Telepathy.Channel.Type.Text

The down-side is that instead of saying "SIP IM" or "SMS", or something, it says "addr_bd_cont_starter_im_service_chat". I am unsure how to find where the string lives, but am searching for it now in a few places.

tarek : )

yoush 2011-07-09 20:22

Re: [HOWTO] Modify SIP Account to send SIP IM to telephone field
 
As I can see, string lives in Name field above

tarek 2011-07-09 22:12

Re: [HOWTO] Modify SIP Account to send SIP IM to telephone field
 
Quote:

Originally Posted by yoush (Post 1047927)
As I can see, string lives in Name field above

Not exactly. Yes that is where things are getting called, however the "SIP IM" string, which is drawn from the same action, is properly localized. As I understand it, it's something in /usr/locale, so I will search there to try to figure it out.

tarek : )


All times are GMT. The time now is 11:10.

vBulletin® Version 3.8.8