what?!! no replies!?!! :P

weird thing, CIMD2 spec says that Service Description is single-digit,
but Mister Smart wants 2-digit. It seems they are setting TCSD to be
the same for all CPs, making the whole exercise pointless..

anyway i did a really dumb "fix" to set the SD hard-coded in smsc_cimd2.c:

/* Use binfo to set the tariff class */
if (octstr_len(msg->sms.binfo)) {
 packet_add_parm(packet, P_INT, P_TARIFF_CLASS, msg->sms.binfo, conn);
 packet_add_parm(packet, P_INT, P_SERVICE_DESCRIPTION,
octstr_create("29"), conn);
}

bwahahaha! I'm not too proud of this though.   :P

On Wed, 15 Sep 2004 10:21:08 +0800, Orlando Andico
<[EMAIL PROTECTED]> wrote:
> when using the CIMD2 connection, how does one set the Service
> Description field? (0-99 I believe). I understand that setting "binfo"
> will set the Tariff Class. this is in 1.3.2, i'm not inclined to go
> mucking around in CVS.
>
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to