long message sent problem

2010-09-02 Thread info
Hi,

My name is Levon, I represent Paradox company in Armenia. We are using your 
Kannel software. We have a problem with it now. When we sent message with 
simbols more then 160 figures are changing to some kind of hieroglyphs and 
messages are being sent with hieroglyphs. The problem is connected with 
multimessage sending. Please help us to solve this problem.

Regards,
Levon Harutyunyan.

RE: Invalid SMPP PDU received SMPPBOX

2010-09-02 Thread Rene Kluwen
What error do you get?

 

== Rene

 

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On
Behalf Of Anshu Sah
Sent: Friday, 03 September, 2010 02:44
To: users
Cc: Rene Kluwen; Nikos Balkanas
Subject: Invalid SMPP PDU received SMPPBOX

 

Hello Rene,

After Updating Files from SVN Trunk I am able to install SMPPBOX
But I am getting Some error. I am pasting my SMPPBOX config & Login file
Text
Also SMPP Group Content


Please guide.

Regards
Anshu

===
group=smsc
smsc=smpp
smsc-id=SMSC1
host = 
port = 2345
receive-port = 2345
log-file = "/projects/kannel/logs/SMSC1.log"
log-level = 0
smsc-username = "x"
smsc-password = ""
msg-id-type = 0x01
transceiver-mode=1
system-type = 'default'
interface-version = 34

group = smsbox
smsbox-id = BOX1
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "/projects/kannel/logs/BOX1.log"
log-level = 0

group = smsbox-route
smsbox-id = BOX1
smsc-id = "SMSC1"
===

# this group defines your smppbox
group = smppbox
# our boxc type
smppbox-id = ChimpMaster
# the port to listen on for smpp connections
smppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13013
log-level = 0
use-systemid-as-smsboxid = false
log-file = /projects/kannel/logs/ChimpMaster.log
our-system-id = ChimpMaster
route-to-smsc = SMSC1
# see sample smpplogins.txt
smpp-logins = "/projects/kannel/configs/smpplogins.txt"


smpplogins.txt

goodclientsecretBOX1
=



Re: Multiple SMSBOXs for Kannel

2010-09-02 Thread Nikos Balkanas

Yes. Try:

./smsbox -v 1 /projects/kannel/configs/SMPP_146.inc

Where SMPP_146.inc is configuration for 2nd smsbox.

BR,
Nikos
- Original Message - 
From: Anshu Sah

To: Rene Kluwen
Cc: users
Sent: Friday, September 03, 2010 1:24 AM
Subject: Re: Multiple SMSBOXs for Kannel


Hello sir,

Right now i write this command to start SMSBOX

./smsbox -v 1 /projects/kannel/configs/SMPP_145.inc

Which start BOX2 by default, DO i need to Write any diff. command to start 
BOX1 Or same command will work


Regards
Anshu



On Fri, Sep 3, 2010 at 3:44 AM, Rene Kluwen  wrote:

You need to have multiple smsboxes connected. Which means starting up smsbox 
twice, each with its own smsbox.conf.


== Rene

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On 
Behalf Of Anshu Sah

Sent: Friday, 03 September, 2010 00:07
To: users
Cc: Rene Kluwen
Subject: Multiple SMSBOXs for Kannel

Hello Rene,

At one more Place I am stuck, I Have Declared 2 SMSC & in same way declaring 
2 SMSBOXs but when i am running kannel, It is showing one SMSBOX connected


#
group = smsbox-route
smsbox-id = BOX1
smsc-id = "SMSCA"

group = smsbox-route
smsbox-id = BOX2
smsc-id = "SMSCB"
#

Regards,
Anshu 





Invalid SMPP PDU received SMPPBOX

2010-09-02 Thread Anshu Sah
Hello Rene,

After Updating Files from SVN Trunk I am able to install SMPPBOX
But I am getting Some error. I am pasting my SMPPBOX config & Login file
Text
Also SMPP Group Content


Please guide.

Regards
Anshu

===
group=smsc
smsc=smpp
smsc-id=SMSC1
host = 
port = 2345
receive-port = 2345
log-file = "/projects/kannel/logs/SMSC1.log"
log-level = 0
smsc-username = "x"
smsc-password = ""
msg-id-type = 0x01
transceiver-mode=1
system-type = 'default'
interface-version = 34

group = smsbox
smsbox-id = BOX1
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "/projects/kannel/logs/BOX1.log"
log-level = 0

group = smsbox-route
smsbox-id = BOX1
smsc-id = "SMSC1"
===

# this group defines your smppbox
group = smppbox
# our boxc type
smppbox-id = ChimpMaster
# the port to listen on for smpp connections
smppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13013
log-level = 0
use-systemid-as-smsboxid = false
log-file = /projects/kannel/logs/ChimpMaster.log
our-system-id = ChimpMaster
route-to-smsc = SMSC1
# see sample smpplogins.txt
smpp-logins = "/projects/kannel/configs/smpplogins.txt"


smpplogins.txt

goodclientsecretBOX1
=


Re: Multiple SMSBOXs for Kannel

2010-09-02 Thread Anshu Sah
Hello sir,

Right now i write this command to start SMSBOX

*./smsbox -v 1 /projects/kannel/configs/SMPP_145.inc*

Which start BOX2 by default, DO i need to Write any diff. command to start
BOX1 Or same command will work

Regards
Anshu


On Fri, Sep 3, 2010 at 3:44 AM, Rene Kluwen  wrote:

>  You need to have multiple smsboxes connected. Which means starting up
> smsbox twice, each with its own smsbox.conf.
>
>
>
> == Rene
>
>
>
> *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On
> Behalf Of *Anshu Sah
> *Sent:* Friday, 03 September, 2010 00:07
> *To:* users
> *Cc:* Rene Kluwen
> *Subject:* Multiple SMSBOXs for Kannel
>
>
>
> Hello Rene,
>
> At one more Place I am stuck, I Have Declared 2 SMSC & in same way
> declaring 2 SMSBOXs but when i am running kannel, It is showing one SMSBOX
> connected
>
> #
> group = smsbox-route
> smsbox-id = BOX1
> smsc-id = "SMSCA"
>
> group = smsbox-route
> smsbox-id = BOX2
> smsc-id = "SMSCB"
> #
>
> Regards,
> Anshu
>


