You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by markbdaniels <ma...@ratendate.com> on 2012/07/04 17:36:46 UTC

Camel SMPP issue - alphabet option/data_coding issue (2.10.0)

Hi,

Apologies if this is not the correct place for my question. I am new to both
SMPP and Camel.

I am experiencing an issue with setting the data_coding variable in my
submit_sm.
Camel allows me to set this variable by using the alphabet option in the
camel URI. The allowed values are -1, 0, 4, 8...
I would expect the value to be passed on in the data_coding variable in the
PDU but it does not. For example if I use -1(default) or 0, then 0x11 (17)
is actually passed through - 0x11 is not a valid value for data_coding  as
per the SMPP spec.

After much googling, I have found a few posts with the same issue. And even
two Camel Jira which states the issues was fixed in 2.9.0 (I am using
2.10.0).

Jira: https://issues.apache.org/jira/browse/CAMEL-4491
Another Jira: https://issues.apache.org/jira/browse/CAMEL-3834

Any help will be appreciated.

Cheers,

Mark

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-issue-alphabet-option-data-coding-issue-2-10-0-tp5715494.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SMPP issue - alphabet option/data_coding issue (2.10.0)

Posted by Christian Müller <ch...@gmail.com>.
I will have a look into it for Camel 2.11. There are some other outstanding
tickets for camel-smpp where I plan to work on.

Best,
Christian

On Sun, Jul 8, 2012 at 7:47 AM, Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> Can you create a JIRA ticket. We should maybe allow people to configure
> this.
>
>
> On Thu, Jul 5, 2012 at 11:24 AM, markbdaniels <ma...@ratendate.com> wrote:
> > Hi,
> >
> > I managed to get the SmppSubmitSmCommand.java to behave how I would like
> it
> > to by changing:
> >
> > template.setDataCoding(new GeneralDataCoding(false, true,
> > MessageClass.CLASS1, determinedAlphabet).value());
> > to:
> > template.setDataCoding(new GeneralDataCoding(false, false,
> > MessageClass.CLASS0, determinedAlphabet).value());
> >
> >
> > I am not sure if this is the correct thing to do, but I have managed to
> > successfully send a SMS to the network.
> >
> > Cheers,
> >
> > Mark
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Camel-SMPP-issue-alphabet-option-data-coding-issue-2-10-0-tp5715494p5715527.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: Camel SMPP issue - alphabet option/data_coding issue (2.10.0)

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Can you create a JIRA ticket. We should maybe allow people to configure this.


On Thu, Jul 5, 2012 at 11:24 AM, markbdaniels <ma...@ratendate.com> wrote:
> Hi,
>
> I managed to get the SmppSubmitSmCommand.java to behave how I would like it
> to by changing:
>
> template.setDataCoding(new GeneralDataCoding(false, true,
> MessageClass.CLASS1, determinedAlphabet).value());
> to:
> template.setDataCoding(new GeneralDataCoding(false, false,
> MessageClass.CLASS0, determinedAlphabet).value());
>
>
> I am not sure if this is the correct thing to do, but I have managed to
> successfully send a SMS to the network.
>
> Cheers,
>
> Mark
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-issue-alphabet-option-data-coding-issue-2-10-0-tp5715494p5715527.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: Camel SMPP issue - alphabet option/data_coding issue (2.10.0)

Posted by markbdaniels <ma...@ratendate.com>.
Hi,

I managed to get the SmppSubmitSmCommand.java to behave how I would like it
to by changing:

template.setDataCoding(new GeneralDataCoding(false, true,
MessageClass.CLASS1, determinedAlphabet).value());
to:
template.setDataCoding(new GeneralDataCoding(false, false,
MessageClass.CLASS0, determinedAlphabet).value());


I am not sure if this is the correct thing to do, but I have managed to
successfully send a SMS to the network.

Cheers,

Mark

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-issue-alphabet-option-data-coding-issue-2-10-0-tp5715494p5715527.html
Sent from the Camel - Users mailing list archive at Nabble.com.