----- Original Message ----- From: "Vincent CHAVANIS" <[EMAIL PROTECTED]>
To: <devel@kannel.org>
Sent: Tuesday, April 03, 2007 11:27 AM
Subject: Re: [PATCH] Group_id for MMC


If we keep id in config file, we should aplpy this

diff -rbau /mbuni-cvs/mmsbox/mmsbox_cfg.c /mbuni/mmsbox/mmsbox_cfg.c
--- /mbuni-cvs/mmsbox/mmsbox_cfg.c 2007-04-02 21:36:58.000000000 +0200
+++ /mbuni/mmsbox/mmsbox_cfg.c  2007-04-03 11:21:55.000000000 +0200
@@ -146,7 +146,7 @@
         m->id = _mms_cfg_getx(x, octstr_imm("id"));
          if (octstr_len(m->id) < 1)
- panic(0,"Missing required value `mmsc-id' in config file!");
+              panic(0,"Missing required value `id' in config file!");
          m->group_id = _mms_cfg_getx(x, octstr_imm("group-id"));
          if (octstr_len(m->group_id) < 1)
              m->group_id = octstr_duplicate(m->id);

Vincent.

----- Original Message ----- From: "Paul Bagyenda" <[EMAIL PROTECTED]>
To: "Vincent CHAVANIS" <[EMAIL PROTECTED]>
Cc: "Mbuni MMS Gateway Developers" <devel@mbuni.org>
Sent: Monday, April 02, 2007 7:29 AM
Subject: Re: [PATCH] Group_id for MMC


Applied + committed to CVS, with a few changes. Thanks

P.

On Mar 30, 2007, at 18:35, Vincent CHAVANIS wrote:

Here is the patch
Notice : - mms-id should not be optionnal as mentionned in the doc
- group-id is set to mms-id if not defined.
- mmsbox will exit if mms-id is empty.

Vincent.

--
Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
Service Technique/Reseau - NOC Developpement SMS/MMS/Kiosques
http://www.telemaque.fr/
[EMAIL PROTECTED]
Tel : +33 4 92 90 99 84 (fax 9142)
<group_id_patch.txt>


_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel

Reply via email to