RE: Multiple SMSBOXs for Kannel

2010-09-02 Thread Rene Kluwen
You need to have multiple smsboxes connected. Which means starting up smsbox
twice, each with its own smsbox.conf.

 

== Rene

 

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On
Behalf Of Anshu Sah
Sent: Friday, 03 September, 2010 00:07
To: users
Cc: Rene Kluwen
Subject: Multiple SMSBOXs for Kannel

 

Hello Rene,

At one more Place I am stuck, I Have Declared 2 SMSC & in same way declaring
2 SMSBOXs but when i am running kannel, It is showing one SMSBOX connected

#
group = smsbox-route
smsbox-id = BOX1
smsc-id = "SMSCA"

group = smsbox-route
smsbox-id = BOX2
smsc-id = "SMSCB"
#

Regards,
Anshu



Multiple SMSBOXs for Kannel

2010-09-02 Thread Anshu Sah
Hello Rene,

At one more Place I am stuck, I Have Declared 2 SMSC & in same way declaring
2 SMSBOXs but when i am running kannel, It is showing one SMSBOX connected

#
group = smsbox-route
smsbox-id = BOX1
smsc-id = "SMSCA"

group = smsbox-route
smsbox-id = BOX2
smsc-id = "SMSCB"
#

Regards,
Anshu


Re: Message payload

2010-09-02 Thread Hashim Abulebdeh
Hello Alvaro;
    Thanks for help, actually i tried to check the user manual but i didnt find 
anything regarding the meta-data, could you explain more..
 
thanks








- Original Message 
From: Alvaro Cornejo 
To: Hashim Abulebdeh 
Cc: users@kannel.org
Sent: Thu, September 2, 2010 11:11:00 PM
Subject: Re: Message payload

Try to use meta-data

Check user guide for details.

However I don't know if kannel allows you to send a "blanc" message.
ie no data in short_message parameter

Regards

Alvaro
|-|

Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Sep 2, 2010 at 1:48 PM, Hashim Abulebdeh  wrote:
> Hello...hope everybody doing fine.
>
> anybody can help me regarding how can i send a message_payload using kannel.
>
> her is the senario;
>
>     i am using kannel 1.4.3 to send SMSs, and i am working with an operator
> who wants me to send messages to the SMSC ( MTs ) in the message_payload
> optional parameter instead of short_message parameter.
>
> anybody can help me or have any suggestion?
>
> thanks a lot
>
>
>
>
>







Re: Message payload

2010-09-02 Thread Alvaro Cornejo
Try to use meta-data

Check user guide for details.

However I don't know if kannel allows you to send a "blanc" message.
ie no data in short_message parameter

Regards

Alvaro
|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Sep 2, 2010 at 1:48 PM, Hashim Abulebdeh  wrote:
> Hello...hope everybody doing fine.
>
> anybody can help me regarding how can i send a message_payload using kannel.
>
> her is the senario;
>
>     i am using kannel 1.4.3 to send SMSs, and i am working with an operator
> who wants me to send messages to the SMSC ( MTs ) in the message_payload
> optional parameter instead of short_message parameter.
>
> anybody can help me or have any suggestion?
>
> thanks a lot
>
>
>
>
>



Message payload

2010-09-02 Thread Hashim Abulebdeh
Hello...hope everybody doing fine.

anybody can help me regarding how can i send a message_payload using kannel.

her is the senario;

    i am using kannel 1.4.3 to send SMSs, and i am working with an operator 
who wants me to send messages to the SMSC ( MTs ) in the message_payload 
optional parameter instead of short_message parameter.

anybody can help me or have any suggestion? 

thanks a lot






Re: Meta data parameters in kannel snapshot version (31/08/2010)

2010-09-02 Thread Alvaro Cornejo
It is the expected behaviour.

What you set in config file are the instructions on how kannel should
"format" each meta-data parameter when send it through smpp. As those
are optional/special parameters not defined in kannel it need to add
or not that parameter on a per message/per connection basis.

Regards

Alvaro

