Re: [PATCH] account parameter for MO/DLR, non intrusive
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Stipe Tolj schrieb:
> Hi list,
>
> first of all, my apologies for being so quite a long time. I'll try to grep some
> road on the devel@ list at least and keep track.
>
> Here is a very simple patch, a two liner, literally. It simply ensures that the
> SMPP username is duplicated to the msg->sms.account variable for MO and DLR
> messages. Currently we don't populate this one. And we want to preserve the same
> "semantics/logic" for the MO direction case here as for the MT case.
>
> It allows to use the '%o' escape code in a sms-service group i.e. to pass the
> used SMPP account username.
>
> If no objections apply, I'll commit shortly.
committed to cvs.
2009-06-04 Stipe Tolj <stolj at kannel.org>
* gw/smsc/smsc_smpp.c: add the SMPP username as msg->sms.account value, so
we can use it in the urltrans layer with escape code '%o'. This makes
the semantics for MT/MO direction similar.
Stipe
--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 DÃŒsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------