|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Sep 2, 2010 at 5:35 AM, Jan van der Vyver  wrote:
> Dear Rene
>
> Thank you for the advice
>
> The following send-sms url works perfect:
>
> http://xxx.xxx.xxx.xx:13013/cgi-bin/sendsms?username=username&password=passw
> ord&meta-data=%3Fsmpp%3Fdestination_port%3D9280&text=TEST&to=263734625674
>
> So must  I then conclude that kannel currently is not using the meta-data
> option in the config file and ignoring it?  Is their a reason for this?  Or
> is this a bug?
>
> Kind Regards
>
> Jan
>
> -Original Message-
> From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
> Sent: 02 September 2010 12:25 AM
> To: j...@in2one.co.za; 'Alejandro Guerrieri'
> Cc: users@kannel.org
> Subject: RE: Meta data parameters in kannel snapshot version (31/08/2010)
>
> Instead of relying on Kannel's standard reply-text mechanism, you may want
> your php script to return nothing (empty string) in combination with
> omit-empty = true.
>
> Your script then does it's processing and posts the result via the
> sendsms-url back to Kannel, including the meta-data.
>
> == Rene
>
>
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Jan van der Vyver
> Sent: Wednesday, 01 September, 2010 23:38
> To: 'Alejandro Guerrieri'
> Cc: users@kannel.org
> Subject: RE: Meta data parameters in kannel snapshot version (31/08/2010)
>
> Hi
>
> Here is the url we use to test.
>
> http://xxx.xxx.xxx.xxx:/cgi-bin/sendsms?username=username&password=passw
> ord&to=0833795999&text=test&meta-data=%3Fsmpp%3Fdestination_port%3D9280
>
> This will work to test it.
>
> But I need it to work for the following case:
>
> Receive message via smpp -> kannel makes url call as configured -> kannel
> receives result from php script -> kannel send message back via smpp.
>
> Do I understand correct that the meta-data option set in my configuration
> below is set correct?
>
> Thank you for the help sofar.
>
> Jan
>
> From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com]
> Sent: 01 September 2010 04:53 PM
> To: j...@in2one.co.za
> Cc: Jonathan Zylberberg; users@kannel.org
> Subject: Re: Meta data parameters in kannel snapshot version (31/08/2010)
>
> "?smpp?destination_port=9280" must be url-encoded.
>
> Please try fixing that and post the complete url if it doesn't work, to rule
> out any ambiguities.
>
> Regards,
>
> Alex
> On Wed, Sep 1, 2010 at 4:24 PM, Jan van der Vyver  wrote:
> Dear Alex
>
> We tried to create the reply by adding the following to our sendsms url
>
> “&meta-data=?smpp?destination_port=9280”
>
> And by just echoing the message back on the sms-service
>
> “http://192.168.1.35/srs/ussd/handle.php?from=%p&to=%p&message=%r&binary=%b&;
> type=%i&time=%t"
>
> Is the meta-data option in the smsc config part ignored?
>
> Kind Regards
> Jan
>
>
>
> From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com]
> Sent: 01 September 2010 04:10 PM
> To: j...@in2one.co.za
> Cc: Jonathan Zylberberg; users@kannel.org
> Subject: Re: Meta data parameters in kannel snapshot version (31/08/2010)
>
> How are you creating the reply? I guess it's using a sendsms url? Please
> post it.
>
> Regards,
>
> Alex
>
>
> On Wed, Sep 1, 2010 at 3:55 PM, Jan van der Vyver  wrote:
> Dear All
>
> We are connecting to an SMSC for USSD purposes.
>
> We require to send a "destination_port=9280" meta-data in the outgoing smpp
> pdu.
>
> We have updated the kannel to the svn checkout made on 31/08/2010.
>
> Our current config  is included aswell as debug for incoming and outgoing
> messages.
>
> What are we configuring or doing wrong, why is the meta-data not set in the
> outgoing pdu.
>
> Kind Regards
>
> Jan
>
> Config:
>
> group = smsc
> smsc-id = USSD23
> smsc = smpp
> host = xxx.xxx.xxx.xxx
> port = 2775
> transceiver-mode = true
> smsc-username = ""
> smsc-password = ""
> system-type = ""
> service-type = ""
> address-range = ""
> meta-data = "%3Fsmpp%3Fdestination_port%3D9280"
> my-number = "178"
> source-addr-autodetect = no
> source-addr-ton = 6
> source-addr-npi = 0
> interface-version = 34
>
> group = sms-service
> keyword = default
> get-url =
> "http://192.168.1.35/srs/ussd/handle.php?from=%p&to=%p&message=%r&binary=%b&;
> type=%i&time=%t"
> accepted-smsc = USSD23
>
> group = smpp-tlv
> name = dest

RE: where to download Open smppbox

2010-09-02 Thread Rene Kluwen
As said, you need svn trunk.

Version 1.4.3 lacks some functionality that smppbox needs.

 

== Rene

 

 

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On
Behalf Of Anshu Sah
Sent: Thursday, 02 September, 2010 02:58
To: Rene Kluwen
Cc: users
Subject: Re: where to download Open smppbox

 

Hello Rene,

I am using Kannel 1.4.3 On ubuntu 10, WITH AMD 64 Bit PC

Regards
Anshu

On Thu, Sep 2, 2010 at 6:22 AM, Rene Kluwen  wrote:

Which version of Kannel did you install?

You need svn trunk.

 

== Rene

 

 

From: an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] On
Behalf Of Anshu Sah
Sent: Thursday, 02 September, 2010 00:42


To: Rene Kluwen
Cc: users
Subject: Re: where to download Open smppbox

 

Hello Rene,

The Configure command worked well after the command make install in the
Kannel folder.

But when i run "make". It given the below error. Please suggest.

--
Regards
Anshu

r...@msclient5:/projects/kannel/SMPPBox# make
make  all-recursive
make[1]: Entering directory `/projects/kannel/SMPPBox'
Making all in gw
make[2]: Entering directory `/projects/kannel/SMPPBox/gw'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gw -I../gw-g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
-I/usr/include/mysql -MT smppbox.o -MD -MP -MF ".deps/smppbox.Tpo" -c -o
smppbox.o smppbox.c; \
then mv -f ".deps/smppbox.Tpo" ".deps/smppbox.Po"; else rm -f
".deps/smppbox.Tpo"; exit 1; fi
smppbox.c:80:26: error: gw/meta_data.h: No such file or directory
smppbox.c: In function 'check_login':
smppbox.c:280: warning: ignoring return value of 'fscanf', declared with
attribute warn_unused_result
smppbox.c: In function 'send_pdu':
smppbox.c:522: warning: passing argument 1 of 'smpp_pdu_pack' from
incompatible pointer type
/usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected 'struct
SMPP_PDU *' but argument is of type 'struct Octstr *'
smppbox.c:522: error: too many arguments to function 'smpp_pdu_pack'
smppbox.c: In function 'read_pdu':
smppbox.c:579: error: too many arguments to function 'smpp_pdu_unpack'
smppbox.c: In function 'msg_to_pdu':
smppbox.c:629: warning: format '%d' expects type 'int', but argument 5 has
type 'long int'
smppbox.c:629: warning: format '%d' expects type 'int', but argument 6 has
type 'long int'
smppbox.c:661: warning: format '%d' expects type 'int', but argument 5 has
type 'long int'
smppbox.c:661: warning: format '%d' expects type 'int', but argument 6 has
type 'long int'
smppbox.c:722: error: too many arguments to function 'dlr_find'
smppbox.c:763: warning: '0' flag used with '%s' gnu_printf format
smppbox.c:763: warning: '0' flag used with '%s' gnu_printf format
smppbox.c:809: error: 'struct deliver_sm' has no member named 'tlv'
smppbox.c:809: error: 'struct sms' has no member named 'meta_data'
smppbox.c:821: error: 'struct deliver_sm' has no member named 'tlv'
smppbox.c:821: error: 'struct sms' has no member named 'meta_data'
smppbox.c:911: error: 'struct sms' has no member named 'meta_data'
smppbox.c:961: error: 'struct deliver_sm' has no member named 'tlv'
smppbox.c:961: error: 'struct sms' has no member named 'meta_data'
smppbox.c:972: error: 'struct deliver_sm' has no member named 'tlv'
smppbox.c:972: error: 'struct sms' has no member named 'meta_data'
smppbox.c: In function 'pdu_to_msg':
smppbox.c:1157: error: 'struct sms' has no member named 'meta_data'
smppbox.c:1158: error: 'struct sms' has no member named 'meta_data'
smppbox.c:1159: error: 'struct sms' has no member named 'meta_data'
smppbox.c:1159: error: 'struct submit_sm' has no member named 'tlv'
smppbox.c: In function 'data_sm_to_msg':
smppbox.c:1312: error: 'struct sms' has no member named 'meta_data'
smppbox.c:1313: error: 'struct sms' has no member named 'meta_data'
smppbox.c:1314: error: 'struct sms' has no member named 'meta_data'
smppbox.c:1314: error: 'struct data_sm' has no member named 'tlv'
smppbox.c: In function 'check_multipart':
smppbox.c:1358: warning: format '%d' expects type 'int', but argument 4 has
type 'long int'
smppbox.c:1374: warning: format '%d' expects type 'int', but argument 4 has
type 'long int'
smppbox.c: In function 'bearerbox_to_smpp':
smppbox.c:1815: warning: format '%i' expects type 'int', but argument 4 has
type 'long unsigned int'
smppbox.c:1820: warning: format '%i' expects type 'int', but argument 4 has
type 'long int'
smppbox.c: In function 'run_smppbox':
smppbox.c:1936: warning: cast from pointer to integer of different size
smppbox.c: In function 'wait_for_connections':
smppbox.c:1993: warning: cast to pointer from integer of different size
smppbox.c: In function 'smppboxc_run':
smppbox.c:2008: warning: cast from pointer to integer of different size
make[2]: *** [smppbox.o] Error 1
make[2]: Leaving directory `/projects/kannel/SMPPBox/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/projects/kannel/SMPPBox'
make: *** [all] Error 2



O

Re: Got DLR but could not find message

2010-09-02 Thread Nikos Balkanas

Hi,

submit_sm_resp: 50090213285180711
deliver_sm_resp: 50090213285180711

They are the same. You should comment out msg-type-id from your 
configuration. I assume that submit_sm_resp is from same SMSc (B). You have 
truncated relevant entry.


If still having problems post configuration.

BR,
Nikos
- Original Message - 
From: "dafodil" 

To: 
Sent: Thursday, September 02, 2010 2:37 PM
Subject: Re: Got DLR but could not find message




Hi Nikkos,
Thanks for the reply and suggestion.
I read from several posts that problem could be with message_id_type.i 
have

tried with value 01 and try with other too.Some where i read about
receipted_message_id problem.it seems from the logs that the problem is 
not

there with receipted_message_id.any help

Br
daf


2010-09-02 12:28:13 [3887] [7] DEBUG:   type_name: submit_sm_resp
2010-09-02 12:28:13 [3887] [7] DEBUG:   command_id: 2147483652 = 
0x8004

2010-09-02 12:28:13 [3887] [7] DEBUG:   command_status: 0 = 0x
2010-09-02 12:28:13 [3887] [7] DEBUG:   sequence_number: 2 = 0x0002
2010-09-02 12:28:13 [3887] [7] DEBUG:   message_id: "50090213285180711"


2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP[B]: Got PDU:
2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP PDU 0xd24ae70 dump:
2010-09-02 12:28:29 [3887] [7] DEBUG:   type_name: deliver_sm
2010-09-02 12:28:29 [3887] [7] DEBUG:   command_id: 5 = 0x0005
2010-09-02 12:28:29 [3887] [7] DEBUG:   command_status: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   sequence_number: 11501539 =
0x00af7fe3
2010-09-02 12:28:29 [3887] [7] DEBUG:   service_type: NULL
2010-09-02 12:28:29 [3887] [7] DEBUG:   source_addr_ton: 1 = 0x0001
2010-09-02 12:28:29 [3887] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2010-09-02 12:28:29 [3887] [7] DEBUG:   source_addr: "919437112909"
2010-09-02 12:28:29 [3887] [7] DEBUG:   dest_addr_ton: 2 = 0x0002
2010-09-02 12:28:29 [3887] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2010-09-02 12:28:29 [3887] [7] DEBUG:   destination_addr: "9437112909"
2010-09-02 12:28:29 [3887] [7] DEBUG:   esm_class: 4 = 0x0004
2010-09-02 12:28:29 [3887] [7] DEBUG:   protocol_id: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   priority_flag: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   schedule_delivery_time: NULL
2010-09-02 12:28:29 [3887] [7] DEBUG:   validity_period: NULL
2010-09-02 12:28:29 [3887] [7] DEBUG:   registered_delivery: 0 = 
0x

2010-09-02 12:28:29 [3887] [7] DEBUG:   replace_if_present_flag: 0 =
0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   data_coding: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   sm_default_msg_id: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   sm_length: 129 = 0x0081
2010-09-02 12:28:29 [3887] [7] DEBUG:   short_message:
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string at 0xd23ce20:
2010-09-02 12:28:29 [3887] [7] DEBUG:  len:  129
2010-09-02 12:28:29 [3887] [7] DEBUG:  size: 130
2010-09-02 12:28:29 [3887] [7] DEBUG:  immutable: 0
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 69 64 3a 35 30 30 39 30 
32

31 33 32 38 35 31 38   id:5009021328518
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 30 37 31 31 20 73 75 62 
3a

30 30 31 20 64 6c 76   0711 sub:001 dlv
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 72 64 3a 30 30 31 20 73 
75

62 6d 69 74 20 64 61   rd:001 submit da
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 74 65 3a 31 30 30 39 30 
32

31 33 32 38 20 64 6f   te:1009021328 do
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 6e 65 20 64 61 74 65 3a 
31

30 30 39 30 32 31 33   ne date:10090213
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 32 39 20 73 74 61 74 3a 
44

45 4c 49 56 52 44 20   29 stat:DELIVRD
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 65 72 72 3a 30 30 30 20 
74

65 78 74 3a 20 68 20   err:000 text: h
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 65 20 6c 20 6c 20 6f 20 
6d

20 6f 20 74 20 74 20   e l l o m o t t
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 6f
o
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string dump ends.
2010-09-02 12:28:29 [3887] [7] DEBUG:   network_error_code:
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string at 0xd24b050:
2010-09-02 12:28:29 [3887] [7] DEBUG:  len:  3
2010-09-02 12:28:29 [3887] [7] DEBUG:  size: 4
2010-09-02 12:28:29 [3887] [7] DEBUG:  immutable: 0
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 03 00 00
...
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string dump ends.
2010-09-02 12:28:29 [3887] [7] DEBUG:   message_state: 2 = 0x0002
2010-09-02 12:28:29 [3887] [7] DEBUG:   receipted_message_id:
"50090213285180711"
2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP PDU dump ends.
2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP[B] handle_pdu, got DLR
2010-09-02 12:28:29 [3887] [7] DEBUG: DLR[internal]: Looking for DLR 
smsc=B,

ts=50090213285180711, dst=919437112909, type=1
2010-09-02 12:28:29 [3887] [7] WARNING: DLR[internal]: DLR from SMSC for
DST<919437112909> not found.
2010-09-02 12:28:29 [

Re: Got DLR but could not find message

2010-09-02 Thread dafodil

Hi Nikkos and sangprabv,
Thanks for ur support and mails.
I just commented the msg-id-type as nokkos suggested and it worked fine.

Br
daf


Nikos Balkanas wrote:
> 
> Hi,
> 
> You should try all possible msg-id-type combinations mentioned in UG. Also 
> try commenting it out, to get the default value. If you still have
> problems 
> post detailed bb log entries including submit_sm, submit_sm_resp and 
> deliver_sm pdus of the same SMS.
> 
> BR,
> Nikos
> - Original Message - 
> From: "dafodil" 
> To: 
> Sent: Thursday, September 02, 2010 1:56 PM
> Subject: Got DLR but could not find message
> 
> 
>>
>> Hi List,
>> Good Day.
>> I am sending message through kannel.Message is delivered to destination.I
>> see deliver and deliverresp in log but i get the bellow error. i went
>> through different post in forum which suggests about setting
>> msg-id-type=0x01 but with no succes.where i m wrong.pls suggest.
>>
>>
>> 2010-08-31 16:03:39 [29210] [7] DEBUG: DLR[internal]: Looking for DLR
>> smsc=B, ts=50083117041435426, dst=919437112909, type=1 2010-08-31
>> 16:03:39
>> [29210] [7] WARNING: DLR[internal]: DLR from SMSC for DST<919437112909> 
>> not
>> found. 2010-08-31 16:03:39 [29210] [7] ERROR: SMPP[B]: got DLR but could 
>> not
>> find message or was not interested in it id<50083117041435426>
>> dst<919437112909>, type<1>
>>
>> SMSC conf in kannel.conf
>>
>>
>>
>> group = smsc
>> smsc = smpp
>> smsc-id = mg1
>> host = .xxx.
>> port = 
>> transceiver-mode = true
>> alt-charset = "ISO-8859-1"
>> msg-id-type=0x01
>> system-type = "xxx"
>> address-range = ""
>> max-pending-submits = 10
>> smsc-username = ""
>> smsc-password = ""
>> connect-allow-ip = "*.*.*.*"
>>
>>
>> Br
>> daf
>>
>>
>> -- 
>> View this message in context: 
>> http://old.nabble.com/Got-DLR-but-could-not-find-message-tp29602939p29602939.html
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>
>> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Got-DLR-but-could-not-find-message-tp29602939p29603381.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Got DLR but could not find message

2010-09-02 Thread dafodil

Hi Nikkos,
Thanks for the reply and suggestion.
I read from several posts that problem could be with message_id_type.i have
tried with value 01 and try with other too.Some where i read about
receipted_message_id problem.it seems from the logs that the problem is not
there with receipted_message_id.any help

Br
daf 


2010-09-02 12:28:13 [3887] [7] DEBUG:   type_name: submit_sm_resp
2010-09-02 12:28:13 [3887] [7] DEBUG:   command_id: 2147483652 = 0x8004
2010-09-02 12:28:13 [3887] [7] DEBUG:   command_status: 0 = 0x
2010-09-02 12:28:13 [3887] [7] DEBUG:   sequence_number: 2 = 0x0002
2010-09-02 12:28:13 [3887] [7] DEBUG:   message_id: "50090213285180711"


2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP[B]: Got PDU:
2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP PDU 0xd24ae70 dump:
2010-09-02 12:28:29 [3887] [7] DEBUG:   type_name: deliver_sm
2010-09-02 12:28:29 [3887] [7] DEBUG:   command_id: 5 = 0x0005
2010-09-02 12:28:29 [3887] [7] DEBUG:   command_status: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   sequence_number: 11501539 =
0x00af7fe3
2010-09-02 12:28:29 [3887] [7] DEBUG:   service_type: NULL
2010-09-02 12:28:29 [3887] [7] DEBUG:   source_addr_ton: 1 = 0x0001
2010-09-02 12:28:29 [3887] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2010-09-02 12:28:29 [3887] [7] DEBUG:   source_addr: "919437112909"
2010-09-02 12:28:29 [3887] [7] DEBUG:   dest_addr_ton: 2 = 0x0002
2010-09-02 12:28:29 [3887] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2010-09-02 12:28:29 [3887] [7] DEBUG:   destination_addr: "9437112909"
2010-09-02 12:28:29 [3887] [7] DEBUG:   esm_class: 4 = 0x0004
2010-09-02 12:28:29 [3887] [7] DEBUG:   protocol_id: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   priority_flag: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   schedule_delivery_time: NULL
2010-09-02 12:28:29 [3887] [7] DEBUG:   validity_period: NULL
2010-09-02 12:28:29 [3887] [7] DEBUG:   registered_delivery: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   replace_if_present_flag: 0 =
0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   data_coding: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   sm_default_msg_id: 0 = 0x
2010-09-02 12:28:29 [3887] [7] DEBUG:   sm_length: 129 = 0x0081
2010-09-02 12:28:29 [3887] [7] DEBUG:   short_message:
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string at 0xd23ce20:
2010-09-02 12:28:29 [3887] [7] DEBUG:  len:  129
2010-09-02 12:28:29 [3887] [7] DEBUG:  size: 130
2010-09-02 12:28:29 [3887] [7] DEBUG:  immutable: 0
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 69 64 3a 35 30 30 39 30 32
31 33 32 38 35 31 38   id:5009021328518
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 30 37 31 31 20 73 75 62 3a
30 30 31 20 64 6c 76   0711 sub:001 dlv
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 72 64 3a 30 30 31 20 73 75
62 6d 69 74 20 64 61   rd:001 submit da
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 74 65 3a 31 30 30 39 30 32
31 33 32 38 20 64 6f   te:1009021328 do
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 6e 65 20 64 61 74 65 3a 31
30 30 39 30 32 31 33   ne date:10090213
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 32 39 20 73 74 61 74 3a 44
45 4c 49 56 52 44 20   29 stat:DELIVRD 
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 65 72 72 3a 30 30 30 20 74
65 78 74 3a 20 68 20   err:000 text: h 
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 65 20 6c 20 6c 20 6f 20 6d
20 6f 20 74 20 74 20   e l l o m o t t 
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 6f 
  
o
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string dump ends.
2010-09-02 12:28:29 [3887] [7] DEBUG:   network_error_code:
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string at 0xd24b050:
2010-09-02 12:28:29 [3887] [7] DEBUG:  len:  3
2010-09-02 12:28:29 [3887] [7] DEBUG:  size: 4
2010-09-02 12:28:29 [3887] [7] DEBUG:  immutable: 0
2010-09-02 12:28:29 [3887] [7] DEBUG:  data: 03 00 00   
  
...
2010-09-02 12:28:29 [3887] [7] DEBUG:Octet string dump ends.
2010-09-02 12:28:29 [3887] [7] DEBUG:   message_state: 2 = 0x0002
2010-09-02 12:28:29 [3887] [7] DEBUG:   receipted_message_id:
"50090213285180711"
2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP PDU dump ends.
2010-09-02 12:28:29 [3887] [7] DEBUG: SMPP[B] handle_pdu, got DLR
2010-09-02 12:28:29 [3887] [7] DEBUG: DLR[internal]: Looking for DLR smsc=B,
ts=50090213285180711, dst=919437112909, type=1
2010-09-02 12:28:29 [3887] [7] WARNING: DLR[internal]: DLR from SMSC for
DST<919437112909> not found.
2010-09-02 12:28:29 [3887] [7] ERROR: SMPP[B]: got DLR but could not find
message or was not interested in it id<50090213285180711> dst<919437112909>,
type<1>




Nikos Balkanas wrote:
> 
> Hi,
> 
> You should try all possible msg-id-type combinations mentioned in UG. Also 
> try commenting it out, to get the default value. If you still have
> problems 
> post detailed bb log entries including submi

Re: Got DLR but could not find message

2010-09-02 Thread sangprabv
About the msg-id type you should consult with your telco first. There are 
several types of it.


sangprabv
sangpr...@gmail.com
http://www.petitiononline.com/froyo/


On Sep 2, 2010, at 5:56 PM, dafodil wrote:

> 
> Hi List,
> Good Day.
> I am sending message through kannel.Message is delivered to destination.I
> see deliver and deliverresp in log but i get the bellow error. i went
> through different post in forum which suggests about setting
> msg-id-type=0x01 but with no succes.where i m wrong.pls suggest.
> 
> 
> 2010-08-31 16:03:39 [29210] [7] DEBUG: DLR[internal]: Looking for DLR
> smsc=B, ts=50083117041435426, dst=919437112909, type=1 2010-08-31 16:03:39
> [29210] [7] WARNING: DLR[internal]: DLR from SMSC for DST<919437112909> not
> found. 2010-08-31 16:03:39 [29210] [7] ERROR: SMPP[B]: got DLR but could not
> find message or was not interested in it id<50083117041435426>
> dst<919437112909>, type<1>
> 
> SMSC conf in kannel.conf
> 
> 
> 
> group = smsc
> smsc = smpp
> smsc-id = mg1
> host = .xxx.
> port = 
> transceiver-mode = true
> alt-charset = "ISO-8859-1"
> msg-id-type=0x01
> system-type = "xxx"
> address-range = ""
> max-pending-submits = 10
> smsc-username = ""
> smsc-password = ""
> connect-allow-ip = "*.*.*.*"
> 
> 
> Br
> daf
> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Got-DLR-but-could-not-find-message-tp29602939p29602939.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
> 
> 




Re: Deliver_sm

2010-09-02 Thread Alejandro Guerrieri
Don't worry we all make mistakes :)

I'm glad you solved it and thank you for letting us know as well.

Regards,

Alex

On Thu, Sep 2, 2010 at 12:48 PM, dafodil  wrote:

>
> Hi Jacob,Alex and every one,
>
> Thanks for ur time.I did a stupid thing thats why this happened.
> Sorry for wasting ur time.
>
> Lesson learnt:
> My dlr in kannel was pointing some location say .com
> my php script was senidng message from some other ip(bbb.com)
> in that case i was getting submit response to bbb.com which was expected
> but
> delivery_sm to former aaa.com which was not expected but i was scanning on
> bbb.com.after changing that restarting kannel it worked fine.
>
> Thanks genius for ur support,patience and help.
>
> Br
> daf
>
>
>
>
>
> dafodil wrote:
> >
> > Hi List,
> > i habe bit confusion in my case.I see submit_sm and submit_sm_resp in the
> > log but not deliver_sm.
> > Can it be a problem with my configuration or carrier has not enabled
> > it.How ever my message is successfully delivered to the destination
> > mobile.i m using HTTP post to send message and dlr type default(internal)
> >
> > Br
> > daf
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Deliver_sm-tp29571489p29602875.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>
>


Re: Got DLR but could not find message

2010-09-02 Thread Nikos Balkanas

Hi,

You should try all possible msg-id-type combinations mentioned in UG. Also 
try commenting it out, to get the default value. If you still have problems 
post detailed bb log entries including submit_sm, submit_sm_resp and 
deliver_sm pdus of the same SMS.


BR,
Nikos
- Original Message - 
From: "dafodil" 

To: 
Sent: Thursday, September 02, 2010 1:56 PM
Subject: Got DLR but could not find message




Hi List,
Good Day.
I am sending message through kannel.Message is delivered to destination.I
see deliver and deliverresp in log but i get the bellow error. i went
through different post in forum which suggests about setting
msg-id-type=0x01 but with no succes.where i m wrong.pls suggest.


2010-08-31 16:03:39 [29210] [7] DEBUG: DLR[internal]: Looking for DLR
smsc=B, ts=50083117041435426, dst=919437112909, type=1 2010-08-31 16:03:39
[29210] [7] WARNING: DLR[internal]: DLR from SMSC for DST<919437112909> 
not
found. 2010-08-31 16:03:39 [29210] [7] ERROR: SMPP[B]: got DLR but could 
not

find message or was not interested in it id<50083117041435426>
dst<919437112909>, type<1>

SMSC conf in kannel.conf



group = smsc
smsc = smpp
smsc-id = mg1
host = .xxx.
port = 
transceiver-mode = true
alt-charset = "ISO-8859-1"
msg-id-type=0x01
system-type = "xxx"
address-range = ""
max-pending-submits = 10
smsc-username = ""
smsc-password = ""
connect-allow-ip = "*.*.*.*"


Br
daf


--
View this message in context: 
http://old.nabble.com/Got-DLR-but-could-not-find-message-tp29602939p29602939.html

Sent from the Kannel - User mailing list archive at Nabble.com.







Got DLR but could not find message

2010-09-02 Thread dafodil

Hi List,
Good Day.
I am sending message through kannel.Message is delivered to destination.I
see deliver and deliverresp in log but i get the bellow error. i went
through different post in forum which suggests about setting
msg-id-type=0x01 but with no succes.where i m wrong.pls suggest.


2010-08-31 16:03:39 [29210] [7] DEBUG: DLR[internal]: Looking for DLR
smsc=B, ts=50083117041435426, dst=919437112909, type=1 2010-08-31 16:03:39
[29210] [7] WARNING: DLR[internal]: DLR from SMSC for DST<919437112909> not
found. 2010-08-31 16:03:39 [29210] [7] ERROR: SMPP[B]: got DLR but could not
find message or was not interested in it id<50083117041435426>
dst<919437112909>, type<1>

SMSC conf in kannel.conf



group = smsc
smsc = smpp
smsc-id = mg1
host = .xxx.
port = 
transceiver-mode = true
alt-charset = "ISO-8859-1"
msg-id-type=0x01
system-type = "xxx"
address-range = ""
max-pending-submits = 10
smsc-username = ""
smsc-password = ""
connect-allow-ip = "*.*.*.*"


Br
daf


-- 
View this message in context: 
http://old.nabble.com/Got-DLR-but-could-not-find-message-tp29602939p29602939.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Deliver_sm

2010-09-02 Thread dafodil

Hi Jacob,Alex and every one,

Thanks for ur time.I did a stupid thing thats why this happened.
Sorry for wasting ur time.

Lesson learnt:
My dlr in kannel was pointing some location say .com
my php script was senidng message from some other ip(bbb.com)
in that case i was getting submit response to bbb.com which was expected but
delivery_sm to former aaa.com which was not expected but i was scanning on
bbb.com.after changing that restarting kannel it worked fine.

Thanks genius for ur support,patience and help.

Br
daf





dafodil wrote:
> 
> Hi List,
> i habe bit confusion in my case.I see submit_sm and submit_sm_resp in the
> log but not deliver_sm.
> Can it be a problem with my configuration or carrier has not enabled
> it.How ever my message is successfully delivered to the destination
> mobile.i m using HTTP post to send message and dlr type default(internal)
> 
> Br
> daf
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Deliver_sm-tp29571489p29602875.html
Sent from the Kannel - User mailing list archive at Nabble.com.




RE: Meta data parameters in kannel snapshot version (31/08/2010)

2010-09-02 Thread Jan van der Vyver
Dear Rene

Thank you for the advice

The following send-sms url works perfect:

http://xxx.xxx.xxx.xx:13013/cgi-bin/sendsms?username=username&password=passw
ord&meta-data=%3Fsmpp%3Fdestination_port%3D9280&text=TEST&to=263734625674

So must  I then conclude that kannel currently is not using the meta-data
option in the config file and ignoring it?  Is their a reason for this?  Or
is this a bug?

Kind Regards

Jan

-Original Message-
From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
Sent: 02 September 2010 12:25 AM
To: j...@in2one.co.za; 'Alejandro Guerrieri'
Cc: users@kannel.org
Subject: RE: Meta data parameters in kannel snapshot version (31/08/2010)

Instead of relying on Kannel's standard reply-text mechanism, you may want
your php script to return nothing (empty string) in combination with
omit-empty = true.

Your script then does it's processing and posts the result via the
sendsms-url back to Kannel, including the meta-data.

== Rene


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jan van der Vyver
Sent: Wednesday, 01 September, 2010 23:38
To: 'Alejandro Guerrieri'
Cc: users@kannel.org
Subject: RE: Meta data parameters in kannel snapshot version (31/08/2010)

Hi

Here is the url we use to test.

http://xxx.xxx.xxx.xxx:/cgi-bin/sendsms?username=username&password=passw
ord&to=0833795999&text=test&meta-data=%3Fsmpp%3Fdestination_port%3D9280

This will work to test it.  

But I need it to work for the following case:

Receive message via smpp -> kannel makes url call as configured -> kannel
receives result from php script -> kannel send message back via smpp.

Do I understand correct that the meta-data option set in my configuration
below is set correct?

Thank you for the help sofar.

Jan

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com]
Sent: 01 September 2010 04:53 PM
To: j...@in2one.co.za
Cc: Jonathan Zylberberg; users@kannel.org
Subject: Re: Meta data parameters in kannel snapshot version (31/08/2010)

"?smpp?destination_port=9280" must be url-encoded.

Please try fixing that and post the complete url if it doesn't work, to rule
out any ambiguities.

Regards,

Alex
On Wed, Sep 1, 2010 at 4:24 PM, Jan van der Vyver  wrote:
Dear Alex

We tried to create the reply by adding the following to our sendsms url

“&meta-data=?smpp?destination_port=9280”

And by just echoing the message back on the sms-service

“http://192.168.1.35/srs/ussd/handle.php?from=%p&to=%p&message=%r&binary=%b&;
type=%i&time=%t"

Is the meta-data option in the smsc config part ignored?

Kind Regards
Jan



From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com]
Sent: 01 September 2010 04:10 PM
To: j...@in2one.co.za
Cc: Jonathan Zylberberg; users@kannel.org
Subject: Re: Meta data parameters in kannel snapshot version (31/08/2010)

How are you creating the reply? I guess it's using a sendsms url? Please
post it.

Regards,

Alex


On Wed, Sep 1, 2010 at 3:55 PM, Jan van der Vyver  wrote:
Dear All

We are connecting to an SMSC for USSD purposes.

We require to send a "destination_port=9280" meta-data in the outgoing smpp
pdu.

We have updated the kannel to the svn checkout made on 31/08/2010.

Our current config  is included aswell as debug for incoming and outgoing
messages.

What are we configuring or doing wrong, why is the meta-data not set in the
outgoing pdu.

Kind Regards

Jan

Config:

group = smsc
smsc-id = USSD23
smsc = smpp
host = xxx.xxx.xxx.xxx
port = 2775
transceiver-mode = true
smsc-username = ""
smsc-password = ""
system-type = ""
service-type = ""
address-range = ""
meta-data = "%3Fsmpp%3Fdestination_port%3D9280"
my-number = "178"
source-addr-autodetect = no
source-addr-ton = 6
source-addr-npi = 0
interface-version = 34

group = sms-service
keyword = default
get-url =
"http://192.168.1.35/srs/ussd/handle.php?from=%p&to=%p&message=%r&binary=%b&;
type=%i&time=%t"
accepted-smsc = USSD23

group = smpp-tlv
name = destination_port
tag = 0x020B
type = integer
length = 2
smsc-id = USSD23

group = smpp-tlv
name = source_port
tag = 0x020A
type = integer
length = 2
smsc-id = USSD23


INCOMING:

2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter tag (0x020b)
2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter length read as 2
2010-09-01 15:48:41 [24667] [6] DEBUG: Found configured optional parameter
`destination_port'
2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter tag (0x020a)
2010-09-01 15:48:41 [24667] [6] DEBUG: Optional parameter length read as 2
2010-09-01 15:48:41 [24667] [6] DEBUG: Found configured optional parameter
`source_port'
2010-09-01 15:48:41 [24667] [6] DEBUG: SMPP[USSD25]: Got PDU:
2010-09-01 15:48:41 [24667] [6] DEBUG: SMPP PDU 0x12c06d0 dump:
2010-09-01 15:48:41 [24667] [6] DEBUG:   type_name: deliver_sm
2010-09-01 15:48:41 [24667] [6] DEBUG:   command_id: 5 = 0x0005
2010-09-01 15:48:41 [24667] [6] DEBUG:   command_status: 0 = 0x
2010-09-01 15:48:41 [24667] [6] DEBUG:   

unsubscribe

2010-09-02 Thread Pradeep Sharma
 

 

 

Thanks and regards,

Pradeep Sharma



 



unsubscribe address=nagesh.anc...@ril.com

2010-09-02 Thread Pradeep Sharma
 

 

 

Thanks and regards,

Pradeep Sharma



 



Re: kannel as EMI-UCP server

2010-09-02 Thread Nikos Balkanas

You cannot. Kannel is not an EMI SMSc.

BR,
Nikos
- Original Message - 
From: Huj Tamas

To: users@kannel.org
Sent: Wednesday, September 01, 2010 11:41 AM
Subject: kannel as EMI-UCP server


Hello List!

I'm new in Kannel, and I need some help. I'm trying to develop an EMI-CUP 
client in java and I want to test it, so I want to use Kannel for EMI-UCP 
server. How can I do it? What do I have to write in the kannel.conf?


Now I'm trying with the following conf file:
group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
wapbox-port = 13002
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
group = smsbox
smsbox-port = 7000

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"

group = smsc
smsc = emi
host = 103.102.101.100
port = 6000
smsc-username = foo
smsc-password = bar
keepalive = 55
log-file = "/var/log/kannel/smsc.log"
our-port = 600
receive-port = 700
idle-timeout = 30
device = /dev/tty0
smsc-username = foo
smsc-password = bar

but with this configurations I can't see any UCP server on my computer.

thanks for any help,
Tom