Re: [RIP] Remembering René Kluwen

2021-06-13 Thread Mike Nwaogu
My condolences to this group on such a great loss.I will miss him and remember 
him gratefully. He was helpful and insightful in problem solving.My thoughts 
and prayers are with his family at this time.
Best Regards,Mr. Michael C. Nwaogu
CELLCORE LTD.

Tel: +234 802 325 6437Skp: michael.nwaoguWeb: cellcore.ltd 

On Friday, June 11, 2021, 2:02:59 PM GMT+1, Stipe Tolj  
wrote:  
 
 Dear all,

With deep regret and sorrow we let you know that René Kluwen, one of 
Kannel core developers has passed away this week. René has been a 
wonderful character and person, a father and a long year active 
supporter of the Kannel project. His work contributed to the main 
gateway module, the sqlbox and opensmppbox sub-modules, along with most 
valued discussions in our mailing list groups. Some of us have been 
friends with René and we’re heavily shaken by the news.

We will miss him, and we would like to express our sincerely condolences 
to his family.

Like in the hearts and minds of his family, his persona will keep on 
living in his work he contributed with passion to our project. Honoring 
his contributions is our privilege and determination.

Rest in peace René Kluwen (* 10-05-1970, ✝ 06-06-2021)

https://kannel.org/images/rouwkaart_rene.png


-- 
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation                tolj.org system architecture
http://www.kannel.org/           http://www.tolj.org/

st...@kannel.org                  s...@tolj.org
---

  

Re: short code sending issue

2016-04-23 Thread Mike Nwaogu
Hello Azeez,Change your source address ton = 5 and source address npi = 0It 
will aid alpha numeric sender id, long code and short code with sender id 
length >= 11 characters. Best Regards,Michael C. Nwaogu 

On Friday, April 22, 2016 8:27 PM, Azeez  wrote:
 

 
i am using  user-->[opensmppbox-bearerbox]-->smsc

opensmppbox got a pdu from user

2016-04-21 14:27:57 [1614] [4] DEBUG: SMPP[SMPP]: Got PDU:
2016-04-21 14:27:57 [1614] [4] DEBUG: SMPP PDU 0x7f129802b9e0 dump:
2016-04-21 14:27:57 [1614] [4] DEBUG:  type_name: submit_sm
2016-04-21 14:27:57 [1614] [4] DEBUG:  command_id: 4 = 0x0004
2016-04-21 14:27:57 [1614] [4] DEBUG:  command_status: 0 = 0x
2016-04-21 14:27:57 [1614] [4] DEBUG:  sequence_number: 8071288 = 
0x007b2878
2016-04-21 14:27:57 [1614] [4] DEBUG:  service_type: NULL
2016-04-21 14:27:57 [1614] [4] DEBUG:  source_addr_ton: 1 = 0x0001
2016-04-21 14:27:57 [1614] [4] DEBUG:  source_addr_npi: 1 = 0x0001
2016-04-21 14:27:57 [1614] [4] DEBUG:  source_addr: "12345""

--
--
we got error

Mallformed addr `12345', expected at least 7 digits.

i know the reason. it is because source_addr_ton: 1 mean international 
number  assumed > 7 char

what is the solution for it?

user want to use all type of sender id: alpha, long numeric code, short 
numeric code, international format

Thanks 




  

Parlay X with version 1.5.0

2015-09-14 Thread Mike Nwaogu
Hello Users,Has anyone used Parlay or ONEAPI with the non-commercial KANNEL 
version 1.5.0I tried and got a certain error "unknown smsc type 'parlayx'", was 
hoping someone could shed some light on it.I understand, it has been replaced 
by OneAPI, but even that there are no directions on how to use kannel's soap 
SMSC driver or even add the patch for version 1.5.0
Any pointers and aids will be greatly appreciated.
My configs==group = smscsmsc = parlayxsystem-type = 
ericsson-sdpsmsc-id = mno_sdpport = 13013connect-allow-ip = 127.0.0.1send-url = 
http://192.168.1.26:9099/SendSmsService/services/SendSmsdlr-url = 
"http://localhost/cgi-bin/dlr.cgi?report=%d=%t=%p=%I=%k=%P=%a"smsc-username
 = xxsmsc-password = ==
Error Logs==2015-09-14 13:09:13 [602] [0] INFO: DLR rerouting 
for smsc id  disabled.2015-09-14 13:09:13 [602] [0] ERROR: Unknown 
SMSC type 'parlayx'2015-09-14 13:09:13 [602] [0] ERROR: Failed to create Smsc 
wrapper==
Best Regards,

Re: Happy NEW YEAR Kannel community

2014-12-31 Thread Mike Nwaogu
Yes RK, a Happy new year to you and all.
 
Best Regards,Michael C. Nwaogu
 

 On Wednesday, December 31, 2014 7:01 PM, RK Krishnas r...@krishnasoft.in 
wrote:
   

 Dear Kannel Team,

My Heartfull wishes for you. 
Thanking you all the time.

Rajeev Krishna

Operations Manager
Krishnas Software Technologies
www.krishnasoft.in
mobile   :+91 888 5815 888
Sales     :+91 888 5813 888
Support :+91 888 5817 888

2014-12-31 21:26 GMT+05:30 Alvaro Cornejo cornejo.alv...@gmail.com:

Hi All
I'll like to take a minute to thanks Kannel team and its community for their 
hard work during this 2014 and wish them and their families the best for this 
2015.
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.com 



   

TLV source_subaddress or dest_subaddress

2014-04-08 Thread Mike Nwaogu
Hello Guys,
I wish to set a TLV for source_subaddress: plmn_code for my down stream smpp 
clients.

How do I achieve this?
I set the kannel.conf to have a group as shown below, but I'd even like if I 
can set the details in plaintext. Need assistance in this appreciate all 
contributions. I'm using kannel 1.5.0

group = smpp-tlv
name = plmn_code
tag = 0x1601
type = integer
length = 6



Best Regards,
Mike Nwaogu C.


Re: Routing Based on Source Address

2013-05-07 Thread Mike Nwaogu
Thanks Juan,
The challenge I'm having is that the application will not return the delivery 
report to the appropriate smpp client.
It was my first consideration.

 
Best Regards,
Michael C. Nwaogu



 From: Juan Nin jua...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, May 6, 2013 11:03 PM
Subject: Re: Routing Based on Source Address
 


You need to do it at application level, not Kannel




On Fri, May 3, 2013 at 11:18 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

Thanks for getting back Alvaro, 

Yes, I tried that but it only addresses routing for the destination numbers. 
I'm trying to restrict the sender address, which in some cases are even 
alpha-numeric. Please explain further how to use allow-prefix to achieve this 
for sender address routing.

 
Best Regards,
Michael C. Nwaogu


- Original Message -
From: Alvaro Cornejo cornejo.alv...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org users@kannel.org
Sent: Friday, May 3, 2013 2:53 PM
Subject: Re: Routing Based on Source
 Address

Hi

You should be able to dfo that using allow-prefix and/or deny-prefix

Regards

Alvaro

On 5/3/13, Mike Nwaogu michael_nwa...@yahoo.com wrote:
 Hello Yall,
 Hope this meets you well and in good health.
 I'm at a crossroad in a recent development, I need to route outbound
 messages coming from my clients through an smsc_a if the source address
 matches a certain pattern and smsc_b if it doesn't as long as the
 destination address matches a certain pattern.

 123000(src_adr)|___SMSC_A

 +49***(dst_adr)|



 abc000(src_adr)|___SMSC_B

 +49***(dst_adr)|


 I'm using kannel development release v1.5.0

 How do I achieve this? The closest thing I saw in the
 document was the
 smsbox routing which addresses only inbound sms routing. All/Any suggestions
 would be appreciated.


 Best Regards,
 Michael C. Nwaogu


-- 
|-|
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 

Re: Routing Based on Source Address

2013-05-03 Thread Mike Nwaogu
Thanks for getting back Alvaro, 

Yes, I tried that but it only addresses routing for the destination numbers. 
I'm trying to restrict the sender address, which in some cases are even 
alpha-numeric. Please explain further how to use allow-prefix to achieve this 
for sender address routing.

 
Best Regards,
Michael C. Nwaogu


- Original Message -
From: Alvaro Cornejo cornejo.alv...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org users@kannel.org
Sent: Friday, May 3, 2013 2:53 PM
Subject: Re: Routing Based on Source Address

Hi

You should be able to dfo that using allow-prefix and/or deny-prefix

Regards

Alvaro

On 5/3/13, Mike Nwaogu michael_nwa...@yahoo.com wrote:
 Hello Yall,
 Hope this meets you well and in good health.
 I'm at a crossroad in a recent development, I need to route outbound
 messages coming from my clients through an smsc_a if the source address
 matches a certain pattern and smsc_b if it doesn't as long as the
 destination address matches a certain pattern.

 123000(src_adr)|___SMSC_A

 +49***(dst_adr)|



 abc000(src_adr)|___SMSC_B

 +49***(dst_adr)|


 I'm using kannel development release v1.5.0

 How do I achieve this? The closest thing I saw in the document was the
 smsbox routing which addresses only inbound sms routing. All/Any suggestions
 would be appreciated.


 Best Regards,
 Michael C. Nwaogu


-- 
|-|
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 

Re: Configure Kannel with USSD

2012-12-20 Thread Mike Nwaogu
Hi Jayesh,
The failures may not be local to your configuration or connection; you'll have 
to let us know what failed.
USSD relies more on network infrastructure than SMS and is subject to a whole 
different set of rules at the operators side.

Are you saying that every 6th Attempt hits the phone or every 6th attempt gets 
to leave kannel to your operator?

If the later, you may have to tell us the error as displayed in the log, if the 
former; the best person to ask what's up is your provider.


Best Regards,
Michael C. Nwaogu



 From: Jayesh Labade jayesh.lab...@gmail.com
To: kannel users users@kannel.org 
Sent: Friday, December 14, 2012 12:58 PM
Subject: Re: Configure Kannel with USSD
 

I am getting USSN message after every 6th attempt of URL hit, so my 5 attempts 
are useless. I am not able to figure out who is actual culprit. Any Idea? 

This is my URL..

http://192.168.1.195:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=MYNUMBERtext=hello





Best Regards,
Jayesh




On Fri, Dec 14, 2012 at 3:00 PM, Jayesh Labade jayesh.lab...@gmail.com wrote:

How to solve this. sometimes USSD request works well and sometimes not, Please 
guide..





Best Regards,
Jayesh



On Fri, Dec 14, 2012 at 2:56 PM, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello List,


Its working now but success rate is very low. out of 10 request made I got 
only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and 
I am making only one request at time.


for reference I have pasted my smskannel.conf file in pastebin.


http://pastebin.com/gkUz7Jh9



Best Regards,

Jayesh



On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote:

Jayesh,
Great. 

Please always copy to the list. In that way you get quick help from the 
community. 



On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello Alex,


Its working now but success rate is very low. out of 10 request made I got 
only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account 
and I am making only one request at time.


Regards,
Jayesh





On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote:

http://www.kannel.org/pipermail/users/2011-April/015351.html


I hope it helps



On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote:

My kannel bind with smsc through SMPP successfully but still i am not able 
to send USSN


Best Regards,
Jayesh





On Thu, Dec 13, 


 
2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello Alex,


My USSD provider gave me his SMPP details and he has also lot of 
customer who are using his USSD services.


What should be the configuration of smskannel.conf file in order to send 
USSD message.. am i missing something?


I can post my smskannel.conf if required..



Best Regards,
Jayesh



On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.com wrote:

Hi Jayesh,
I think you need to read up  more on USSD and understand the clear 
difference between USSD and SMS. Although SMS integration is  almost 
universal for most Mobile network operators , USSD integration is very 
varied. It also can use soap/ xml requests and not smpp like sms. 



On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.com 
wrote:

Hello List,


I am trying to setup SMPP details provided my USSD provider. And USSD 
provider says that I have successfully registered SMPP details in 
kannel but I am not able to send USSD message.


This is the URL from which I am trying to send USSD message..


elinks 
http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello;



Please help me. 




Best Regards,
Jayesh



On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade 
jayesh.lab...@gmail.com wrote:

Hello List,


Can Someone provide me step by step guide to configure USSD with 
kannel via SMPP.


any help would be greatly appreciated.



Best Regards,
Jayesh




-- 
Kind regards,
Alex Nyika Omuyonga
skype: alex.nyika
+256758116116











-- 
Kind regards,
Alex Nyika Omuyonga
skype: alex.nyika
+256758116116










-- 
Kind regards,
Alex Nyika Omuyonga
skype: alex.nyika
+256758116116











On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote:

Jayesh,
Great. 

Please always copy to the list. In that way you get quick help from the 
community. 



On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello Alex,


Its working now but success rate is very low. out of 10 request made I got 
only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account 
and I am making only one request at time.


Regards,
Jayesh





On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote:

http://www.kannel.org/pipermail/users/2011-April/015351.html


I hope it helps



On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote:

My kannel bind with smsc through SMPP successfully but still i am not able 
to send 

Re: Configure Kannel with USSD

2012-12-20 Thread Mike Nwaogu
Like I said, the operator may not have the network capacity to handle that many 
USSD attempts, every USSD connection is like a call, and the line is engaged 
till the session ends, expires or is terminated.


I think you can safely say, KANNEL has done its own part, and so have you.


Best Regards,
Michael C. Nwaogu



 From: Jayesh Labade jayesh.lab...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: kannel users users@kannel.org 
Sent: Friday, December 14, 2012 1:56 PM
Subject: Re: Configure Kannel with USSD
 

Yeah Mike,

Every 6th Attempt hits the phone. And there is not any error messages in 
/tmp/kannel.log

I have pasted my kannel logs here

http://pastebin.com/Mkh0pTK0



Best Regards,
Jayesh




On Fri, Dec 14, 2012 at 6:10 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

every 6th Attempt hits the phone

Re: Configure Kannel with USSD

2012-12-14 Thread Mike Nwaogu
Hi Jayesh,
The failures may not be local to your configuration or connection; you'll have 
to let us know what failed.
USSD relies more on network infrastructure than SMS and is subject to a whole 
different set of rules at the operators side.

Are you saying that every 6th Attempt hits the phone or every 6th attempt gets 
to leave kannel to your operator?

If the later, you may have to tell us the error as displayed in the log, if the 
former; the best person to ask what's up is your provider.


Best Regards,
Michael C. Nwaogu



 From: Jayesh Labade jayesh.lab...@gmail.com
To: kannel users users@kannel.org 
Sent: Friday, December 14, 2012 12:58 PM
Subject: Re: Configure Kannel with USSD
 

I am getting USSN message after every 6th attempt of URL hit, so my 5 attempts 
are useless. I am not able to figure out who is actual culprit. Any Idea? 

This is my URL..

http://192.168.1.195:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=MYNUMBERtext=hello





Best Regards,
Jayesh




On Fri, Dec 14, 2012 at 3:00 PM, Jayesh Labade jayesh.lab...@gmail.com wrote:

How to solve this. sometimes USSD request works well and sometimes not, Please 
guide..





Best Regards,
Jayesh



On Fri, Dec 14, 2012 at 2:56 PM, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello List,


Its working now but success rate is very low. out of 10 request made I got 
only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and 
I am making only one request at time.


for reference I have pasted my smskannel.conf file in pastebin.


http://pastebin.com/gkUz7Jh9



Best Regards,

Jayesh



On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote:

Jayesh,
Great. 

Please always copy to the list. In that way you get quick help from the 
community. 



On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello Alex,


Its working now but success rate is very low. out of 10 request made I got 
only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account 
and I am making only one request at time.


Regards,
Jayesh





On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote:

http://www.kannel.org/pipermail/users/2011-April/015351.html


I hope it helps



On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote:

My kannel bind with smsc through SMPP successfully but still i am not able 
to send USSN


Best Regards,
Jayesh





On Thu, Dec 13, 


 
2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello Alex,


My USSD provider gave me his SMPP details and he has also lot of 
customer who are using his USSD services.


What should be the configuration of smskannel.conf file in order to send 
USSD message.. am i missing something?


I can post my smskannel.conf if required..



Best Regards,
Jayesh



On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.com wrote:

Hi Jayesh,
I think you need to read up  more on USSD and understand the clear 
difference between USSD and SMS. Although SMS integration is  almost 
universal for most Mobile network operators , USSD integration is very 
varied. It also can use soap/ xml requests and not smpp like sms. 



On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.com 
wrote:

Hello List,


I am trying to setup SMPP details provided my USSD provider. And USSD 
provider says that I have successfully registered SMPP details in 
kannel but I am not able to send USSD message.


This is the URL from which I am trying to send USSD message..


elinks 
http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello;



Please help me. 




Best Regards,
Jayesh



On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade 
jayesh.lab...@gmail.com wrote:

Hello List,


Can Someone provide me step by step guide to configure USSD with 
kannel via SMPP.


any help would be greatly appreciated.



Best Regards,
Jayesh




-- 
Kind regards,
Alex Nyika Omuyonga
skype: alex.nyika
+256758116116











-- 
Kind regards,
Alex Nyika Omuyonga
skype: alex.nyika
+256758116116










-- 
Kind regards,
Alex Nyika Omuyonga
skype: alex.nyika
+256758116116











On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote:

Jayesh,
Great. 

Please always copy to the list. In that way you get quick help from the 
community. 



On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote:

Hello Alex,


Its working now but success rate is very low. out of 10 request made I got 
only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account 
and I am making only one request at time.


Regards,
Jayesh





On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote:

http://www.kannel.org/pipermail/users/2011-April/015351.html


I hope it helps



On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote:

My kannel bind with smsc through SMPP successfully but still i am not able 
to send 

Re: XML POST, multiple messages to multiple recipients

2012-10-30 Thread Mike Nwaogu
Thanks Guys,
I'm really happy about the debate, but I haven't gotten an answer.

I'm really looking to send as described in spameden's mail below.

I take it i have to edit the file smsbox.c to process multiple messages to 
multiple recipients.
I'll attach the file here for those who want the patch, if I succeed.
 
Best Regards,
Michael C. Nwaogu



 From: spameden spame...@gmail.com
To: Willy Mularto sangpr...@gmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Tuesday, October 30, 2012 1:57 AM
Subject: Re: XML POST, multiple messages to multiple recipients
 

Concatenated?

It's just a multi-part message to the specified number not to multiple numbers.

Mike needs a scheme:

text1-number1
text2-number2
text3-number3
text4-number4
etc

in a single submit of XML form to sendsms



2012/10/30 Willy Mularto sangpr...@gmail.com

why not set concatenated? by doing so we can send multiple sms to multiple 
destinations, just imo




On Oct 30, 2012, at 7:47 AM, Alvaro Cornejo wrote:

 I think what Mike wants to do is sent multiple sms to multiple
 destinations. That is not supported by kannel yet

 What is supported is one message to multiple destinations!!

 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 Mon, Oct 29, 2012 at 7:34 PM, spameden spame...@gmail.com wrote:
 I think this should be in the user-guide as well :p

 care to make a patch to the current snapshot and add this, Mike?


 2012/10/30 spameden spame...@gmail.com

 Here is what I've used:


 ?xml version=1.0 encoding=utf-8?
 message
        submit
                da
           number2/number
           number1234567/number
           number123456/number
        /da
                oanumberyosup/number/oa

                udmessage number one/ud

                from
                        usernameyour_username/username
                        passwordyour_pass/password
                /from
        smscmysmsc/smsc
        /submit
 /message

 curl -X POST -d @xml_post  -H Content-Type: text/xml
 http://localhost:13013/cgi-bin/sendsms
 0: Accepted for delivery

 by looking into kannel's status i can see 3 messages were sent.

 so it's all working correctly, enjoy :)


 2012/10/30 spameden spame...@gmail.com

 I was looking into the code actually there is a handling of multiple
 numbers:

 from gw/smsbox.c:

 705     /* to (da/number) Multiple tags */
 706     xpathObj = xmlXPathEvalExpression(BAD_CAST
 /message/submit/da/number/text(), xpathCtx);
 707     if (xpathObj != NULL 
 !xmlXPathNodeSetIsEmpty(xpathObj-nodesetval)) {
 708         int i;
 709
 710         *tolist = gwlist_create();
 711         for (i = 0; i  xpathObj-nodesetval-nodeNr; i++) {
 712             if (xpathObj-nodesetval-nodeTab[i]-type !=
 XML_TEXT_NODE)
 713                 continue;
 714             xml_string =
 xmlXPathCastNodeToString(xpathObj-nodesetval-nodeTab[i]);
 715             tmp = octstr_create((const char*)
 xpathObj-nodesetval-nodeTab[i]-content);
 716             xmlFree(xml_string);
 717             octstr_strip_blanks(tmp);
 718             gwlist_append(*tolist, tmp);
 719         }
 720     }
 721     if (xpathObj != NULL)
 722         xmlXPathFreeObject(xpathObj);

 you can clearly see *tolist is being populated with items, now the
 question is what are you doing wrong, maybe XML should be bit different


 2012/10/30 Mike Nwaogu michael_nwa...@yahoo.com

 Thanks for getting back,
 Which file specifically?

 Best Regards,
 Michael C. Nwaogu
 
 From: spameden spame...@gmail.com
 To: Mike Nwaogu michael_nwa...@yahoo.com
 Cc: users@kannel.org users@kannel.org
 Sent: Monday, October 29, 2012 8:31 PM

 Subject: Re: XML POST, multiple messages to multiple recipients

 You can modify kannel's sources to implement this.

 2012/10/29 Mike Nwaogu michael_nwa...@yahoo.com

 Hello am I to assume there's no solution to this problem?
 Its been unanswered for days now.

 Best Regards,
 Michael C. Nwaogu
 
 From: Mike Nwaogu michael_nwa...@yahoo.com
 To: users@kannel.org users@kannel.org
 Sent: Friday, October 26, 2012 12:46 PM
 Subject: Re: XML POST, multiple messages to multiple recipients

 Hello All,
 Please can someone help with the queries below.
 Has Anyone tried this in the past and how did you cross the barrier.
 I saw a post without response too as early-on as March 2012.
 Please oblige.

 Best Regards,
 Michael C. Nwaogu
 
 From: Mike Nwaogu michael_nwa...@yahoo.com
 To: users@kannel.org users@kannel.org
 Sent: Wednesday, October 24, 2012 3:55 PM
 Subject: XML POST

Re: XML POST, multiple messages to multiple recipients

2012-10-30 Thread Mike Nwaogu
This is what I'm trying to do.
Can someone suggest code for this following spameden's suggestion to edit 
smsbox.c?

?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
    oanumberyosup/number/oa

            udmessage number one/ud

    danumber3/number/da
    oanumbersupyo/number/oa
            udmessage number two/ud

    danumber4/number/da
    oanumberyalls/number/oa
            udmessage number 3re/ud

            from
                usernameyour_username/username
                passwordyour_pass/password
            /from
    /submit
/message

 
Best Regards,
Michael C. Nwaogu



 From: spameden spame...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Tuesday, October 30, 2012 1:34 AM
Subject: Re: XML POST, multiple messages to multiple recipients
 

I think this should be in the user-guide as well :p

care to make a patch to the current snapshot and add this, Mike?


2012/10/30 spameden spame...@gmail.com

Here is what I've used:


?xml version=1.0 encoding=utf-8?
message
    submit
    da
           number2/number

           number1234567/number
           number123456/number
        /da
    oanumberyosup/number/oa

    udmessage number one/ud
        
    from
    usernameyour_username/username
    passwordyour_pass/password
    /from
        smscmysmsc/smsc
    /submit
/message

curl -X POST -d @xml_post  -H Content-Type: text/xml  
http://localhost:13013/cgi-bin/sendsms
0: Accepted for delivery

by looking into kannel's status i can see 3 messages were sent.

so it's all working correctly, enjoy :)



2012/10/30 spameden spame...@gmail.com

I was looking into the code actually there is a handling of multiple numbers:

from gw/smsbox.c:

 705 /* to (da/number) Multiple tags */
 706 xpathObj = xmlXPathEvalExpression(BAD_CAST 
/message/submit/da/number/text(), xpathCtx);
 707 if (xpathObj != NULL  
!xmlXPathNodeSetIsEmpty(xpathObj-nodesetval)) {
 708 int i; 
 709 
 710 *tolist = gwlist_create();
 711 for (i = 0; i  xpathObj-nodesetval-nodeNr; i++) {
 712 if (xpathObj-nodesetval-nodeTab[i]-type != XML_TEXT_NODE)
 713 continue;
 714 xml_string = 
xmlXPathCastNodeToString(xpathObj-nodesetval-nodeTab[i]);
 715 tmp = octstr_create((const char*) 
xpathObj-nodesetval-nodeTab[i]-content);
 716 xmlFree(xml_string);
 717 octstr_strip_blanks(tmp);
 718 gwlist_append(*tolist, tmp);
 719 }   
 720 }   
 721 if (xpathObj != NULL)
 722 xmlXPathFreeObject(xpathObj);

you can clearly see *tolist is being populated with items, now the question 
is what are you doing wrong, maybe XML should be bit different



2012/10/30 Mike Nwaogu michael_nwa...@yahoo.com

Thanks for getting back,
Which file specifically?



Best Regards,
Michael C. Nwaogu



 
From: spameden spame...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, October 29, 2012 8:31 PM

Subject: Re: XML POST, multiple messages to multiple recipients
 


You can modify kannel's sources to implement this.


2012/10/29 Mike Nwaogu michael_nwa...@yahoo.com

Hello am I to assume there's no solution to this problem?

Its been unanswered for days now.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Friday, October 26, 2012 12:46 PM
Subject: Re: XML POST, multiple messages to multiple recipients
 


Hello All,
Please can someone help with the queries below.

Has Anyone tried this in the past and how did you cross the barrier.

I saw a post without response too as early-on as March 2012.
Please oblige.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Wednesday, October 24, 2012 3:55 PM
Subject: XML POST, multiple messages to multiple recipients
 

Hello All,
I'm trying to send many messages at the same time in one XML post, the post 
is accepted but only the first message message number one is sent to all 
the listed recipients
[1 and 2].

My question is: since Kannel can accept multiple recipients, how do I 
format the xml to support multiple messages too.

My format is as show below. All comments are duly appreciated.



= START 
?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
   
oanumber98765/number/oa
    udmessage number one/ud

    danumber1/number/da

Re: XML POST, multiple messages to multiple recipients

2012-10-29 Thread Mike Nwaogu
Hello am I to assume there's no solution to this problem?

Its been unanswered for days now.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Friday, October 26, 2012 12:46 PM
Subject: Re: XML POST, multiple messages to multiple recipients
 

Hello All,
Please can someone help with the queries below.

Has Anyone tried this in the past and how did you cross the barrier.

I saw a post without response too as early-on as March 2012.
Please oblige.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Wednesday, October 24, 2012 3:55 PM
Subject: XML POST, multiple messages to multiple recipients
 

Hello All,
I'm trying to send many messages at the same time in one XML post, the post is 
accepted but only the first message message number one is sent to all the 
listed recipients
[1 and 2].

My question is: since Kannel can accept multiple recipients, how do I format 
the xml to support multiple messages too.

My format is as show below. All comments are duly appreciated.


= START 
?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
   
oanumber98765/number/oa
    udmessage number one/ud

    danumber1/number/da
   
oanumber12345/number/oa
    udmessage number two/ud

    from
    userfoo/user
    passbar/pass
    /from
    /submit
/message
= END ==
 
Best Regards,
Michael C. Nwaogu

Re: How many short codes can I use on a single VPN connection to my server?

2012-10-29 Thread Mike Nwaogu
As many short codes as you want.

 From: Alexander Suraphel alexsurap...@gmail.com

To: users@kannel.org 
Sent: Monday, October 29, 2012 8:58 PM
Subject: How many short codes can I use on a single VPN connection to my server?
 

I plan to have one VPN connection, one server and my shortcodes... 

Re: XML POST, multiple messages to multiple recipients

2012-10-29 Thread Mike Nwaogu
Thanks for getting back,
Which file specifically?


Best Regards,
Michael C. Nwaogu



 From: spameden spame...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, October 29, 2012 8:31 PM
Subject: Re: XML POST, multiple messages to multiple recipients
 

You can modify kannel's sources to implement this.


2012/10/29 Mike Nwaogu michael_nwa...@yahoo.com

Hello am I to assume there's no solution to this problem?

Its been unanswered for days now.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Friday, October 26, 2012 12:46 PM
Subject: Re: XML POST, multiple messages to multiple recipients
 


Hello All,
Please can someone help with the queries below.

Has Anyone tried this in the past and how did you cross the barrier.

I saw a post without response too as early-on as March 2012.
Please oblige.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Wednesday, October 24, 2012 3:55 PM
Subject: XML POST, multiple messages to multiple recipients
 

Hello All,
I'm trying to send many messages at the same time in one XML post, the post is 
accepted but only the first message message number one is sent to all the 
listed recipients
[1 and 2].

My question is: since Kannel can accept multiple recipients, how do I format 
the xml to support multiple messages too.

My format is as show below. All comments are duly appreciated.



= START 
?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
   
oanumber98765/number/oa
    udmessage number one/ud

    danumber1/number/da
   
oanumber12345/number/oa
    udmessage number two/ud

    from
    userfoo/user
    passbar/pass
    /from
    /submit
/message
= END ==
 
Best Regards,
Michael C. Nwaogu





Re: XML POST, multiple messages to multiple recipients

2012-10-29 Thread Mike Nwaogu
Thanks for getting back,
Which file specifically?


Best Regards,
Michael C. Nwaogu



 From: spameden spame...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, October 29, 2012 8:31 PM
Subject: Re: XML POST, multiple messages to multiple recipients
 

You can modify kannel's sources to implement this.


2012/10/29 Mike Nwaogu michael_nwa...@yahoo.com

Hello am I to assume there's no solution to this problem?

Its been unanswered for days now.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Friday, October 26, 2012 12:46 PM
Subject: Re: XML POST, multiple messages to multiple recipients
 


Hello All,
Please can someone help with the queries below.

Has Anyone tried this in the past and how did you cross the barrier.

I saw a post without response too as early-on as March 2012.
Please oblige.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Wednesday, October 24, 2012 3:55 PM
Subject: XML POST, multiple messages to multiple recipients
 

Hello All,
I'm trying to send many messages at the same time in one XML post, the post is 
accepted but only the first message message number one is sent to all the 
listed recipients
[1 and 2].

My question is: since Kannel can accept multiple recipients, how do I format 
the xml to support multiple messages too.

My format is as show below. All comments are duly appreciated.



= START 
?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
   
oanumber98765/number/oa
    udmessage number one/ud

    danumber1/number/da
   
oanumber12345/number/oa
    udmessage number two/ud

    from
    userfoo/user
    passbar/pass
    /from
    /submit
/message
= END ==
 
Best Regards,
Michael C. Nwaogu





Re: Post SMS Message

2012-10-26 Thread Mike Nwaogu
Remon Magdy rmagdy at arpuplus.com writes:

 Hello All,
 I have two questions regarding XML post on Kannel
 Is it possible to send more than one SMS in the same XML posted
 to Kannel?
 How can I post the XML to kannel?


Hello Remon,
Did you get a reply to this question and how did you cross the bridge if you
eventually did. I too need to send more than one SMS in the same XML post. No
one seems to be coming out with the information on the list.





Re: XML POST, multiple messages to multiple recipients

2012-10-26 Thread Mike Nwaogu
Hello All,
Please can someone help with the queries below.

Has Anyone tried this in the past and how did you cross the barrier.

I saw a post without response too as early-on as March 2012.
Please oblige.


Best Regards,
Michael C. Nwaogu



 From: Mike Nwaogu michael_nwa...@yahoo.com
To: users@kannel.org users@kannel.org 
Sent: Wednesday, October 24, 2012 3:55 PM
Subject: XML POST, multiple messages to multiple recipients
 

Hello All,
I'm trying to send many messages at the same time in one XML post, the post is 
accepted but only the first message message number one is sent to all the 
listed recipients
[1 and 2].

My question is: since Kannel can accept multiple recipients, how do I format 
the xml to support multiple messages too.

My format is as show below. All comments are duly appreciated.


= START 
?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
   
oanumber98765/number/oa
    udmessage number one/ud

    danumber1/number/da
   
oanumber12345/number/oa
    udmessage number two/ud

    from
    userfoo/user
    passbar/pass
    /from
    /submit
/message
= END ==
 
Best Regards,
Michael C. Nwaogu

XML POST, multiple messages to multiple recipients

2012-10-24 Thread Mike Nwaogu
Hello All,
I'm trying to send many messages at the same time in one XML post, the post is 
accepted but only the first message message number one is sent to all the 
listed recipients
[1 and 2].

My question is: since Kannel can accept multiple recipients, how do I format 
the xml to support multiple messages too.

My format is as show below. All comments are duly appreciated.


= START 
?xml version=1.0 encoding=utf-8?
message
    submit
    danumber2/number/da
   
oanumber98765/number/oa
    udmessage number one/ud

    danumber1/number/da
   
oanumber12345/number/oa
    udmessage number two/ud

    from
    userfoo/user
    passbar/pass
    /from
    /submit
/message
= END ==
 
Best Regards,
Michael C. Nwaogu

Forced Sender for opensmppbox

2012-07-18 Thread Mike Nwaogu
Hello Guys,
Any know how I can configure a specific sender for any but not all of my smpp 
clients?

I'm running kannel v1.5.0

smppclient--
          |
          |
smppclient--opensmppbox--bearerbox--smsc
          |
          |
smppclient--


Best Regards,
Michael C. Nwaogu

Re: Opensmppbox and filtering MT messages by sender address

2012-04-06 Thread Mike Nwaogu
Hello Miranda,
Did you get a solution for this challenge, I'd like to know what you did.


Best Regards,
Michael C. Nwaogu
---
Hi,

(switching back to users)

Opensmppbox controls connections through its clients.txt file using IP 
addresses. In this setup, the upstream ESME has the responsibility to filter 
individual pushers...

BR,
Nikos
- Original Message - 
From: Alexander Malysh
To: Miranda Weasley
Cc: devel at kannel.org
Sent: Wednesday, March 30, 2011 5:35 PM
Subject: Re: Opensmppbox and filtering MT messages by sender address


Hi,


if nor opensmppbox or sqlbox can do this then there are no ways at this 
point in time...


Thanks,
Alexander Malysh


Am 29.03.2011 um 22:33 schrieb Miranda Weasley:


Hi All,
I didn't get answer to my question in users at kannel.org maillist, so as the 
last resort I'm posting it in devel at kannel.org.


I configured kannel 1.5.0 to allow sending of messages as follow:
ESME = opensmppbox = sqlbox = bearerbox = external SMSCs
Is there any way to block SMS from certain sender addresses anywhere in this 
chain of boxes?


I know there are white-list-regex and black-list-regex in core group but it 
seems that those parameters are filtering the messages going in the opposite 
direction (from external SMSC to bearerbox) and I need to do filtering in 
direction indicated by =.


Best regards,
Miranda Weasley 

Re: create fake DLR for message sent via SMPP smsc

2012-04-06 Thread Mike Nwaogu
Hi Bogdan,
search for this post.
Re: Forged downstream Delivery Report
 
Best Regards,
Michael C. Nwaogu


- Original Message -
From: Bogdan Lucaciu bog...@wiz.ro
To: users@kannel.org
Cc: 
Sent: Friday, April 6, 2012 3:46 PM
Subject: create fake DLR for message sent via SMPP smsc

Hello,

For random reasons, for  certain messages we  don't GET a DLR from the
smsc, although we should.
Is there a way to create a fake DLR (that is then passed to the proper
smsbox for the message) for messages that sit in the DLR queue (in
mysql) for longer than a week?
I'm talking about a SMPP smsc, I know it's easy for a HTTP smsc.

Thank you!
-- 
Bogdan Lucaciu
http://www.wiz.ro

Re: Multiple concurrent client connections

2012-04-04 Thread Mike Nwaogu
Thanks alot Rene,
I guess the solution would then be for the client to increase throughput and 
push out as many as are possible in a minute. Is this assumption correct?

 
Best Regards,
Michael C. Nwaogu



 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Mike Nwaogu' michael_nwa...@yahoo.com; users@kannel.org 
Sent: Wednesday, April 4, 2012 12:10 AM
Subject: RE: Multiple concurrent client connections
 

I’m afraid that with the current sources it is not possible to bind more than 
once to the same opensmppbox.
However, you can try multiple opensmppbox instances, each listening on a 
different port (not tested).
 
== Rene
 
 
From:Mike Nwaogu [mailto:michael_nwa...@yahoo.com] 
Sent: Monday, 02 April, 2012 12:39
To: Rene Kluwen; users@kannel.org
Subject: Re: Multiple concurrent client connections
 
Yes Rene,
I want each clients to be able to have 4 or 5 simultaneous connections using 
the same account details.
Is this possible, and how, if yes?
 
Best Regards,
Michael C. Nwaogu



From:Rene Kluwen rene.klu...@chimit.nl
To: 'Mike Nwaogu' michael_nwa...@yahoo.com; users@kannel.org 
Sent: Sunday, April 1, 2012 10:37 AM
Subject: RE: Multiple concurrent client connections
 
Do you mean concurrent connections of the same user?
That is “by design”…
 
== Rene
 
 
From:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Mike Nwaogu
Sent: Sunday, 01 April, 2012 01:02
To: users@kannel.org
Subject: Multiple concurrent client connections
 
I'm looking to increase the allowable number of concurrent smpp client 
connections.
I run opensmppbox and currently, only two simultaneous connection stay 
connected after the initial verification process. The others may connect but 
I'm only able to use two at the same time as the other(s) keep breaking the 
connection ever so often.

Suggestions, will help.
Best Regards,
Mike Ben Abel.

Re: Multiple concurrent client connections

2012-04-03 Thread Mike Nwaogu
Hi Rene, All, 

Any advise for me??
I do need to increase the number of connections that a client can have to my 
machine, right now, they can only have two simultaneous connections and I need 
them to have at least 5 each. How do I achieve this, is there some where I have 
to make an entry? The opensmppbox ordinarily accepted 2 and I didn't have to 
configure that anywhere.

Some pointers that will help is appreciated.
 
Best Regards,
Michael C. Nwaogu



 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Mike Nwaogu' michael_nwa...@yahoo.com; users@kannel.org 
Sent: Sunday, April 1, 2012 10:37 AM
Subject: RE: Multiple concurrent client connections
 

Do you mean concurrent connections of the same user?
That is “by design”…
 
== Rene
 
 
From:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Mike Nwaogu
Sent: Sunday, 01 April, 2012 01:02
To: users@kannel.org
Subject: Multiple concurrent client connections
 
I'm looking to increase the allowable number of concurrent smpp client 
connections.
I run opensmppbox and currently, only two simultaneous connection stay 
connected after the initial verification process. The others may connect but 
I'm only able to use two at the same time as the other(s) keep breaking the 
connection ever so often.

Suggestions, will help.
Best Regards,
Mike Ben Abel.

Re: Multiple concurrent client connections

2012-04-02 Thread Mike Nwaogu
Yes Rene,
I want each clients to be able to have 4 or 5 simultaneous connections using 
the same account details.
Is this possible, and how, if yes?

 
Best Regards,
Michael C. Nwaogu



 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Mike Nwaogu' michael_nwa...@yahoo.com; users@kannel.org 
Sent: Sunday, April 1, 2012 10:37 AM
Subject: RE: Multiple concurrent client connections
 

Do you mean concurrent connections of the same user?
That is “by design”…
 
== Rene
 
 
From:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Mike Nwaogu
Sent: Sunday, 01 April, 2012 01:02
To: users@kannel.org
Subject: Multiple concurrent client connections
 
I'm looking to increase the allowable number of concurrent smpp client 
connections.
I run opensmppbox and currently, only two simultaneous connection stay 
connected after the initial verification process. The others may connect but 
I'm only able to use two at the same time as the other(s) keep breaking the 
connection ever so often.

Suggestions, will help.
Best Regards,
Mike Ben Abel.

Re: Originating SMS to local smpp client.

2012-03-31 Thread Mike Nwaogu
Thanks Alvaro,
I didn't have the MT2MO smsc-id name in the smsbox-route involved.

Best Regards,

Michael C. Nwaogu



 From: Alvaro Cornejo cornejo.alv...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Saturday, March 31, 2012 1:31 AM
Subject: Re: Originating SMS to local smpp client.
 
Hi

Just add smsc=Your_smsc_id in your call to smsbox.

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 Fri, Mar 30, 2012 at 2:46 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote:
 Hello Guys,
 I keep getting an Not routable. Do not try again.
 when I send a message from my local sendsms-user to a local smpp client.
 While messages coming from external SMSC is easily routed to these clients.

 What could I be missing? Do I need a special setting for routing local
 messages internally?

 Mike Ben-Abel.

Multiple concurrent client connections

2012-03-31 Thread Mike Nwaogu
I'm looking to increase the allowable number of concurrent smpp client 
connections.
I run opensmppbox and currently, only two simultaneous connection stay 
connected after the initial verification process. The others may connect but 
I'm only able to use two at the same time as the other(s) keep breaking the 
connection ever so often.


Suggestions, will help.


Best Regards,
Mike Ben Abel.


Originating SMS to local smpp client.

2012-03-30 Thread Mike Nwaogu
Hello Guys,
I keep getting an Not routable. Do not try again.

when I send a message from my local sendsms-user to a local smpp client. While 
messages coming from external SMSC is easily routed to these clients.

What could I be missing? Do I need a special setting for routing local messages 
internally?


Mike Ben-Abel.

Re: Forged downstream Delivery Report

2012-02-24 Thread Mike Nwaogu
Oh Yes, Niel, I already did that thanks for the suggestion in the first place. 
It will do for now, until I need something a little more complex.

 
Best Regards,
Michael C. Nwaogu



 From: Niel daniel.alfred.sm...@gmail.com
To: users@kannel.org 
Sent: Friday, February 24, 2012 8:33 AM
Subject: Re: Forged downstream Delivery Report
 
Niel Smith daniel.alfred.smith at gmail.com writes:

 
 
 Hi Mike,I've had some success injecting DLR into the generic http
smsc.Assuming your http smsc port is set to 1234, the following will inject a
delivered dlr:
 
 

http://servername:1234/sms?username=userpassword=passdlr-mask=1dlr-mid=5e2a4d0f-2b51-4fa9-8cf3-028a51678c4a
 
 I use the generic-foreign-id-regex parameter to set a external ID when 
 sending, but you can always just grab the kannel one. Supply this with the
dlr-mid 
 parameter.It appears that dlr-mask=1 is delivered, anything other that 1 is
failed / not delivered. When kannel accepts the SMS, the status is accepted /
queued, then, if the sendsms does not return an error, the status is submitted /
pending.I've also found that you need to let kannel finish the sendsms call
before you can inject a delivery report.Regards,On 3 January 2012 17:22, Mike
Nwaogu michael_nwaogu at yahoo.com wrote:
 
 Hello Guys,
 I have a small concern. I have the 3 SMPP providers and 2 HTTP providers
somehow, most of my messages are sent out through the HTTP connection as such I
don't get delivery reports real time.
 
 
 
 
 My question, is there someway I can return a sort of delivery report of any of
the status ACCEPTED | ENROUTE | DELIVERED for messages which have been
sent out via the HTTP route.
 
 
 
 
 Regards,Michael C. Nwaogu
 
 
 
 
 

Hi Mike, 

Found a problem with this approach, there is some issue related to generic-http
which does not swap source and destination addresses when builing the Delivery
Report String.

I don't want to get into building the string myself, so I'm prolly going to take
the cowards way out and have a script swap the src  dest fields inside the
database before submitting

Forged downstream Delivery Report

2012-01-03 Thread Mike Nwaogu
Hello Guys,
I have a small concern. I have the 3 SMPP providers and 2 HTTP providers 
somehow, most of my messages are sent out through the HTTP connection as such I 
don't get delivery reports real time.

My question, is there someway I can return a sort of delivery report of any of 
the status ACCEPTED | ENROUTE | DELIVERED for messages which have been 
sent out via the HTTP route.



Regards,
Michael C. Nwaogu

Re: Associating a DLR with the original message

2010-10-29 Thread Mike Nwaogu
Quick question Garth,
I noticed that the message id I store when I send isn't the same one the DLR 
comes back with, how do I reconcile this?

 Regards,
Mike Nwaogu







From: Garth Patil garthpa...@gmail.com
To: users@kannel.org
Cc: Mike Nwaogu michael_nwa...@yahoo.com
Sent: Thu, October 28, 2010 4:44:56 PM
Subject: Re: Associating a DLR with the original message

This is the patch I used to get the id:

--- gateway-1.4.3-orig/gw/smsbox.c2009-01-12 08:46:57.0 -0800
+++ gateway-1.4.3/gw/smsbox.c2009-08-26 14:08:50.0 -0700
@@ -192,11 +192,15 @@
 switch (msg-ack.nack) {
   case ack_success:
 status = HTTP_ACCEPTED;
-answer = octstr_create(0: Accepted for delivery);
+//answer = octstr_create(0: Accepted for delivery);
+answer = octstr_create(0: Accepted for delivery: );
+octstr_append(answer, os);
 break;
   case ack_buffered:
 status = HTTP_ACCEPTED;
-answer = octstr_create(3: Queued for later delivery);
+//answer = octstr_create(3: Queued for later delivery);
+answer = octstr_create(3: Queued for later delivery: );
+octstr_append(answer, os);
 break;
   case ack_failed:
 status = HTTP_FORBIDDEN;


On Thu, Oct 28, 2010 at 7:02 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:


 
 
Hello Yall,
Alejandro posted something on this patch last year.
on the above  subject, I'd like to know how to achieve this patch using the 
same 
kannel version 1.4.3
I want my send-sms service to reply like so 0: Accepted for delivery: 
c8d487ac-181f-4f2e-97d7-ffb7abfe99b9

where c8d487ac-181f-4f2e-97d7-ffb7abfe99b9 is the message ID as created by 
kannel.

How do I achieve this?

Regards,
Mike Nwaogu


 

  
  

 




  

Re: Associating a DLR with the original message

2010-10-29 Thread Mike Nwaogu
Thanks for your answer, so you're saying I can change the patch and use the 
smsc 
id instead or how do I know the message I sent just now has received a DLR and 
that the status belongs to the message I sent?

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Alvaro Cornejo cornejo.alv...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: Garth Patil garthpa...@gmail.com; users@kannel.org
Sent: Fri, October 29, 2010 2:48:02 PM
Subject: Re: Associating a DLR with the original message


The id you get with the patch is the one created by kannel for its own process. 
The one that comes from the smsc is the smsc id. That is why kannel queries its 
database for the id/msisdn when receiving an dlr
 
 

|-|

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 Fri, Oct 29, 2010 at 6:00 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

Quick question Garth,
I noticed that the message id I store when I send isn't the same one the DLR 
comes back with, how do I reconcile this?

 Regards,
Mike Nwaogu








 From: Garth Patil garthpa...@gmail.com
To: users@kannel.org
Cc: Mike Nwaogu michael_nwa...@yahoo.com
Sent: Thu, October 28, 2010 4:44:56 PM
Subject: Re: Associating a DLR with the original message


This is the patch I used to get the id:

--- gateway-1.4.3-orig/gw/smsbox.c2009-01-12 08:46:57.0 -0800
+++ gateway-1.4.3/gw/smsbox.c2009-08-26 14:08:50.0 -0700
@@ -192,11 +192,15 @@
 switch (msg-ack.nack) {
   case ack_success:
 status = HTTP_ACCEPTED;
-answer = octstr_create(0: Accepted for delivery);
+//answer = octstr_create(0: Accepted for delivery);
+answer = octstr_create(0: Accepted for delivery: );
+octstr_append(answer, os);
 break;
   case ack_buffered:
 status = HTTP_ACCEPTED;
-answer = octstr_create(3: Queued for later delivery);
+//answer = octstr_create(3: Queued for later delivery);
+answer = octstr_create(3: Queued for later delivery: );
+octstr_append(answer, os);
 break;
   case ack_failed:
 status = HTTP_FORBIDDEN;


On Thu, Oct 28, 2010 at 7:02 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:


 
 
Hello Yall,
Alejandro posted something on this patch last year.
on the above subject, I'd like to know how to achieve this patch using the 
same 
kannel version 1.4.3
I want my send-sms service to reply like so 0: Accepted for delivery: 
c8d487ac-181f-4f2e-97d7-ffb7abfe99b9

where c8d487ac-181f-4f2e-97d7-ffb7abfe99b9 is the message ID as created by 
kannel.

How do I achieve this?

Regards,
Mike Nwaogu


 

  
  

 






  

Re: Associating a DLR with the original message

2010-10-29 Thread Mike Nwaogu
OK, that means I have to include the dlr-url in every http request?

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Alvaro Cornejo cornejo.alv...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: Garth Patil garthpa...@gmail.com; users@kannel.org
Sent: Fri, October 29, 2010 3:12:43 PM
Subject: Re: Associating a DLR with the original message


The best way is to add your own unique Id to the dlr-url and have kannel call 
that url when a dlr arrives
 
see ug for detailed info
 

|-|

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 Fri, Oct 29, 2010 at 9:01 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

Thanks for your answer, so you're saying I can change the patch and use the 
smsc 
id instead or how do I know the message I sent just now has received a DLR and 
that the status belongs to the message I sent? 



 Regards,
Mike Nwaogu
Tel: 234_802_325_6437 






 From: Alvaro Cornejo cornejo.alv...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: Garth Patil garthpa...@gmail.com; users@kannel.org
Sent: Fri, October 29, 2010 2:48:02 PM

Subject: Re: Associating a DLR with the original message
 


The id you get with the patch is the one created by kannel for its own 
process. 
The one that comes from the smsc is the smsc id. That is why kannel queries 
its 
database for the id/msisdn when receiving an dlr
 
 

|-|

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 Fri, Oct 29, 2010 at 6:00 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

Quick question Garth,
I noticed that the message id I store when I send isn't the same one the DLR 
comes back with, how do I reconcile this?

 Regards,
Mike Nwaogu








 From: Garth Patil garthpa...@gmail.com
To: users@kannel.org
Cc: Mike Nwaogu michael_nwa...@yahoo.com
Sent: Thu, October 28, 2010 4:44:56 PM
Subject: Re: Associating a DLR with the original message


This is the patch I used to get the id:

--- gateway-1.4.3-orig/gw/smsbox.c2009-01-12 08:46:57.0 -0800
+++ gateway-1.4.3/gw/smsbox.c2009-08-26 14:08:50.0 -0700
@@ -192,11 +192,15 @@
 switch (msg-ack.nack) {
   case ack_success:
 status = HTTP_ACCEPTED;
-answer = octstr_create(0: Accepted for delivery);
+//answer = octstr_create(0: Accepted for delivery);
+answer = octstr_create(0: Accepted for delivery: );
+octstr_append(answer, os);
 break;
   case ack_buffered:
 status = HTTP_ACCEPTED;
-answer = octstr_create(3: Queued for later delivery);
+//answer = octstr_create(3: Queued for later delivery);
+answer = octstr_create(3: Queued for later delivery: );
+octstr_append(answer, os);
 break;
   case ack_failed:
 status = HTTP_FORBIDDEN;


On Thu, Oct 28, 2010 at 7:02 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:


 
 
Hello Yall,
Alejandro posted something on this patch last year.
on the above subject, I'd like to know how to achieve this patch using the 
same 
kannel version 1.4.3
I want my send-sms service to reply like so 0: Accepted for delivery: 
c8d487ac-181f-4f2e-97d7-ffb7abfe99b9

where c8d487ac-181f-4f2e-97d7-ffb7abfe99b9 is the message ID as created by 
kannel.

How do I achieve this?

Regards,
Mike Nwaogu


 

  
  

 








  

Re: DLR initiated Error

2010-10-28 Thread Mike Nwaogu
Thanks alot Slavoj,
Can I use multiple smsc_id
eg:
group = smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type =integer
length = 1
smsc-id = smsc_1, smsc2, smsc3


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: XEN-Housing s.r.o. i...@xen-housing.sk
To: users@kannel.org; michael_nwa...@yahoo.com
Sent: Wed, October 27, 2010 10:57:14 PM
Subject: DLR initiated Error

Hello Mike,

at first, i did not get your reply form mailinglist. found it only on web 
archive of mailinglist. other responses are comming to me well.

At second, u can define any tlv at kannel.conf and they will be passed withouth 
warning or error to smsbox and can be readed as metadata at DLR callback url.

Definition for example:

group = smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type =integer
length = 1
smsc-id = smsc_id_where_it_comes


Slavoj.


  

Re: DLR initiated Error

2010-10-28 Thread Mike Nwaogu
thanks Nikos
semi colon works, how about hat to do for other tags?


0x0006

Do I just create another smpp-tlv group and add tlv_dest_network_type as the 
tag?

Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Nikos Balkanas nbalka...@gmail.com
To: XEN-Housing s.r.o. i...@xen-housing.sk; Mike Nwaogu 
michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thu, October 28, 2010 11:48:18 AM
Subject: Re: DLR initiated Error


If you do, try to use semi-colon ; not comma ,  as list separator.
 
BR,
Nikos
- Original Message - 
From: XEN-Housings.r.o. 
To: Mike Nwaogu 
Cc: users@kannel.org 
Sent: Thursday, October 28, 2010 11:30AM
Subject: Re: DLR initiated Error

I am not sure, u need to try this, or omit smsc-id parameter,and make it 
global.

Dňa 28. 10. 2010 9:43, Mike Nwaogu  wrote /napísal(a): 
 
Thanks  alot Slavoj,
Can I use multiple smsc_id
eg:
group =  smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type  =integer
length = 1
smsc-id = smsc_1, smsc2, smsc3


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437 






 From: XEN-Housing s.r.o. i...@xen-housing.sk
To: users@kannel.org; michael_nwa...@yahoo.com
Sent: Wed, October 27, 2010 10:57:14  PM
Subject: DLR initiated  Error

Hello Mike,

at first, i did not get your reply  form mailinglist. found it only on 
web 
archive of mailinglist. other  responses are comming to me well.

At second, u can define any tlv at  kannel.conf and they will be passed 
withouth warning or error to smsbox and  can be readed as metadata at DLR 
callback url.

Definition for  example:

group = smpp-tlv
name = tlv_source_network_type
tag =  0x000e
type =integer
length = 1
smsc-id =  smsc_id_where_it_comes


Slavoj.






  

Associating a DLR with the original message

2010-10-28 Thread Mike Nwaogu
  Hello Yall,Alejandro posted something on this patch last year.on the above
 subject, I'd like to know how to achieve this patch using the same kannel version 1.4.3I want my send-sms service to reply like so "0: Accepted for delivery: c8d487ac-181f-4f2e-97d7-ffb7abfe99b9"where "c8d487ac-181f-4f2e-97d7-ffb7abfe99b9" is the message ID as created by kannel.How do I achieve this?Regards,Mike NwaoguTel: 234_802_325_6437
   







  

Re: DLR initiated Error

2010-10-28 Thread Mike Nwaogu
I think I did something wrong.
I have the error Group 'smpp-tlv' is no valid group identifier.

Why does this happen?

Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: XEN-Housing s.r.o. i...@xen-housing.sk
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thu, October 28, 2010 12:11:28 PM
Subject: Re: DLR initiated Error

Yes, exactly.


Dňa 28. 10. 2010 13:08, Mike Nwaogu  wrote / napísal(a): 
thanks Nikos
semi colon works, how about hat to do for other tags?


0x0006

Do I just create another smpp-tlv group and add   
tlv_dest_network_type 
as the tag?


Regards,
Mike Nwaogu
Tel: 234_802_325_6437 






From: Nikos Balkanas nbalka...@gmail.com
To: XEN-Housing s.r.o. i...@xen-housing.sk; Mike   Nwaogu 
michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thu,   October 28, 2010 11:48:18 AM
Subject: Re: DLR initiated Error


If you do, try to use semi-colon ; not comma , as list 
separator.
 
BR,
Nikos
- Original Message - 
From: XEN-Housing s.r.o. 
To: Mike   Nwaogu 
Cc: users@kannel.org 
Sent: Thursday, October 28, 2010 11:30 AM
Subject: Re: DLR initiated Error


I am not sure, u need to try this, or omit smsc-id   parameter, and 
make it global.

Dňa 28. 10. 2010 9:43, Mike Nwaogu  wrote / napísal(a): 
 
Thanks alot Slavoj,
Can I use multiple smsc_id
eg:
group = smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type =integer
length = 1
smsc-id = smsc_1, smsc2, smsc3


 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437 






 From: XEN-Housing s.r.o. i...@xen-housing.sk
To: users@kannel.org; michael_nwa...@yahoo.com
Sent: Wed, October 27, 2010 10:57:14 PM
Subject: DLR initiated Error

Hello Mike,

at first, i did not get your reply form   mailinglist. 
found 
it only on web archive of   mailinglist. other responses 
are 
comming to me   well.

At second, u can define any tlv at kannel.conf and   
they 
will be passed withouth warning or error to   smsbox and 
can 
be readed as metadata at DLR   callback url.

Definition for example:

group = smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type =integer
length = 1
smsc-id = smsc_id_where_it_comes


Slavoj.








  

Re: DLR initiated Error

2010-10-28 Thread Mike Nwaogu
I just installed a new latest kannel version 1.4.3

It worked just now, then it stopped, I suspect I've done something wrong.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; XEN-Housing s.r.o. 
i...@xen-housing.sk
Cc: users@kannel.org
Sent: Thu, October 28, 2010 3:50:37 PM
Subject: Re: DLR initiated Error

Hi,

You probably have an outddated kannel. Please download  install latest svn.

BR,
Nikos
- Original Message - From: Mike Nwaogu
To: XEN-Housing s.r.o.
Cc: users@kannel.org
Sent: Thursday, October 28, 2010 5:21 PM
Subject: Re: DLR initiated Error


I think I did something wrong.
I have the error Group 'smpp-tlv' is no valid group identifier.

Why does this happen?


Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: XEN-Housing s.r.o. i...@xen-housing.sk
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thu, October 28, 2010 12:11:28 PM
Subject: Re: DLR initiated Error

Yes, exactly.


Dňa 28. 10. 2010 13:08, Mike Nwaogu  wrote / napísal(a):
thanks Nikos
semi colon works, how about hat to do for other tags?


0x0006

Do I just create another smpp-tlv group and add tlv_dest_network_type as the 
tag?


Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: Nikos Balkanas nbalka...@gmail.com
To: XEN-Housing s.r.o. i...@xen-housing.sk; Mike Nwaogu 
michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thu, October 28, 2010 11:48:18 AM
Subject: Re: DLR initiated Error


If you do, try to use semi-colon ; not comma , as list separator.

BR,
Nikos
- Original Message - From: XEN-Housing s.r.o.
To: Mike Nwaogu
Cc: users@kannel.org
Sent: Thursday, October 28, 2010 11:30 AM
Subject: Re: DLR initiated Error


I am not sure, u need to try this, or omit smsc-id parameter, and make it 
global.

Dňa 28. 10. 2010 9:43, Mike Nwaogu  wrote / napísal(a):
Thanks alot Slavoj,
Can I use multiple smsc_id
eg:
group = smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type =integer
length = 1
smsc-id = smsc_1, smsc2, smsc3



Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: XEN-Housing s.r.o. i...@xen-housing.sk
To: users@kannel.org; michael_nwa...@yahoo.com
Sent: Wed, October 27, 2010 10:57:14 PM
Subject: DLR initiated Error

Hello Mike,

at first, i did not get your reply form mailinglist. found it only on web 
archive of mailinglist. other responses are comming to me well.

At second, u can define any tlv at kannel.conf and they will be passed withouth 
warning or error to smsbox and can be readed as metadata at DLR callback url.

Definition for example:

group = smpp-tlv
name = tlv_source_network_type
tag = 0x000e
type =integer
length = 1
smsc-id = smsc_id_where_it_comes


Slavoj. 



  

Re: Associating a DLR with the original message

2010-10-28 Thread Mike Nwaogu
Thanks garth,
This is what I have in my own file on line 192 from column 5
recompiled make  make bindir=/my/kannel/path install
all I get when I send is 0: Accepted for delivery: 
What am I missing?

switch (msg-ack.nack) {
  case ack_success:
status = HTTP_ACCEPTED;
answer = octstr_create(0: Accepted for delivery: );
octstr_append(answer, os);
break;
  case ack_buffered:
status = HTTP_ACCEPTED;
answer = octstr_create(3: Queued for later delivery: );
octstr_append(answer, os);
break;
  case ack_failed:
status = HTTP_FORBIDDEN;
answer = octstr_create(Not routable. Do not try again.);
break;
  case ack_failed_tmp:
status = HTTP_SERVICE_UNAVAILABLE;
answer = octstr_create(Temporal failure, try again later.);
break;
  default:
error(0, Strange reply from bearerbox!);
status = HTTP_SERVICE_UNAVAILABLE;
answer = octstr_create(Temporal failure, try again later.);
break;
}


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Garth Patil garthpa...@gmail.com
To: users@kannel.org
Cc: Mike Nwaogu michael_nwa...@yahoo.com
Sent: Thu, October 28, 2010 4:44:56 PM
Subject: Re: Associating a DLR with the original message

This is the patch I used to get the id:

--- gateway-1.4.3-orig/gw/smsbox.c2009-01-12 08:46:57.0 -0800
+++ gateway-1.4.3/gw/smsbox.c2009-08-26 14:08:50.0 -0700
@@ -192,11 +192,15 @@
 switch (msg-ack.nack) {
   case ack_success:
 status = HTTP_ACCEPTED;
-answer = octstr_create(0: Accepted for delivery);
+//answer = octstr_create(0: Accepted for delivery);
+answer = octstr_create(0: Accepted for delivery: );
+octstr_append(answer, os);
 break;
   case ack_buffered:
 status = HTTP_ACCEPTED;
-answer = octstr_create(3: Queued for later delivery);
+//answer = octstr_create(3: Queued for later delivery);
+answer = octstr_create(3: Queued for later delivery: );
+octstr_append(answer, os);
 break;
   case ack_failed:
 status = HTTP_FORBIDDEN;


On Thu, Oct 28, 2010 at 7:02 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:


 
 
Hello Yall,
Alejandro posted something on this patch last year.
on the above  subject, I'd like to know how to achieve this patch using the 
same 
kannel version 1.4.3
I want my send-sms service to reply like so 0: Accepted for delivery: 
c8d487ac-181f-4f2e-97d7-ffb7abfe99b9

where c8d487ac-181f-4f2e-97d7-ffb7abfe99b9 is the message ID as created by 
kannel.

How do I achieve this?

Regards,
Mike Nwaogu
Tel: 234_802_325_6437

 

  
  

 




  

Re: Associating a DLR with the original message

2010-10-28 Thread Mike Nwaogu
Sorry, it's ok after a reboot.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Garth Patil garthpa...@gmail.com
To: users@kannel.org
Cc: Mike Nwaogu michael_nwa...@yahoo.com
Sent: Thu, October 28, 2010 4:44:56 PM
Subject: Re: Associating a DLR with the original message

This is the patch I used to get the id:

--- gateway-1.4.3-orig/gw/smsbox.c2009-01-12 08:46:57.0 -0800
+++ gateway-1.4.3/gw/smsbox.c2009-08-26 14:08:50.0 -0700
@@ -192,11 +192,15 @@
 switch (msg-ack.nack) {
   case ack_success:
 status = HTTP_ACCEPTED;
-answer = octstr_create(0: Accepted for delivery);
+//answer = octstr_create(0: Accepted for delivery);
+answer = octstr_create(0: Accepted for delivery: );
+octstr_append(answer, os);
 break;
   case ack_buffered:
 status = HTTP_ACCEPTED;
-answer = octstr_create(3: Queued for later delivery);
+//answer = octstr_create(3: Queued for later delivery);
+answer = octstr_create(3: Queued for later delivery: );
+octstr_append(answer, os);
 break;
   case ack_failed:
 status = HTTP_FORBIDDEN;


On Thu, Oct 28, 2010 at 7:02 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:


 
 
Hello Yall,
Alejandro posted something on this patch last year.
on the above  subject, I'd like to know how to achieve this patch using the 
same 
kannel version 1.4.3
I want my send-sms service to reply like so 0: Accepted for delivery: 
c8d487ac-181f-4f2e-97d7-ffb7abfe99b9

where c8d487ac-181f-4f2e-97d7-ffb7abfe99b9 is the message ID as created by 
kannel.

How do I achieve this?

Regards,
Mike Nwaogu
Tel: 234_802_325_6437

 

  
  

 




  

DLR initiated Error

2010-10-27 Thread Mike Nwaogu
  Hello All,I'm not sure when this started so I
 don't know what I may have touched on my kannel.conf to instigate this.I'm getting this error from the bearerbox, what could be wrong.==2010-10-27 10:00:40 [3489] [8] WARNING: smsbox_list empty!2010-10-27 10:00:40 [3489] [6] ERROR: SMPP: Unknown TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received!==Regards,Mike NwaoguTel: 234_802_325_6437
   







  

ActiveX for kannel

2010-03-15 Thread Mike Nwaogu
Hello Yall,
Does someone have an activex dll which I could tailor for my clients to send 
their sms through my kannel installation?

I'm not a windows developer, but I'd hate to bother anyone with so much work.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437



  

Silly Question - AO-MT

2009-12-10 Thread Mike Nwaogu
Does anyone know what the following acronyms mean?
I know they have something to do with Mobile Origination and Termination

AO-MT
MO-AT
Will appreciate the usual quick response

Regards,
Mike Nwaogu
Tel: 234_802_325_6437



  

Re: Silly Question - AO-MT

2009-12-10 Thread Mike Nwaogu
Oh, of course I knew that just checking if y'all did :P
Thanks Kunle, Emmanuel ...

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: ayokunle odusanya ayokunle.odusa...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thu, December 10, 2009 10:29:33 AM
Subject: Re: Silly Question - AO-MT

Hi Mike,

AO-MT : stands for application originated MT (you already know this).
MO-AT : stands for MO (as you already know) application terminated.


Regards,



On Thu, Dec 10, 2009 at 10:20 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

Does anyone know what the following acronyms mean?
I know they have something to do with Mobile Origination and Termination

AO-MT
MO-AT
Will appreciate the usual quick response


Regards,
Mike Nwaogu
Tel: 234_802_325_6437





-- 
Ayokunle Odusanya


  

Re: Curl Not sending SMS

2009-08-01 Thread Mike Nwaogu
$msg = urlencode($msg);

Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: kiran.re...@mpowerglobal.in kiran.re...@mpowerglobal.in
To: Jovan Kostovski chomb...@gmail.com
Cc: users@kannel.org; denis bahati djbah...@yahoo.co.uk
Sent: Tuesday, January 1, 2002 5:02:27 PM
Subject: Re: Curl Not sending SMS

Hi Jovan,

Try sending with

$msg=hello+there+what+are+you+doing;


Jovan Kostovski wrote:
 On Fri, Jul 31, 2009 at 4:33 PM, denis bahatidjbah...@yahoo.co.uk wrote:
  
 example of messages:

 $msg=Hello;

 this will work fine.

 $msg=hello there what are you doing;
 Any idea?


 The message text has to be url encoded.
 Try with:
 $msg=hello%20there%20what%20are%20you%20doing;

 %20 is the url encoded value for space


 HTH, Jovan


  


-- 
Best regards,
*Kiran Reddy*
*System Administrator*

*
http://www.mylivesignature.com
Mpower Global*
1252 A,1ST FLOOR, 32 G CROSS,4TH T BLOCK EAST END MAIN ROAD
BANGALORE-560041 KARNATAKA - INDIA.
Cell.:+91-9886182699
Fax:+91-80-22332134
http://www.mpowerglobal.in
http://www.pushsms.in
http://www.mmschannel.tv
http://www.indias.tv
http://www.trmedia.in


  

GIF Encoder - application

2009-05-28 Thread Mike Nwaogu
Hello All,
I've been trying to encode the attached image to HEX and send it as a NOKIA 
Picture message.
I've tried some of the hex strings I saw on the list and some of them work 
well, however, no matter what I use for the encoding it never appears on the 
phone.

I've tried mike khorn's ringtonetools, enterflex, image magick
would like to know how to convert correctly with any of these above mentioned 
converters and encoders.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437


  attachment: AC_Logo.JPG

Re: GIF Encoder - application

2009-05-28 Thread Mike Nwaogu
This dimensions are in pixels right??

Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Alejandro Guerrieri alejandro.guerri...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Thursday, May 28, 2009 11:45:12 AM
Subject: Re: GIF Encoder - application

You mean those 72x14 and 72x28 B/W logos? I'd start by resizing the image to 
fit on one of those sizes beforehand...

The SmartPhone and perhaps SCKL formats should work with most Nokias.

Hope it helps,

Alejandro


On Thu, May 28, 2009 at 11:27 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

Hello All,
I've been trying to encode the attached image to HEX and send it as a NOKIA 
Picture message.
I've tried some of the hex strings I saw on the list and some of them work 
well, however, no matter what I use for the encoding it never appears on the 
phone.

I've tried mike khorn's ringtonetools, enterflex, image magick
would like to know how to convert correctly with any of these above mentioned 
converters and encoders.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437


  

Re: Invalid content type error

2009-01-15 Thread Mike Nwaogu
I'm inclined to agree with Niko, it's a discrepancy between my app and kannel.
But the thing is using a tcpdump program, is new to me.
a typical command would do.

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; Otandeka Simon Peter 
otand...@smsmedia.info
Cc: users@kannel.org
Sent: Wednesday, January 14, 2009 2:48:48 PM
Subject: Re: Invalid content type error

 
Hi,
 
Mike has already stated that the URL if pasted in a browser 
works OK. Problem is that when he uses his application to send the request it 
doesn't work. There is clearly a discrepancy between what his application sends 
and what he thinks is sending. IMHO It is not a kannel issue, that's why I 
requested a packet dump.
 
I think that a packet sniffer is an essential tool for 
anyone developing client/server applications.
 
BR,
Nikos
- Original Message - 
From: Mike  Nwaogu 
To: Otandeka Simon Peter 
Cc: us...@kannel.orguser 
Sent: Wednesday, January 14, 2009 10:18  AM
Subject: Re: Invalid content type  error


$baseUrl  = http://192.168.0.1:13013/cgi-bin/sendsms?;;
$params  =  
username=userpassword=foobarto=$tofrom=$frmdefault_smsc=sms3dlr-mask=31text=.urlencode($msg);

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top 





 From: Otandeka Simon Peter  otand...@smsmedia.info
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org User users@kannel.org
Sent: Wednesday, January 14, 2009 6:18:30  AM
Subject: Re: Invalid  content type error



Can you paste your cgi-bin sendsms url?  You could be missing  something.

Are you able to bind successfully?

On Jan 13, 2009, at 10:32 PM, Mike Nwaogu wrote:

Yes  I am.

 Regards,
Mike Nwaogu
Tel:  234_802_325_6437
Eml: as_u_ca...@d.top 





 From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 8:31:23  PM
Subject: Re: Invalid content type  error

Hi,

Are you including the  username and password variables you
defined in the sendsms-user  group into your URL?

Regards,

Rodrigo.

On  Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu michael_nwa...@yahoo.com  wrote:
 smsbox.log log-level=0

 2009-01-13 19:46:10  [3707] [2] DEBUG: HTTP: Creating HTTPClient for
  `41.222.67.127'.
 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created  HTTPClient area
 0x8755330.
 2009-01-13 19:46:10 [3707] [3]  INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from  41.222.67.127
 2009-01-13 19:46:10 [3707] [3] DEBUG: Status:  403 Answer: Authorization
 failed for sendsms
  2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
  `41.222.67.127'.
 2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got  HTTP request
 /cgi-bin/sendsms from  41.222.67.127
 2009-01-13 19:46:11 [3707] [3] DEBUG: Status:  403 Answer: Authorization
 failed for sendsms
  2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
  `41.222.67.127'.
 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP:  Destroying HTTPClient area
 0x8755330.
 2009-01-13 19:46:11  [3707] [1] DEBUG: HTTP: Destroying HTTPClient for
  `41.222.67.127'.


 Regards,
 Mike  Nwaogu
 Tel: 234_802_325_6437


  
 From: Nikos Balkanas nbalka...@gmail.com
 To:  Mike Nwaogu michael_nwa...@yahoo.com;  Alejandro Guerrieri
 alejandro.guerri...@gmail.com
  Cc: users@kannel.org
 Sent:  Tuesday, January 13, 2009 7:38:49 PM
 Subject: Re: Invalid content  type error

 Hi,

 By error message I mean the  error message from bearerbox logs and/or smsbox
 log. Please do not  send me php code or HTTP server response (end result). It
 is not my  intention to debug your application.

 BR,
  Nikos
 - Original Message -

 From: Nikos  Balkanas
 To: Mike Nwaogu ; Alejandro Guerrieri
 Cc: users@kannel.org
 Sent:  Tuesday, January 13, 2009 8:25 PM
 Subject: Re: Invalid content type  error
 I am confused. Could you please post the packet from tcpdump  -or- smsbox
 (verbosity 0)? (just the packet) and the exact error  message that you are
 getting?

 BR,
  Nikos

 - Original Message -
 From: Mike  Nwaogu
 To: Nikos Balkanas ; Alejandro Guerrieri
 Cc: users@kannel.org
 Sent:  Tuesday, January 13, 2009 7:32 PM
 Subject: Re: Invalid content type  error
 No I meant that the error changes to
 Authorization  failed for sendsms when I know I've inputed the right
  details.

 Regards,
 Mike Nwaogu
 Tel:  234_802_325_6437


  
 From: Mike Nwaogu michael_nwa...@yahoo.com
  To: Nikos Balkanas nbalka...@gmail.com; Alejandro  Guerrieri
 alejandro.guerri...@gmail.com
  Cc: users@kannel.org
 Sent:  Tuesday, January 13, 2009 5:42:41 PM
 Subject: Re: Invalid content  type error

 Ok thanks, what's the best header to send  in.
 Content-Type: text/html; charset=utf-8 or
  Content-Type: text/html; charset=iso-8859-1

 Do I need

Re: tavia

2009-01-15 Thread Mike Nwaogu
I've used the same script with another provider who seem to be using NOWSMS, it 
doesn't return any errors.

I think it's just about how kannel sees the request that comes in the 
application has to send it how kannel understands it.
 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: Kenny ken.bell...@gmail.com
To: Nikos Balkanas nbalka...@gmail.com; Mike Nwaogu 
michael_nwa...@yahoo.com; Otandeka Simon Peter otand...@smsmedia.info; 
users@kannel.org
Sent: Thursday, January 15, 2009 6:42:28 PM
Subject: Re: Invalid content type error

hi,

With the assumption that the problem might be from the app and that
tcpdump is unconvinient/unavailable then i will suggest the follow.

Write a simple script, PHP or similar, to accept the call from your
app and write the entire uri to a file. To narrow down the problem,
you may want to put this script on another box.

Hope this helps.

On 1/15/09, Nikos Balkanas nbalka...@gmail.com wrote:
 I find tcpdump (or snoop in my case with Solaris) indispensible. I think you
 should at least give it a try. Otherwise you might want to try: smsbox -D
 conffile. It may show packets, too. The point is to see the packets, from
 your app.

 BR,
 Nikos
   - Original Message -
   From: Mike Nwaogu
   To: Nikos Balkanas ; Otandeka Simon Peter
   Cc: users@kannel.org
   Sent: Thursday, January 15, 2009 6:13 PM
   Subject: Re: Invalid content type error


   I'm inclined to agree with Niko, it's a discrepancy between my app and
 kannel.
   But the thing is using a tcpdump program, is new to me.
   a typical command would do.


   Regards,
   Mike Nwaogu
   Tel: 234_802_325_6437






 --
   From: Nikos Balkanas nbalka...@gmail.com
   To: Mike Nwaogu michael_nwa...@yahoo.com; Otandeka Simon Peter
 otand...@smsmedia.info
   Cc: users@kannel.org
   Sent: Wednesday, January 14, 2009 2:48:48 PM
   Subject: Re: Invalid content type error


   Hi,

   Mike has already stated that the URL if pasted in a browser works OK.
 Problem is that when he uses his application to send the request it doesn't
 work. There is clearly a discrepancy between what his application sends and
 what he thinks is sending. IMHO It is not a kannel issue, that's why I
 requested a packet dump.

   I think that a packet sniffer is an essential tool for anyone developing
 client/server applications.

   BR,
   Nikos
 - Original Message -
 From: Mike Nwaogu
 To: Otandeka Simon Peter
 Cc: us...@kannel.orguser
 Sent: Wednesday, January 14, 2009 10:18 AM
 Subject: Re: Invalid content type error



 $baseUrl = http://192.168.0.1:13013/cgi-bin/sendsms?;;
 $params =
 username=userpassword=foobarto=$tofrom=$frmdefault_smsc=sms3dlr-mask=31text=.urlencode($msg);


 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437
 Eml: as_u_ca...@d.top





 
 From: Otandeka Simon Peter otand...@smsmedia.info
 To: Mike Nwaogu michael_nwa...@yahoo.com
 Cc: users@kannel.org User users@kannel.org
 Sent: Wednesday, January 14, 2009 6:18:30 AM
 Subject: Re: Invalid content type error




 Can you paste your cgi-bin sendsms url?  You could be missing something.


 Are you able to bind successfully?


 On Jan 13, 2009, at 10:32 PM, Mike Nwaogu wrote:


   Yes I am.


   Regards,
   Mike Nwaogu
   Tel: 234_802_325_6437
   Eml: as_u_ca...@d.top





 --
   From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com
   To: Mike Nwaogu michael_nwa...@yahoo.com
   Cc: users@kannel.org
   Sent: Tuesday, January 13, 2009 8:31:23 PM
   Subject: Re: Invalid content type error

   Hi,

   Are you including the username and password variables you
   defined in the sendsms-user group into your URL?

   Regards,

   Rodrigo.

   On Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu
 michael_nwa...@yahoo.com wrote:
smsbox.log log-level=0
   
2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for
`41.222.67.127'.
2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area
0x8755330.
2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request
/cgi-bin/sendsms from 41.222.67.127
2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403 Answer:
 Authorization
failed for sendsms
2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
`41.222.67.127'.
2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got HTTP request
/cgi-bin/sendsms from 41.222.67.127
2009-01-13 19:46:11 [3707] [3] DEBUG: Status: 403 Answer:
 Authorization
failed for sendsms
2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting

Re: Invalid content type error

2009-01-14 Thread Mike Nwaogu

$baseUrl = http://192.168.0.1:13013/cgi-bin/sendsms?;;
$params = 
username=userpassword=foobarto=$tofrom=$frmdefault_smsc=sms3dlr-mask=31text=.urlencode($msg);

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: Otandeka Simon Peter otand...@smsmedia.info
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org User users@kannel.org
Sent: Wednesday, January 14, 2009 6:18:30 AM
Subject: Re: Invalid content type error



Can you paste your cgi-bin sendsms url?  You could be missing something.

Are you able to bind successfully?

On Jan 13, 2009, at 10:32 PM, Mike Nwaogu wrote:

Yes I am.

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 8:31:23 PM
Subject: Re: Invalid content type error

Hi,

Are you including the username and password variables you
defined in the sendsms-user group into your URL?

Regards,

Rodrigo.

On Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote:
 smsbox.log log-level=0

 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for
 `41.222.67.127'.
 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area
 0x8755330.
 2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 41.222.67.127
 2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403 Answer: Authorization
 failed for sendsms
 2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
 `41.222.67.127'.
 2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 41.222.67.127
 2009-01-13 19:46:11 [3707] [3] DEBUG: Status: 403 Answer: Authorization
 failed for sendsms
 2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
 `41.222.67.127'.
 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient area
 0x8755330.
 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient for
 `41.222.67.127'.


 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437


 
 From: Nikos Balkanas nbalka...@gmail.com
 To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri
 alejandro.guerri...@gmail.com
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 7:38:49 PM
 Subject: Re: Invalid content type error

 Hi,

 By error message I mean the error message from bearerbox logs and/or smsbox
 log. Please do not send me php code or HTTP server response (end result). It
 is not my intention to debug your application.

 BR,
 Nikos
 - Original Message -

 From: Nikos Balkanas
 To: Mike Nwaogu ; Alejandro Guerrieri
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 8:25 PM
 Subject: Re: Invalid content type error
 I am confused. Could you please post the packet from tcpdump -or- smsbox
 (verbosity 0)? (just the packet) and the exact error message that you are
 getting?

 BR,
 Nikos

 - Original Message -
 From: Mike Nwaogu
 To: Nikos Balkanas ; Alejandro Guerrieri
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 7:32 PM
 Subject: Re: Invalid content type error
 No I meant that the error changes to
 Authorization failed for sendsms when I know I've inputed the right
 details.

 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437


 
 From: Mike Nwaogu michael_nwa...@yahoo.com
 To: Nikos Balkanas nbalka...@gmail.com; Alejandro Guerrieri
 alejandro.guerri...@gmail.com
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 5:42:41 PM
 Subject: Re: Invalid content type error

 Ok thanks, what's the best header to send in.
 Content-Type: text/html; charset=utf-8 or
 Content-Type: text/html; charset=iso-8859-1

 Do I need to config kannel to expect a particular type, I noticed that every
 time I send a request with the either header above I have a PANIC in the
 logs and the process dies.


 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437



 
 From: Nikos Balkanas nbalka...@gmail.com
 To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri
 alejandro.guerri...@gmail.com
 Cc: users@kannel.org
 Sent: Friday, January 2, 2009 6:18:52 PM
 Subject: Re: Invalid content type error

 Hi Mike,

 Kannel is very explicit about its problem. The HTML header Content-type
 you are submitting with your javascript (or more likely don't send at all)
 is invalid. The header of course is not part of the URL which seems to be
 OK.

 You can see the headers you are sending to kannel either by a packet
 analyzer like tcpdump, or by starting bearerbox and smsbox at the shell at
 maximum verbosity:

 bearerbox conffile
 smsbox conffile 

 BR,
 Nikos

 - Original Message -
 From: Mike Nwaogu
 To: Alejandro Guerrieri
 Cc: users@kannel.org
 Sent: Friday, January 02, 2009 7:01 PM
 Subject: Re: Invalid content type error
 Hello All,
 I'm not sure you recall this request from

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
Ok thanks, what's the best header to send in.
Content-Type: text/html; charset=utf-8 or 

Content-Type: text/html; charset=iso-8859-1

Do I need to config kannel to expect a particular type, I noticed that every 
time I send a request with the either header above I have a PANIC in the logs 
and the process dies.


Regards,
Mike Nwaogu
Tel: 234_802_325_6437







From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Friday, January 2, 2009 6:18:52 PM
Subject: Re: Invalid content type error

 
Hi Mike,
 
Kannel is very explicit about its problem. The HTML header 
Content-type you are submitting with your javascript (or more likely don't 
send at all) is invalid. The header of course is not part of the URL which 
seems 
to be OK.
 
You can see the headers you are sending to kannel either by a 
packet analyzer like tcpdump, or by starting bearerbox and smsbox at the shell 
at maximum verbosity:
 
bearerbox conffile
smsbox conffile 
 
BR,
Nikos
- Original Message - 
From: Mike  Nwaogu 
To: Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Friday, January 02, 2009 7:01  PM
Subject: Re: Invalid content type  error

Hello  All,
I'm not sure you recall this request from last year, but i'm having  the same 
issue, and I have checked to be sure, I'm encoding properly using PHP  curl, 
have searched thru the list.

Please help with a pointer, really  lost now.

TIA
Mike Nwaogu.

Alejandro Guerrieri alejandro.guerrieri  at gmail.com 
Mon Mar 5 22:14:56 CET 2007 
* Previous message: Invalid  content type error  
* Next message: Problematic  Kannel behaviour with large message stores 
 
* Messages sorted by: [ date  ] [  thread ] [  subject ] [  author ] 

 
This looks more as a question for the users mailing list. From
Kannel's standpoint this is a kannel user question, not a kannel
developer one.

Hint: Check if you are urlencoding your text fields.

Regards,

Alejandro.

On 3/5/07, sudhir ssharma at signdomains.com wrote:


 Hi,
i  am using Kannel 1.4.1 for my sms application.The configuration
 settings have been made.When i use that url directly into the browser it
 runs fine, but i have to use it into my sms appplication which has been made
 in ASP.

 To send the sms i have made a html form, and using javascript i am
 submitting all the values to the kannel.after submitting it gives 'invalid
 content type' error.
 but when i
 print this URl on to the sreen and copy an paste it into the
 browser ,then it runs fine.

 can anyone of you please tel me that where i am making the mistake or
 anyother solution.I am using 'get' method in my form.
 Thanks in advanvce.


 Thanks  Regards,
 Sudhir Sharma


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri


  

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
No I meant that the error changes to 
Authorization failed for sendsms when I know I've inputed the right details.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: Mike Nwaogu michael_nwa...@yahoo.com
To: Nikos Balkanas nbalka...@gmail.com; Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 5:42:41 PM
Subject: Re: Invalid content type error


Ok thanks, what's the best header to send in.
Content-Type: text/html; charset=utf-8 or 

Content-Type: text/html; charset=iso-8859-1

Do I need to config kannel to expect a particular type, I noticed that every 
time I send a request with the either header above I have a PANIC in the logs 
and the process dies.


Regards,
Mike Nwaogu
Tel: 234_802_325_6437







From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Friday, January 2, 2009 6:18:52 PM
Subject: Re: Invalid content type error

 
Hi Mike,
 
Kannel is very explicit about its problem. The HTML header 
Content-type you are submitting with your javascript (or more likely don't 
send at all) is invalid. The header of course is not part of the URL which 
seems 
to be OK.
 
You can see the headers you are sending to kannel either by a 
packet analyzer like tcpdump, or by starting bearerbox and smsbox at the shell 
at maximum verbosity:
 
bearerbox conffile
smsbox conffile 
 
BR,
Nikos
- Original Message - 
From: Mike  Nwaogu 
To: Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Friday, January 02, 2009 7:01  PM
Subject: Re: Invalid content type  error

Hello  All,
I'm not sure you recall this request from last year, but i'm having  the same 
issue, and I have checked to be sure, I'm encoding properly using PHP  curl, 
have searched thru the list.

Please help with a pointer, really  lost now.

TIA
Mike Nwaogu.

Alejandro Guerrieri alejandro.guerrieri  at gmail.com 
Mon Mar 5 22:14:56 CET 2007 
* Previous message: Invalid  content type error  
* Next message: Problematic  Kannel behaviour with large message stores 
 
* Messages sorted by: [ date  ] [  thread ] [  subject ] [  author ] 

 
This looks more as a question for the users mailing list. From
Kannel's standpoint this is a kannel user question, not a kannel
developer one.

Hint: Check if you are urlencoding your text fields.

Regards,

Alejandro.

On 3/5/07, sudhir ssharma at signdomains.com wrote:


 Hi,
i  am using Kannel 1.4.1 for my sms application.The configuration
 settings have been made.When i use that url directly into the browser it
 runs fine, but i have to use it into my sms appplication which has been made
 in ASP.

 To send the sms i have made a html form, and using javascript i am
 submitting all the values to the kannel.after submitting it gives 'invalid
 content type'
 error.
 but when i
 print this URl on to the sreen and copy an paste it into the
 browser ,then it runs fine.

 can anyone of you please tel me that where i am making the mistake or
 anyother solution.I am using 'get' method in my form.
 Thanks in advanvce.


 Thanks  Regards,
 Sudhir Sharma


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri


  

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
I'm using PHP with CURL as my carrier.

[HTTP/1.1 403 Forbidden
Server: Kannel/1.4.1
Content-Length: 32
Content-type: text/html
Pragma: no-cache
Cache-Control: no-cache Authorization failed for sendsms]

This the header returned.

after these
$ci = curl_init() or die(curl_error());
curl_setopt($ci, CURLOPT_PORT, 13993);
curl_setopt($ci, CURLOPT_HEADER, 1);
curl_setopt($ci, CURLOPT_URL, $url);
curl_setopt($ci, CURLOPT_USERPWD, user:foobar);
curl_setopt($ci, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ci, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ci, CURLOPT_TIMEOUT, 300);
curl_setopt($ci, CURLOPT_RETURNTRANSFER, 1);
 curl_setopt($ci, CURLOPT_POST, 1);
curl_setopt($ci, CURLOPT_HTTPHEADER, $plain_header);
 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 7:21:27 PM
Subject: Re: Invalid content type error

 
How about this?
 
meta http-equiv=Content-Type content=text/html; 
charset=utf-8 /
 
It would be helpful if you print all of your 
headers, not just excerpts.
 
BR,
Nikos
- Original Message - 
From: Mike  Nwaogu 
To: Nikos Balkanas ; Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Tuesday, January 13, 2009 6:42  PM
Subject: Re: Invalid content type  error

Ok  thanks, what's the best header to send in.
Content-Type: text/html;  charset=utf-8 or 

Content-Type: text/html; charset=iso-8859-1

Do I need to config  kannel to expect a particular type, I noticed that every 
time I send a request  with the either header above I have a PANIC in the logs 
and the process  dies.


Regards,
Mike Nwaogu
Tel: 
234_802_325_6437







 From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com;  Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Friday, January 2, 2009 6:18:52  PM
Subject: Re: Invalid  content type error

 
Hi Mike,
 
Kannel is very explicit about its problem. The HTML header  Content-type you 
are submitting with your javascript (or more likely don't  send at all) is 
invalid. The header of course is not part of the URL which  seems to be OK.
 
You can see the headers you are sending to kannel either by  a packet analyzer 
like tcpdump, or by starting bearerbox and smsbox at the  shell at maximum 
verbosity:
 
bearerbox conffile
smsbox conffile 
 
BR,
Nikos
-  Original Message - 
From: Mike  Nwaogu 
To: Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Friday, January 02, 2009 7:01 PM
Subject: Re: Invalid content type error

Hello  All,
I'm not sure you recall this request from last year, but i'm having  the same 
issue, and I have checked to be sure, I'm encoding properly using  PHP curl, 
have searched thru the list.

Please help with a pointer,  really lost now.

TIA
Mike Nwaogu.

Alejandro Guerrieri alejandro.guerrieri  at gmail.com 
Mon Mar 5 22:14:56 CET 2007 
* Previous message: Invalid content type error  
* Next message: Problematic Kannel behaviour with large message  stores 
 
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 

 
This looks more as a question for the users mailing list. From
Kannel's standpoint this is a kannel user question, not a kannel
developer one.

Hint: Check if you are urlencoding your text fields.

Regards,

Alejandro.

On 3/5/07, sudhir ssharma at signdomains.com wrote:


 Hi,
i  am using Kannel 1.4.1 for my sms application.The configuration
 settings have been made.When i use that url directly into the browser it
 runs fine, but i have to use it into my sms appplication which has been made
 in ASP.

 To send the sms i have made a html form, and using javascript i am
 submitting all the values to the kannel.after submitting it gives 'invalid
 content type'
 error.
 but when i
 print this URl on to the sreen and copy an paste it into the
 browser ,then it runs fine.

 can anyone of you please tel me that where i am making the mistake or
 anyother solution.I am using 'get' method in my form.
 Thanks in advanvce.


 Thanks  Regards,
 Sudhir Sharma


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri


  

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
smsbox.log log-level=0

2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for 
`41.222.67.127'.
2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area 0x8755330.
2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request 
/cgi-bin/sendsms from 41.222.67.127
2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403 Answer: Authorization failed 
for sendsms
2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for 
`41.222.67.127'.
2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got HTTP request 
/cgi-bin/sendsms from 41.222.67.127
2009-01-13 19:46:11 [3707] [3] DEBUG: Status: 403 Answer: Authorization failed 
for sendsms
2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for 
`41.222.67.127'.
2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient area 
0x8755330.
2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient for 
`41.222.67.127'.


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 7:38:49 PM
Subject: Re: Invalid content type error

 
Hi,
 
By error message I mean the error message from bearerbox logs 
and/or smsbox log. Please do not send me php code or HTTP server response (end 
result). It is not my intention to debug your application.
 
BR,
Nikos
- Original Message - 
From: Nikos  Balkanas 
To: Mike Nwaogu ; Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Tuesday, January 13, 2009 8:25  PM
Subject: Re: Invalid content type  error

I am confused. Could you please post the packet from tcpdump  -or- smsbox 
(verbosity 0)? (just the packet) and the exact error message that  you are 
getting?
 
BR,
Nikos
- Original Message - 
From: Mike Nwaogu 
To: Nikos Balkanas ; Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Tuesday, January 13, 2009 7:32  PM
Subject: Re: Invalid content type  error

No  I meant that the error changes to 
Authorization failed for sendsms  when I know I've inputed the right details.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437






 From: Mike Nwaogu michael_nwa...@yahoo.com
To: Nikos Balkanas nbalka...@gmail.com; Alejandro  Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 5:42:41  PM
Subject: Re: Invalid  content type error


Ok  thanks, what's the best header to send in.
Content-Type: text/html;  charset=utf-8 or 

Content-Type: text/html; charset=iso-8859-1

Do I need to  config kannel to expect a particular type, I noticed that every 
time I send  a request with the either header above I have a PANIC in the logs 
and the  process dies.


Regards,
Mike Nwaogu
Tel:  234_802_325_6437







 From: Nikos Balkanas  nbalka...@gmail.com
To: Mike Nwaogu  michael_nwa...@yahoo.com; Alejandro Guerrieri  
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Friday, January 2, 2009 6:18:52  PM
Subject: Re: Invalid  content type error

 
Hi Mike,
 
Kannel is very explicit about its problem. The HTML header  Content-type you 
are submitting with your javascript (or more likely don't  send at all) is 
invalid. The header of course is not part of the URL which  seems to be OK.
 
You can see the headers you are sending to kannel either  by a packet analyzer 
like tcpdump, or by starting bearerbox and smsbox at  the shell at maximum 
verbosity:
 
bearerbox conffile
smsbox conffile 
 
BR,
Nikos
-  Original Message - 
From: Mike  Nwaogu 
To: Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Friday, January 02, 2009 7:01 PM
Subject: Re: Invalid content type error

Hello  All,
I'm not sure you recall this request from last year, but i'm  having the same 
issue, and I have checked to be sure, I'm encoding  properly using PHP curl, 
have searched thru the list.

Please help  with a pointer, really lost now.

TIA
Mike  Nwaogu.

Alejandro Guerrieri alejandro.guerrieri  at gmail.com 
Mon Mar 5 22:14:56 CET 2007 
* Previous message: Invalid content type error  
* Next message: Problematic Kannel behaviour with large  message stores 
 
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 

 
This looks more as a question for the users mailing list. From
Kannel's standpoint this is a kannel user question, not a kannel
developer one.

Hint: Check if you are urlencoding your text fields.

Regards,

Alejandro.

On 3/5/07, sudhir ssharma at signdomains.com wrote:


 Hi,
i  am using Kannel 1.4.1 for my sms application.The configuration
 settings have been made.When i use that url directly into the browser it
 runs fine, but i have to use it into my sms appplication which has been made
 in ASP.

 To send the sms i have made a html form, and using javascript i am
 submitting all the values to the kannel.after submitting

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
Yes I am.

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 8:31:23 PM
Subject: Re: Invalid content type error

Hi,

Are you including the username and password variables you
defined in the sendsms-user group into your URL?

Regards,

Rodrigo.

On Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote:
 smsbox.log log-level=0

 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for
 `41.222.67.127'.
 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area
 0x8755330.
 2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 41.222.67.127
 2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403 Answer: Authorization
 failed for sendsms
 2009-01-13 19:46:10 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
 `41.222.67.127'.
 2009-01-13 19:46:11 [3707] [3] INFO: smsbox: Got HTTP request
 /cgi-bin/sendsms from 41.222.67.127
 2009-01-13 19:46:11 [3707] [3] DEBUG: Status: 403 Answer: Authorization
 failed for sendsms
 2009-01-13 19:46:11 [3707] [3] DEBUG: HTTP: Resetting HTTPClient for
 `41.222.67.127'.
 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient area
 0x8755330.
 2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying HTTPClient for
 `41.222.67.127'.


 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437


 
 From: Nikos Balkanas nbalka...@gmail.com
 To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri
 alejandro.guerri...@gmail.com
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 7:38:49 PM
 Subject: Re: Invalid content type error

 Hi,

 By error message I mean the error message from bearerbox logs and/or smsbox
 log. Please do not send me php code or HTTP server response (end result). It
 is not my intention to debug your application.

 BR,
 Nikos
 - Original Message -

 From: Nikos Balkanas
 To: Mike Nwaogu ; Alejandro Guerrieri
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 8:25 PM
 Subject: Re: Invalid content type error
 I am confused. Could you please post the packet from tcpdump -or- smsbox
 (verbosity 0)? (just the packet) and the exact error message that you are
 getting?

 BR,
 Nikos

 - Original Message -
 From: Mike Nwaogu
 To: Nikos Balkanas ; Alejandro Guerrieri
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 7:32 PM
 Subject: Re: Invalid content type error
 No I meant that the error changes to
 Authorization failed for sendsms when I know I've inputed the right
 details.

 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437


 
 From: Mike Nwaogu michael_nwa...@yahoo.com
 To: Nikos Balkanas nbalka...@gmail.com; Alejandro Guerrieri
 alejandro.guerri...@gmail.com
 Cc: users@kannel.org
 Sent: Tuesday, January 13, 2009 5:42:41 PM
 Subject: Re: Invalid content type error

 Ok thanks, what's the best header to send in.
 Content-Type: text/html; charset=utf-8 or
 Content-Type: text/html; charset=iso-8859-1

 Do I need to config kannel to expect a particular type, I noticed that every
 time I send a request with the either header above I have a PANIC in the
 logs and the process dies.


 Regards,
 Mike Nwaogu
 Tel: 234_802_325_6437



 
 From: Nikos Balkanas nbalka...@gmail.com
 To: Mike Nwaogu michael_nwa...@yahoo.com; Alejandro Guerrieri
 alejandro.guerri...@gmail.com
 Cc: users@kannel.org
 Sent: Friday, January 2, 2009 6:18:52 PM
 Subject: Re: Invalid content type error

 Hi Mike,

 Kannel is very explicit about its problem. The HTML header Content-type
 you are submitting with your javascript (or more likely don't send at all)
 is invalid. The header of course is not part of the URL which seems to be
 OK.

 You can see the headers you are sending to kannel either by a packet
 analyzer like tcpdump, or by starting bearerbox and smsbox at the shell at
 maximum verbosity:

 bearerbox conffile
 smsbox conffile 

 BR,
 Nikos

 - Original Message -
 From: Mike Nwaogu
 To: Alejandro Guerrieri
 Cc: users@kannel.org
 Sent: Friday, January 02, 2009 7:01 PM
 Subject: Re: Invalid content type error
 Hello All,
 I'm not sure you recall this request from last year, but i'm having the same
 issue, and I have checked to be sure, I'm encoding properly using PHP curl,
 have searched thru the list.

 Please help with a pointer, really lost now.

 TIA
 Mike Nwaogu.

 Alejandro Guerrieri alejandro.guerrieri at gmail.com
 Mon Mar 5 22:14:56 CET 2007

 Previous message: Invalid content type error
 Next message: Problematic Kannel behaviour with large message stores
 Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

 

 This looks more as a question for the users mailing list. From
 Kannel's standpoint this is a kannel user question, not a kannel

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
find attached.
bearerbox.log and kannel.conf


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: as_u_ca...@d.top





From: Nikos Balkanas nbalka...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com; users@kannel.org
Sent: Tuesday, January 13, 2009 8:18:19 PM
Subject: Re: Invalid content type error

 
I need the bearerbox logs (v = 0) that I asked 
for.
 
BR,
 Nikos
- Original Message - 
From: Mike  Nwaogu 
To: users@kannel.org 
Sent: Tuesday, January 13, 2009 8:59  PM
Subject: Re: Invalid content type  error

smsbox.log  log-level=0

2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating  HTTPClient for 
`41.222.67.127'.
2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP:  Created HTTPClient area 0x8755330.
2009-01-13 19:46:10 [3707] [3] INFO:  smsbox: Got HTTP request 
/cgi-bin/sendsms from  41.222.67.127
2009-01-13 19:46:10 [3707] [3] DEBUG: Status: 403  Answer: Authorization 
failed for sendsms
2009-01-13 19:46:10 [3707]  [3] DEBUG: HTTP: Resetting HTTPClient for 
`41.222.67.127'.
2009-01-13  19:46:11 [3707] [3] INFO: smsbox: Got HTTP request 
/cgi-bin/sendsms  from 41.222.67.127
2009-01-13 19:46:11 [3707] [3] DEBUG: Status:  403 Answer: Authorization 
failed for sendsms
2009-01-13 19:46:11  [3707] [3] DEBUG: HTTP: Resetting HTTPClient for  
`41.222.67.127'.
2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP: Destroying  HTTPClient area 
0x8755330.
2009-01-13 19:46:11 [3707] [1] DEBUG: HTTP:  Destroying HTTPClient for 
`41.222.67.127'.


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437





 From: Nikos Balkanas  nbalka...@gmail.com
To: Mike Nwaogu  michael_nwa...@yahoo.com; Alejandro Guerrieri  
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009 7:38:49  PM
Subject: Re: Invalid  content type error

 
Hi,
 
By error message I mean the error message from bearerbox  logs and/or smsbox 
log. Please do not send me php code or HTTP server response  (end result). It 
is not my intention to debug your application.
 
BR,
Nikos
- Original Message - 
From: Nikos Balkanas 
To: Mike  Nwaogu ; Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Tuesday, January 13, 2009 8:25 PM
Subject: Re: Invalid content type error

I am confused. Could you please post the packet from  tcpdump -or- smsbox 
(verbosity 0)? (just the packet) and the exact error  message that you are 
getting?
 
BR,
Nikos
-  Original Message - 
From: Mike  Nwaogu 
To: Nikos  Balkanas ; Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Tuesday, January 13, 2009 7:32 PM
Subject: Re: Invalid content type error

No I  meant that the error changes to 
Authorization failed for sendsms  when I know I've inputed the right details.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437






 From: Mike Nwaogu michael_nwa...@yahoo.com
To: Nikos Balkanas nbalka...@gmail.com;  Alejandro Guerrieri 
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Tuesday, January 13, 2009  5:42:41 PM
Subject: Re:  Invalid content type error


Ok  thanks, what's the best header to send in.
Content-Type: text/html;  charset=utf-8 or 

Content-Type: text/html; charset=iso-8859-1

Do I need to  config kannel to expect a particular type, I noticed that every 
time I  send a request with the either header above I have a PANIC in the logs 
and  the process dies.


Regards,
Mike Nwaogu
Tel:  234_802_325_6437







 From: Nikos Balkanas  nbalka...@gmail.com
To: Mike Nwaogu  michael_nwa...@yahoo.com; Alejandro Guerrieri  
alejandro.guerri...@gmail.com
Cc: users@kannel.org
Sent: Friday, January 2, 2009 6:18:52  PM
Subject: Re: Invalid  content type error

 
Hi Mike,
 
Kannel is very explicit about its problem. The HTML  header Content-type you 
are submitting with your javascript (or more  likely don't send at all) is 
invalid. The header of course is not part of  the URL which seems to be OK.
 
You can see the headers you are sending to kannel either  by a packet analyzer 
like tcpdump, or by starting bearerbox and smsbox at  the shell at maximum 
verbosity:
 
bearerbox conffile
smsbox conffile 
 
BR,
Nikos
-  Original Message - 
From: Mike Nwaogu 
To: Alejandro Guerrieri 
Cc: users@kannel.org 
Sent: Friday, January 02, 2009 7:01 PM
Subject: Re: Invalid content type error

Hello  All,
I'm not sure you recall this request from last year, but i'm  having the same 
issue, and I have checked to be sure, I'm encoding  properly using PHP curl, 
have searched thru the list.

Please help  with a pointer, really lost now.

TIA
Mike  Nwaogu.

Alejandro Guerrieri alejandro.guerrieri  at gmail.com 
Mon Mar 5 22:14:56 CET 2007 
* Previous message: Invalid content type error  
* Next message: Problematic Kannel behaviour with large  message stores 
 
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 

 
This looks more as a question for the users mailing list. From

Re: SMS routing

2009-01-05 Thread Mike Nwaogu
Sorry had supposed you were using the cgi via http to send.
If that's the case you'll need to specify which smsc you wish to use, it's done 
programatically at the application level.
Your URL will look like this ...

http://localhost:13003/cgi-bin/sendsms?username=password=to=$tofrom=$frmdefault_smsc=smsc1text=$msg

Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: hafez ahmad hafezad...@gmail.com
To: Mike Nwaogu michael_nwa...@yahoo.com
Cc: users@kannel.org users@kannel.org
Sent: Monday, January 5, 2009 1:34:39 PM
Subject: Re: SMS routing


Dear Mike,

thanks for reply, but can you please explain more?

Regards,
Hafez


On Mon, Jan 5, 2009 at 11:20 AM, Mike Nwaogu michael_nwa...@yahoo.com wrote:

default-smsc=[smsc_id_name]

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: hafez ahmad hafezad...@gmail.com
To: users@kannel.org users@kannel.org
Sent: Monday, January 5, 2009 9:13:55 AM
Subject: SMS routing



Dears, 

I have 2 TX SMPP connection for the same operator, I need to send SMSs using 
the first connection, but if the 1st connection have load , the SMSs served 
using the 2nd connection. 

can I do that using kannel or it is Application level? , and if yes it is using 
the allowed-smsc-id? 


Thanks for help,
Hafez




-- 
Hafez A.Ahmad
Amman-Jordan
mobile:962-785259011
  962-795708728
http://blog.hafezadnan.com



  

Re: SMS routing

2009-01-05 Thread Mike Nwaogu
default-smsc=[smsc_id_name]

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: hafez ahmad hafezad...@gmail.com
To: users@kannel.org users@kannel.org
Sent: Monday, January 5, 2009 9:13:55 AM
Subject: SMS routing


Dears, 

I have 2 TX SMPP connection for the same operator, I need to send SMSs using 
the first connection, but if the 1st connection have load , the SMSs served 
using the 2nd connection. 

can I do that using kannel or it is Application level? , and if yes it is using 
the allowed-smsc-id? 


Thanks for help,
Hafez



  

Re: Invalid content type error

2009-01-02 Thread Mike Nwaogu
Hello All,
I'm not sure you recall this request from last year, but i'm having the same 
issue, and I have checked to be sure, I'm encoding properly using PHP curl, 
have searched thru the list.

Please help with a pointer, really lost now.

TIA
Mike Nwaogu.

Alejandro Guerrieri alejandro.guerrieri at gmail.com 
Mon Mar  5 22:14:56 CET 2007 
* Previous message: Invalid content type error 
* Next message: Problematic Kannel behaviour with large message stores 
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 

 
This looks more as a question for the users mailing list. From
Kannel's standpoint this is a kannel user question, not a kannel
developer one.

Hint: Check if you are urlencoding your text fields.

Regards,

Alejandro.

On 3/5/07, sudhir ssharma at signdomains.com wrote:


 Hi,
i  am using Kannel 1.4.1 for my sms application.The configuration
 settings have been made.When i use that url directly into the browser it
 runs fine, but i have to use it into my sms appplication which has been made
 in ASP.

 To send the sms i have made a html form, and using javascript i am
 submitting all the values to the kannel.after submitting it gives 'invalid
 content type' error.
 but when i print this URl on to the sreen and copy an paste it into the
 browser ,then it runs fine.

 can anyone of you please tel me that where i am making the mistake or
 anyother solution.I am using 'get' method in my form.
 Thanks in advanvce.


 Thanks  Regards,
 Sudhir Sharma


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri


  

Merry Christmas

2008-12-26 Thread Mike Nwaogu
Hi Y'all,
This is to wish everyone of you a merry Christmas and to everyone, who has made 
this forum as helpful as it is now.
Thank you for being part of this forum, it won't have been the same without you.

Regards,
Mike Nwaogu
Tel: 234_802_325_6437


  

Re: I: imy format to send via SMS

2008-11-14 Thread Mike Nwaogu
Hi Mauro,
The Thing to do would be to ask that the subscribers request for the ringtones 
in the prescribed formats below.

MONOPHONIC ringtones
mono tone code phone make

POLYPHONIC ringtones
poly tone code phone make

Real ringtones
real tone code phone make

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]





From: Alejandro Guerrieri [EMAIL PROTECTED]
To: users@kannel.org users@kannel.org; [EMAIL PROTECTED]
Sent: Friday, November 14, 2008 1:33:43 PM
Subject: Re: I: imy format to send via SMS

Mauro,

A few notes:

1. You won't be able to tell make and model from the incoming SMS. SMS protocol 
doesn't have any means to inform you about the kind of device sending the 
message, so you'll probably have to ask that (by means of some sort of 
interactive menu or similar methods).

2. Not all models support the same formats, and as I've stated before, there 
are some models that support shorter messages only.

3. On Kannel source, check on /contrib/web folder, there are some examples on 
sending many different formats (mostly legacy). Despite not having EMS and 
SCKL, the TUNE mode uses SmartMessaging and it should serve you as a guide 
about how to implement the other formats.

That being said, yes, that would work out for legacy phones IMHO.

Regards,

Alejandro Guerrieri


On Fri, Nov 14, 2008 at 9:11 AM, mauro [EMAIL PROTECTED] wrote:

ah ok great,
let me figure out the situation: 
we are using kannel attached to an SMSC, we are receiving sms from users to 
request contents for thier legacy phone, old nokia old motorola and so on. 
we have contents for old phones and we need to be able to send back to the usr 
the reuqested content in the format supported by the handset. 
we have all the info about handset, so accoirding to what u wrote me we could
-) converting contents offline ( maybe using ringtone tools) generating 
different output
-) mapping the output to the handset model
- send the generated output to the user hnadset according to the handset

EMS and SCK  for sure will work , so according to what you wrote we have to 
experiment sending other formats to other handset.

are EMS and SCK  supported by all the legacy phone? if the user get this sms is 
the handset able to recognize it as a ringtone? maybe we could use only this 
two formats

thanks
Mauro







Da: Alejandro Guerrieri [EMAIL PROTECTED]
A: mauro [EMAIL PROTECTED]
Cc: llista kannel users@kannel.org
Inviato: Giovedì 13 novembre 2008, 16:50:18

Oggetto: Re: I: imy format to send via SMS


Mauro,

What's the format you want to send? EMS?

EMS is a container to send other formats. For example, E/IMY, and E/IMELODY, 
which are text formats. EMS was widely supported by Motorola, Siemens, Alcatel 
and other brands (Nokia had his SmartMessaging protocol so most Nokias doesn't 
support it). The only main difference is that older/crippled models didn't 
support more than 128 bytes of data, nor multipart messages (EMS does support 
sending the data in more than one message with proper headers added).

For old Nokias, you may use SCKL, which is a text-based format, capable of 
multipart as well, or nokia (SmartMessaging).p

You'll have to experiment a little to get EMS and SCKL working, but Kannel can 
deliver it with no problems.

Regards,

Alejandro Guerrieri


On Thu, Nov 13, 2008 at 8:10 AM, mauro [EMAIL PROTECTED] wrote:

yes it can helps 
the only point is that ringtone tools have the following out type
which is for binary transcoding? 
the transcoded file can be used for evry mobile? or we have different formats 
for different handsets?

-outtype output type [
3210/bmp/dsp/emelody,emy/ems/gif/ico,icon/imelody,imy/kws/midi,mid/mot/nol,ngg/nokia,sckl,ott/pdb/rtttl/rtx/samsung1/samsung2/siemens/seo/text,txt/wav/wbmp
]





Da: Alejandro Guerrieri [EMAIL PROTECTED]
A: mauro [EMAIL PROTECTED]
Cc: llista kannel users@kannel.org
Inviato: Mercoledì 12 novembre 2008, 17:06:17
Oggetto: Re: I: imy format to send via SMS


Try with ringtonetools, it can convert from/to a lot of formats, including IMY 
and EMS.

http://ringtonetools.mikekohn.net/

Hope it helps,

Alejandro Guerrieri


On Wed, Nov 12, 2008 at 12:37 PM, mauro [EMAIL PROTECTED] wrote:





Hi Mike,
thanks for you replay. 
is there any script that does this work? 
if we are different format of the source file ( imy, ott) should we change the 
script?

I think that the conversione can be done also offline, i mean , i can get the 
imy file ( or the ott ) pass it to the script and obtain the the file converted 
to send via kannel, am i right?
this solutioin could be used to convert one time every file and send it many 
times withoud trascoding  it on the fly, am not sure if we need to chenge the 
trascoding accoirding to teh mobile handset.








Da: Mike Nwaogu [EMAIL PROTECTED]
A: users@kannel.org
Inviato: Mercoledì 12 novembre 2008, 15:06:37

Re: imy format to send via SMS

2008-11-12 Thread Mike Nwaogu
Hi Mauro,
Kannel doesn't do any conversions.
You can send imy files as EMS, you'll need to do some conversions though.

You'll need a script that can convert those imy content to a HEX string and 
send it with the udh of the message caculated and setup. Set

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437






From: mauro [EMAIL PROTECTED]
To: users@kannel.org
Sent: Wednesday, November 12, 2008 2:48:57 PM
Subject: imy format to send via SMS


we are using kannel and we would like to send 
some content for legacy phone via SMS, we ahve different source file for 
example imy, ott etc.
can we send this content through kannel directly or we have to convert them in 
binary?

if binary conversion if needed how can we do? does kannel support conversion?

thanks



Scopri la community di Io fotografo e video
Il nuovo corso di Gazzetta dello sport per diventare veri fotografi!


  

Re: Can i use Kannal on Windows Operating System?

2008-09-27 Thread Mike Nwaogu
Hi Abbas,
I prefer linux based SMS gateways as far as reliablilty and stability is 
concerned


 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]



- Original Message 
From: Abbas Qaizar [EMAIL PROTECTED]
To: Mike Nwaogu [EMAIL PROTECTED]; Suresh Babu Linga [EMAIL PROTECTED]; 
users@kannel.org
Sent: Saturday, September 27, 2008 6:02:29 AM
Subject: Re: Can i use Kannal on Windows Operating System?

 
Hi Everyone, 
 
Mike, as per your email to 
Suresh, have you tried any of these windows based applications successfully ?? 
or have you ever deployed in your applications ? And if you have been 
successful 
in deploying then what do you prefer most ...windows based 
or linux based SMS Gateway ..as far as reliability and stability is 
concerned ???
 
 
Thanks  Kind Regards
 
Abbas Qaizar 
 
---
Mustafa Computers  
Peripherals 
Suite 28, Level 12 R.K.Square Extension 
Main 
Shahra-e-Liaquat New Challi 
Karachi - 74000 
Sindh - Pakistan 
Tel + 
92 21 2400326 - 2465685 - 2437783
Cell + 92 333 2372582 
Email : [EMAIL PROTECTED]
Web : http://mustafacomputers.com
---
- Original Message - 
From: Mike  Nwaogu 
To: Suresh Babu Linga ; users@kannel.org 
Sent: Saturday, September 27, 2008 3:36  AM
Subject: Re: Can i use Kannal on Windows  Operating System?

No  suresh,
for windows you'll need one like nowsms, message master, ozeki ng  etc
KANNEL will not run on windows machines.

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED] 



-  Original Message 
From: Suresh Babu Linga [EMAIL PROTECTED]
To: users@kannel.org
Sent: Friday,  September 26, 2008 6:25:01 PM
Subject: Can i use Kannal on Windows  Operating System?


Hi..

I am Suresh. I have a doubt regarding the usage of  the Kannal SMS Gateway. I 
have red that Kannel is mainly being developed on  Linux systems So can i use 
the kannal in the windows operating  system.

I have requirement where i have send send SMS from the website  and i am using 
windows Operation system.

Please help me in this  regards.


Regards,
Suresh 
.


  

Re: Can i use Kannal on Windows Operating System?

2008-09-26 Thread Mike Nwaogu
No suresh,
for windows you'll need one like nowsms, message master, ozeki ng etc
KANNEL will not run on windows machines.

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]



- Original Message 
From: Suresh Babu Linga [EMAIL PROTECTED]
To: users@kannel.org
Sent: Friday, September 26, 2008 6:25:01 PM
Subject: Can i use Kannal on Windows Operating System?


Hi..

I am Suresh. I have a doubt regarding the usage of the Kannal SMS Gateway. I 
have red that Kannel is mainly being developed on Linux systems So can i use 
the kannal in the windows operating system.

I have requirement where i have send send SMS from the website and i am using 
windows Operation system.

Please help me in this regards.


Regards,
Suresh .



  

Http smsc routing

2008-08-14 Thread Mike Nwaogu
Hello Guys,
does anyone know how I can specify the smsc route in an http request.
eg: 
http://127.0.0.1:13013/cgi-bin/sendsms?to=$tofrom=$frmsmsc=smsc_idtext=.rawurlencode($msg);

thanks in advance

 Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]



  

smpp server how much?

2008-08-12 Thread Mike Nwaogu
Hello Yall.
I'm contemplating buying the smpp server which should allow clients connect to 
me.
How much is it?
How do I get it?
Do I get support?
if Yes How long?


Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]



  

Ringtones via kannel, nokia/ems

2008-04-09 Thread Mike Nwaogu
hello guys,
I've been on this bridge before, when kannel was much younger, but somehow, I 
can't find my way past it.

Problem, is sending nokia binary ringtones and ems ringtones; any assistance 
will be appreciated.
 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Mike Nwaogu
Hello Kevin,
I hope this helps;
include a command in your php script to send messages to kannel using command 
line or http which ever suits your fancy.

Unless, you have some reason why you want to only send the output of the php 
script, I think this will sort you out.



Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]

- Original Message 
From: Kevin Reed [EMAIL PROTECTED]
To: users@kannel.org
Sent: Tuesday, April 8, 2008 8:14:33 PM
Subject: Re: How do I display linefeeds in message (PHP)?


Not sure if it makes a difference, but he is using get-url to get the
contents of a webpage that is outputting linefeeds.

The setup is something like:

   group = sms-service
   keyword = test
   get-url = http://website/getcommands.php;

The result which is sent to the phone, doesn't have any linefeeds in it
even though that webscript outputs them.  They simply don't get to the
phone.

Using exec instead of get-url on the same script on the same server
directly, works just fine.  The linefeeds get to the phone.

   group = sms-service
   keyword = test
   exec = /usr/local/bin/php /pathtoscript/getcommands.php

So something in the use of get-url is stripping them.

I don't normally use get-url so I never ran into that before.  Note that
the php being called is the CLI version not the web version.

Perhaps that might shed some light on the issue he is having.


 Try with %0D

 Regards,

 Alejandro

 On Tue, Apr 8, 2008 at 2:07 PM, Bogus Bill [EMAIL PROTECTED] wrote:




 Juan Nin wrote:
 
  again... have you tried chr(13)???
 
 


 Yes, I have.  That didn't work either.

 One problem I discovered thanks to Kevin was that I was formatting my
 response using HTML.  I stripped out all the HTML, leaving just text.
  When
 I run the page from a browser and look at the source, the linefeeds are
 there.  When I let Kannel send it to my phone, the linefeeds are gone.









  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

Re: Setting up wappush

2008-03-24 Thread Mike Nwaogu
Ok Find attached in text format.


Hillel [EMAIL PROTECTED] wrote: Hi Michael,

I'm testing with WAP Push and tried to download the code you put on the
Internet from Juan Nin.

Unfortunately if you try and download it via the Kannel User mailing list
from 
http://www.mail-archive.com/users@kannel.org/msg11736.html you get the
error:
Fatal error: Call to undefined function curl_init() in
/data1/archive/users@kannel.org/msg11736/wappush.php on line 46

If you click on save from the website you get:


Fatal error:  Call to undefined function curl_init() in
/data1/archive/users@kannel.org/msg11736/wappush.php on line
46


Please will you resend it and save the file as .txt with instructions for
the reader to save it as wappush.php as it's trying to run on the server
when you try save it or open it.

Thanks







Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.?
$country_code = '234';
$phone = '8023256437';
$push_url = http://wap.google.com;;
$text = 'Test Google url';
$smsc_id  = 'sms_4';

$out = send_wap_push($smsc_id, $country_code, $phone, $push_url, $text);
echo $out;

function send_wap_push($smsc_id, $country_code, $phone, $push_url, $text)
{
$host = 'localhost';
$port = '8082';
$url  =  http://$host:$port;;

$ppg_user = '1defcom';
$ppg_pass = '1mocdef';

$wap_push_id = get_rand_numbers(5);
$body = --multipart-boundary\r\n.
Content-type: application/xml\r\n\r\n.
'?xml version=1.0?'.\r\n.
'!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP 
1.0//EN'.\r\n.
'http://www.wapforum.org/DTD/pap_1.0.dtd; '.\r\n.
'pap'.\r\n.
'push-message push-id='.$wap_push_id.''.\r\n\t.
'address 
address-value=WAPPUSH=+'.$country_code.$phone.'/[EMAIL PROTECTED]/'.\r\n\t.
'quality-of-service delivery-method=unconfirmed 
network=GSM bearer=SMS/'.
\r\n/push-message\r\n.
/pap\r\n\r\n.
--multipart-boundary\r\n.
Content-type: text/vnd.wap.si\r\n\r\n.
'?xml version=1.0?'.\r\n.
'!DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 
1.0//EN'.\r\n.
'http://www.wapforum.org/DTD/si.dtd;'.\r\n.
si\r\n.
'indication action=signal-high 
si-id='.$wap_push_id.' href='. $push_url .''.$text.'/indication'.\r\n.
/si\r\n.--multipart-boundary--\r\n;

$post = POST /wappush HTTP/1.1\r\n.Host: $host:$port\r\n.
Authorization: Basic 
.base64_encode($ppg_user:$ppg_pass).\r\n.
X-Kannel-SMSC: $smsc_id\r\n.'Content-Type: multipart/related; 
boundary=multipart-boundary; type=application/xml'.\r\n.
Content-Length: .strlen($body).\r\n.\r\n.$body;

$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
curl_setopt ($ch,CURLOPT_CUSTOMREQUEST , $post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$reply = curl_exec($ch);
curl_close ($ch);
return $reply;  
//  print_r($post.$body);
}

function assign_rand_value($num)
{
// accepts 1 - 36
  switch($num)
  {
case 1:
 $rand_value = a;
break;
case 2:
 $rand_value = b;
break;
case 3:
 $rand_value = c;
break;
case 4:
 $rand_value = d;
break;
case 5:
 $rand_value = e;
break;
case 6:
 $rand_value = f;
break;
case 7:
 $rand_value = g;
break;
case 8:
 $rand_value = h;
break;
case 9:
 $rand_value = i;
break;
case 10:
 $rand_value = j;
break;
case 11:
 $rand_value = k;
break;
case 12:
 $rand_value = l;
break;
case 13:
 $rand_value = m;
break;
case 14:
 $rand_value = n;
break;
case 15:
 $rand_value = o;
break;
case 16:
 $rand_value = p;
break;
case 17:
 $rand_value = q;
break;
case 18:
 $rand_value = r;
break;
case 19:
 $rand_value = s;
break;
case 20:
 $rand_value = t;
break;
case 21:
 $rand_value = u;
break;
case 22:
 $rand_value = v;
break;
case 23:
 $rand_value = w;
break;
case 24:
 $rand_value = x;
break;
case 25:
 $rand_value = y;
break;
case 26:
 $rand_value = z;
break;
case 27:
 $rand_value = 0;
break;
case 28:
 $rand_value = 1;
break;
case 29:
 $rand_value = 2;
break;
case 30:
 $rand_value = 3;
break;
case 31:
 $rand_value = 4;
break

Message Return VIA sms-service

2008-03-18 Thread Mike Nwaogu
Hello Yall,
I can seem to get this problem to go away, I have an sms-service which is a 
catch-all and it replies every message with the contents of the http get in the 
service, I already have a sendsms-user for each reply, so the subscriber gets 2 
messages.

How do I stop this?
I have tried setting the max-messages = 0 all I get are error messages in the 
logs saying [32289] [5] INFO: No reply sent, denied. but I get only one 
message, those errors bother me, can it eliminated?

=
group = sms-service
name = in_msgs
keyword = default
get-url = 
http://localhost/cgi-bin/api.cgi?TYPE=SMSSOURCEADDR=%pDESTADDR=%PKEYWORD=%kID=%IORIGIN=%iMESSAGE=%a;
max-messages = 1
catch-all=true


Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: SMS Billing VIA SMPP

2008-02-09 Thread Mike Nwaogu
ok I undrestand, I was more concerned about the operator's billing service.
I guess I'll have to contact them on how to communicate it to the SMSC if even 
possible.
 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]

- Original Message 
From: Stipe Tolj [EMAIL PROTECTED]
Cc: users@kannel.org
Sent: Friday, February 8, 2008 8:56:14 PM
Subject: Re: SMS Billing VIA SMPP


Mike 
Nwaogu 
schrieb:
 
Thanks 
Stipe,
 
I 
have 
another 
question 
just 
in 
case 
I 
get 
to 
that 
bridge.
 
How 
do 
u 
implement 
this 
deliver_sm.serivce_type 
mapping? 
Do 
I 
have 
to 
edit 
the 
Kannel 
code?? 
Where 
and 
which 
file?

no, 
no 
code 
patching.

Kannel 
would 
map 
the 
deliver_sm.service_type 
string 
that 
we 
receive 
via 
SMPP 
from 
the 
SMSC 
inside 
bearerbox 
to 
the 
msg-sms.binfo 
field 
that 
we 
use 
in 
our 
own 
message 
represenation.

An 
MO 
that 
is 
passed 
via 
an 
'sms-service' 
group 
can 
then 
be 
qualified 
to 
use 
the 
binfo 
field 
within 
the 
'get-url' 
call 
via 
the 
appropriate 
escape 
code. 
See 
Kannel 
user's 
guide 
escape 
codes 
for 
the 
exact 
value.

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
---







  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: SMS Billing VIA SMPP

2008-02-08 Thread Mike Nwaogu
Thanks Stipe,
I have another question just in case I get to that bridge.
How do u implement this deliver_sm.serivce_type mapping? Do I have to edit the 
Kannel code?? Where and which file?

Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]

- Original Message 
From: Stipe Tolj [EMAIL PROTECTED]
To: Mike Nwaogu [EMAIL PROTECTED]
Cc: users@kannel.org
Sent: Thursday, February 7, 2008 3:20:46 PM
Subject: Re: SMS Billing VIA SMPP


Mike 
Nwaogu 
schrieb:
 
Hello 
Guys,
 
I 
read 
a 
post 
sometime 
in 
2003 
about 
SMPP 
 
Billing 
somehow 
it 
wasn't 
conclusive, 
does 
anyone 
know 
how 
kannel 
can 
Implement 
Billing 
via 
an 
SMPP 
connection 
to 
an 
SMSC?
 
 
Else 
{
  
  
 
Suggestions 
as 
to 
how 
to 
implement 
reverse 
billing. 
;)
 
}

billing 
within 
SMPP 
v3.4 
itself 
is 
not 
a 
defined 
concept. 
Which 
means 
the 
protocol 
isn't 
aware 
of 
any 
logic 
or 
semantic 
about 
the 
billing. 
The 
protocol 
handles 
in 
its 
core 
only 
the 
transport 
logic. 
This 
is 
why 
a 
lot 
of 
SMPP 
operators 
use 
optional 
TLV 
fields 
that 
are 
within 
the 
vendor-specific 
range 
to 
implement 
specific 
billing/accounting 
logic.

What 
we 
do 
inside 
the 
SMPP 
client 
module 
is:

Use 
deliver_sm.serivce_type 
to 
map 
to 
an 
sms.binfo 
field 
that 
can 
be 
used 
at 
application 
layer.

Same 
the 
other 
way 
arroun 
for 
MT, 
so 
sms.binfo 
is 
injected 
to 
submit_sm.service_type.

Which 
does 
not 
mean 
this 
is 
enough 
for 
billing. 
It 
all 
depends 
on 
your 
SMPP 
provider, 
please 
get 
into 
touch 
with 
them 
and 
let 
them 
define 
you 
explicitly 
how 
to 
handle.

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
---






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

SMS Billing VIA SMPP

2008-02-07 Thread Mike Nwaogu
Hello Guys,
I read a post sometime in 2003 about SMPP  Billing somehow it wasn't 
conclusive, does anyone know how kannel can Implement Billing via an SMPP 
connection to an SMSC?

Else {
Suggestions as to how to implement reverse billing. ;)
}
 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: sending many SMS using PHP through the HTTP interface

2008-01-28 Thread Mike Nwaogu
Hello,
You'll need to specify concatenate = 1 in the kannel.conf file.
under the group = sendsms-user.

I think that will help

hafez ahmad [EMAIL PROTECTED] wrote: Hi,
I have PHP script that run every 10 seconds, every time the script run , read 
the messages from DB table, and hit the send URL inside loop, every thing run 
ok , but when I have concatenated SMS  I get only the first part of the SMS 
ended with (some text missing) , do I have to check if the bearbox accept the 
request every time to hit the URL again for the next request or what?
 
Thanks for help,
Hafez
 


Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]
   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: Setting up wappush

2008-01-28 Thread Mike Nwaogu
Would Love that, it's been one thing over the other.
I'm already at tomorrow, GMT+1

tell me this, what's the difference between /wappush  /cgi-bin/wap-push.cgi

Juan Nin [EMAIL PROTECTED] wrote: you're probably having some errror with the 
linefeeds, etc by having
copied it from the webpage

tomorrow i'll try to upload the code somewhere for it to be there, or
if not i'll send it to you as attachment

regards,

Juan


On Jan 28, 2008 10:51 PM, Alvaro Cornejo  wrote:
 Hi all

 Following Juan intructions I´m trying to setup a wapbox however I´m
 receiving a PAP error I ´v no idea where it comes from.

 I ´ve googled arround for this PAP error but found no real solution to
 the issue.

 I´m using kannel II CVS-20071108

 Can someone give me a tip?

 Regards

 Alvaro


  I'v tried to follow your post but got this errors:
 
  2008-01-25 18:59:32 [2417] [11] DEBUG: HTTP: Creating HTTPClient for
  `127.0.0.1'.
  2008-01-25 18:59:33 [2417] [11] DEBUG: HTTP: Created HTTPClient area 
  0x9f4a408.
  2008-01-25 18:59:33 [2417] [14] INFO: PPG: Accept request 
  from 127.0.0.1
  2008-01-25 18:59:33 [2417] [14] DEBUG: PPG: http_read_thread: pap
  multipart accepted
  2008-01-25 18:59:34 [2417] [14] WARNING: PAP COMPILER: pap_compile:
  parse error in pap source
  2008-01-25 18:59:34 [2417] [14] DEBUG: PPG: send_bad_message_response:
  telling pi
  2008-01-25 18:59:34 [2417] [14] DEBUG: HTTP: Resetting HTTPClient for
  `127.0.0.1'.
  2008-01-25 18:59:34 [2417] [10] DEBUG: HTTP: Destroying HTTPClient
  area 0x9f4a408.
  2008-01-25 18:59:34 [2417] [10] DEBUG: HTTP: Destroying HTTPClient for
  `127.0.0.1'.
  2008-01-25 18:59:34 [2417] [14] WARNING: PPG: pap control entity
  erroneous, the request unacceptable
 
  [EMAIL PROTECTED]/var/www/html/genms/crons# ./wap-push-test.php
  HTTP/1.1 202 Accepted
  Server: Kannel/cvs-20071108
  Date: Sat, 26 Jan 2008 00:59:34 GMT
  Content-Length: 721
  Content-Type: application/xml
 
  
  1.0//EN http://www.wapforum.org/DTD/pap_1.0.dtd;

  code=2000 desc=Not understood due to malformed syntax
  bad-message-fragment=?xml version=1.0?
  !DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP 1.0//EN
  http://www.wapforum.org/DTD/pap_1.0.dtd; 
  pap
  push-message push-id=1
  address address-value=WAPPUSH=+525538957623/TYPE=PLMN
  at ppg.nokia.com/
  quality-of-service delivery-method=unconfirmed
  network=GSM
  bearer=SMS//push-message
  /pap

  [EMAIL PROTECTED]/var/www/html/genms/crons#
 
 
  I'v checked php syntax, LFs and CR but still getting the same error.
 
  Can you send me to the right direction??
 
  Regards
 
  Alvaro
 
 
  On Jan 24, 2008 8:05 AM, Juan Nin  wrote:
   check the linefeeds, etc
  
   on the webpage the code is shown with linebreaks which should not be there
  
   for example, what you may see in the webpage as:
  
  
   '
   address-value=WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN 
   ppg.nokia.com/'.\r\n.
   '
   bearer=SMS/'.
  
   should be only 2 lines and not 4
  
   ''.\r\n.
   '
   bearer=SMS/'.
  
  
  
  
   On Jan 24, 2008 10:55 AM, Mike Nwaogu  wrote:
   
hate to bother your juan,
I'm getting this error,
   
2008-01-24 07:21:47 [32336] [14] INFO: PPG: Accept request  from
127.0.0.1
2008-01-24 07:21:47 [32336] [14] WARNING: PPG: No MIME content 
received, the
request unacceptable
   
and below is my config file.
   
CONFIG FILE==
group = core
admin-password = digital
admin-port = 13006
wapbox-port = 13007
smsbox-port = 13008
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
log-level = 0
access-log = /var/log/kannel/access.log
   
group = wapbox
bearerbox-host = localhost
log-file = /var/log/wapbox.log
log-level = 0
access-log = /var/log/kannel/access.log
   
group = smsbox
bearerbox-host = localhost
sendsms-port = 13031
sendsms-chars = 0123456789 +-
log-file = /var/log/smsbox.log
log-level = 2
   
group = ppg
ppg-url = /wappush
ppg-port = 13014
concurrent-pushes = 100
global-sender = MikeCom
trusted-pi = true
users = 1024
ppg-allow-ip = 127.0.0.1
   
group = wap-push-user
wap-push-user = miken
ppg-username = foo
ppg-password = bar
allow-ip = 127.0.0.1
   
group = sendsms-user
username = foo
password = bar
   
group = sms-service
keyword = default
get-url =
http://localhost/mikecom/index.php?SOURCEADDR=%pDESTADDR=%PKEYWORD=%kID=%IORIGIN=%iMESSAGE=%a;
max-messages = 1
catch-all=true
   
CONFIG FILE==
   
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]
   
   
- Original Message 
From: Juan Nin 
To: Mike Nwaogu 
Cc: users@kannel.org
Sent: Thursday, January 24, 2008 3:09:24 AM
Subject: Re: Setting up wappush
   
 http://thread.gmane.org/gmane.comp.mobile.kannel.user/11009
   
On Jan 23, 2008 4:03 PM

Setting up wappush

2008-01-23 Thread Mike Nwaogu
Hey People,
I'm setting up a service were I have to send a wap push as a response to the 
subscribers request.
Question is how do I set up kannel to do this and how do compose the http url 
to send a wap push
 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Re: Fwd: Need Help Configuring Kannel for SMS Pull

2008-01-18 Thread Mike Nwaogu
Hello Engel/Peter,
Below is a sample configuration.
this configuration will accept messages from the connectors and route the 
message to the php script also stated in the configuration.

Now, to respond the php script will have to originate the message using perhaps 
the http sending method.

group = smsc
smsc = smpp
smsc-id=sms2
host = 192.168.0.11
port = 9900
transceiver-mode = true
smsc-username = u53r
smsc-password = p455w07d
system-type = 
address-range = 
source-addr-ton = 2
source-addr-npi = 1

group = sendsms-user
username = usr
password = pwd
default-sender=WORD
default-smsc
concatenation = true

group = sms-service
keyword = default
get-url = 
http://localhost/path/to/app.php?SOURCEADDR=%pDESTADDR=%PKEYWORD=%kID=%IORIGIN=%iMESSAGE=%a;
max-messages = 1
catch-all=true

 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]

- Original Message 
From: Engel L [EMAIL PROTECTED]
To: users@kannel.org
Sent: Friday, January 18, 2008 8:33:50 AM
Subject: Fwd: Need Help Configuring Kannel for SMS Pull




-- Forwarded message --
From: Engel L [EMAIL PROTECTED]
Date: Jan 18, 2008 8:41 AM

Subject: Re: Need Help Configuring Kannel for SMS Pull
To: Otandeka Simon Peter [EMAIL PROTECTED]


Hi Peter,

Your config file is almost similar to mine, except that I do not have

a receive-port. I read on the user guide if this is not set the port
parameter is assumed. Yes what I need now is a way for the SMSC to
route my SMS's to my Kannel server (SMS's meant to my Kannel box via a

short code the operators provided me). So yes, how can the SMSC talk
to Kannel (via SMPP or any other protocols Kannel makes provisions
for)?


On 1/17/08, Otandeka Simon Peter 
[EMAIL PROTECTED] wrote:

 Hi Engel,

 This is my SMSC group in Kannel.

 group = smsc
 smsc = smpp
 smsc-id = smsc1

 host = ***..***.**
 port = 5020
 transceiver-mode = false
 interface-version = 34
 receive-port = 5020
 system-type = 
 smsc-username = ***

 smsc-password = *
 address-range = 
 throughput = 20
 source-addr-ton = 1
 source-addr-npi = 1
 source-addr-autodetect = yes
 dest-addr-ton = 0
 dest-addr-npi = 0

 Now to better understand your question, are you asking for configuration on
 the SMSC through SMPP so that it can talk to kannel.

 If you need that then I can gladly send you what to do.


 Regards

 Peter



   - Original Message -
   From: Engel L
   To: Otandeka Simon Peter
   Sent: Thursday, January 17, 2008 8:00 PM
   Subject: Re: Need Help Configuring Kannel for SMS Pull



   Hi Peter,

   I have configured the SMSC group and I can actually send messages via
 Kannel. So the SMSC group configuration is in order. What I need to know is
 how I can get Kannel to receive messages from the SMSC (a user would send an

 sms to a number, this sms would get to the SMSC, how would the message get
 from the SMSC to my Kannel gateway? What options do I have? SMPP/HTTP?
 Someone suggested HTTP (The SMSC would send an http request to my Kannel

 box, which would also run a webserver to handle these requests. I would have
 a php script to handle this and process the message (the message would be in
 the URL from the SMSC, so php would be needed for processing the message,

 and responding accordingly.) I am looking for a way to do this without php,
 or any other scripting language, I need to know whether Kannel or SMPP has
 provisioning for this (the gateway receiving the sms from the SMSC). So my

 question is how can my Kannel box get the message directed to it from the
 SMSC?

   I hope I have explained my problem well enough, and Thanks for the help. I
 would also appreciate your sample config file so I can look over it and see

 where I am going wrong.

   Regards,

   Engel Linus



   On 1/17/08, Otandeka Simon Peter [EMAIL PROTECTED]
 wrote:
 Look at the kannel userguide it has where you specify the SMSC group
 something like group = smsc. This is where u specify the IP address of the
 SMSC and port so that kannel can talk to the SMSC after you can configure

 the group=sms-service with the URL to recieve the message.

 If you donot understand, I can send you sample config to help you out.

 Hope I have answered you.

 Regards

 Peter
   - Original Message -
   From: Engel L
   To: Mike Nwaogu ; users@kannel.org
   Sent: Thursday, January 17, 2008 4:46 PM

   Subject: Re: Need Help Configuring Kannel for SMS Pull



   Sorry to bother you again but one thing i fail to understand is the
 how get-url, post-url and exec parameters normally work. My understanding is

 that this is what Kannel does (requests the url) on receipt of an sms, and
 responds to the send, with the content (the result of the http request), or
 for the case of exec, it responds with the result of the system call. But

 what I need to know is, before Kannel responds to the message, how does it
 receive it from the SMSC? Doesn't Kannel make a provision for this? The
 reason I

Re: Need Help Configuring Kannel for SMS Pull

2008-01-17 Thread Mike Nwaogu
Yes Engel,
as long as they're sending in SMS via HTTP then a webserver is what you'll need 
and a php script to handle the in coming requests.



Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]

- Original Message 
From: Engel L [EMAIL PROTECTED]
To: Mike Nwaogu [EMAIL PROTECTED]; users@kannel.org
Sent: Thursday, January 17, 2008 9:39:17 AM
Subject: Re: Need Help Configuring Kannel for SMS Pull


Thanks again Mike, what I am getting from this is that I the receiving of the 
SMS is not Kannel related. I can set up a php script independent of Kannel with 
with I can process and extract the SMS from the SMSC (in form of a URL). I was 
thinking Kannel handles this as well, now what I am getting is i need to 
install a web server as well isn't that correct? 


Thanks Again Mike

Regards,
Engel Linus
CECIT

On Jan 17, 2008 10:44 AM, Mike Nwaogu [EMAIL PROTECTED] wrote:

Ok, I'm sorry I miss understood at first.

You'll need to give them the URL to which they'll send the sms messages.
Then you'll need to agree on the Message parameters eg:

the name of the parameter for senders' address
the name of the parameter for message and any other parameter you may want from 
them.

That way they'll know to send you a query to your URL in the format that you'll 
be able to receive and process them.

 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: 
[EMAIL PROTECTED]



- Original Message 
From: Engel L [EMAIL PROTECTED]


To: Mike Nwaogu
 [EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 8:35:20 AM
Subject: Re: Need Help Configuring Kannel for SMS Pull


Thank you Mike for the quick response. But I need to know what needs to be done 
at the SMSC, what information do I need to give them to route my messages to 
Kannel? They told me they can use HTTP and I am interested in that option since 
it seems to be the easiest. I would imagine the get-url option is best suited 
for this task.


Regards
Engel Linus
CECIT


On Jan 16, 2008 11:18 PM, Mike Nwaogu [EMAIL PROTECTED] wrote:


Hello Engel,
You can configure a group = sms-service and include an exec parameter or 
geturl/posturl option in the group. eg:
note that you can only use either of them, exec, post-url or get-url


group = sms-service
name = Incoming
keyword = default
exec = /home/admin/doSMS.pl %p %P '%a'
catch-all = true
#get-url = 

http://localhost/service.php?phone=%ptext=%rbinary=%bsmsc=$itime=%t;
#post-url = 

http://localhost/service.php?phone=%ptext=%rbinary=%bsmsc=$itime=%t;

This will ensure that all your messages are sent to this application from where 
you can determine the response.



Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]




- Original Message 
From: Engel L [EMAIL PROTECTED]

To: 
users@kannel.org
Sent: Wednesday, January 16, 2008 5:19:47 PM
Subject: Need Help Configuring Kannel for SMS Pull




Hi,

I am experimenting with Kannel and I do have access to a vendor SMSC. I have 
managed to send messages using Kannel (push sms) but a major part of what I am 
trying to do is be able to receive messages from the SMSC (A user would send an 
SMS to a certain number, and the SMSC would forward the message to Kannel). I 
need to know what options I have to receive the message to the gateway. From 
the SMSC's point of view, what options do I have for forwarding the messages to 
Kannel (protocols-HTTP, SMPP ??). I would prefer HTTP since it should be easier 
to develop around (And I would imagine a majority of Kannel users have used 
HTTP before for Pull Purposes). 


Please Assist.

Regards,

Engel Linus
CECIT
Dar es Salaam











  Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.
















  Never miss a thing.   Make Yahoo your homepage.












  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: Kannel monitor in PHP

2007-12-28 Thread Mike Nwaogu
Hi Rowland,
I have a similar script, but would like to know if
there's something I could add.

Do let me have it if will.

--- Rolandow [EMAIL PROTECTED] wrote:

 Hi all,
 
 To monitor our kannel connections with the SMSC's, I
 wrote a little PHP 
 script. When a connection is down, it can send an
 e-mail, and a SMS. 
 Sending SMS will be done using a clickatell account.
 
 The script uses netstat to check the connections, so
 this would only run 
 on linux. It works with the PHP5 CGI, so you only
 have to install the 
 php5 cgi version, if your server doesn't run a
 webserver.
 
 You can configure the connections you would like to
 monitor, based on IP 
 and PORT number. You can also define a timeout. If
 the connection is 
 down for more than xx seconds, it will send you an
 alert. Because in my 
 experience a lot of connection restore themselves
 automatically within 
 half an hour.
 
 If somebody would like to use this, I could send the
 script to the list 
 (is that possible/allowed?), or I could put it
 somewhere to download. If 
 you're interested, let me know.
 
 Kind regards,
 Roland.
 


Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping



Re: WML Page

2007-12-17 Thread Mike Nwaogu
Hello Khan,
U can start by sending the the service message which is basically a URL of the 
wml page. check the user manual for this.


Khan, Hammad Aslam [EMAIL PROTECTED] wrote: Hello everyone,

Is it possible to transfer a WML page to a mobile device through SMS?

The purpose I want to serve is;
= Users should get a page containing all our SMS services that we offer
= user presses that service button and sms is automatically sent to our 
servers to the specified short code 

I know this can be done through WAP - but all I want to utilize is; SMS; for 
this purpose. 

Thanks for your help.

Regards,
Hammad
 


Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: Fwd: sending SMS with label instead short numbrer

2007-12-17 Thread Mike Nwaogu
Hello Mohamed,
Somethings you'll need to tell the providing telco before u send this type of 
message, so they will allow u to use a SOURCE_ADDR_TON=5  SOURCE_ADDR_NPI=0

otherwise, you won't be able to do this.

mohamed maanani [EMAIL PROTECTED] wrote: 

Hi, 

when sending an  SMS we use this  
http://localhost:portnumber/cgi-bin/sendsms?username=XXXpassword=XXXfrom=[short
  number]to=[phone number] text=[TEXT].

My question is:

How can I send SMS   in order to receive the SMS in my device with from:label 
instead of  [short number]

thx
 

 


Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]
   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: SMSC identifier escape code

2007-10-17 Thread Mike Nwaogu
Hi,
%I is the Message Identifier, it carries a unique code for each message, 
however this ID is internally generated by kannel and not the Originating SMSC.
 
Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]

- Original Message 
From: Alvaro Cornejo [EMAIL PROTECTED]
To: users@kannel.org users@kannel.org
Sent: Wednesday, October 17, 2007 8:19:32 PM
Subject: SMSC identifier escape code


Hi

Can anyone explain me the difference between the %i and %I on kannel
escape codes?

As per the manual:
%ithe smsc-id of the connection that received the message
%Ithe SMS ID of the internal message structure

What does the ID of the internal message structure means?

This is my issue:

I have 3 kannel engines setup like this:

smsc1-1 -  -
 smsc3-1
   \ /
smsc1-2 -- kannel1 -- kannel 2 -- kannel3  ---  smsc3-2
/
smsc1-3 -

passing MO/MT between them. What I need to have is that if k1 receives
a message for k3, k3 will know wich of the smsc connected to k1
(smsc1-n) originally received the message. What I get now is the
smsc-id of kannel3 that connects to kannel2

Regards

Alvaro






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: error codes and sending http requests to kannel smsbox

2007-10-14 Thread Mike Nwaogu
Hello Mike,
This is actually a forum for kannel and not PHP but find below.

==
$url = 
http://localhost:13013/cgi-bin/sendsms?username=userpassword=passfrom=12345to=$totext=.rawurlencode($txt);
$output = join('', file($url));
$output returns whatever you have on the URL
==


Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.
- Original Message 
From: Michael Habashy [EMAIL PROTECTED]
To: users@kannel.org
Sent: Friday, October 12, 2007 2:24:16 PM
Subject: error codes and sending http requests to kannel smsbox


I have gone through the documentation and found no error levels or error 
responses from kannel that might give off when:

1. when the phone has  a problem.

2. when smsbox is not responding.

3. when bearerbox is not responding.

 

Can anyone help ?  I am using php curl at the command line...is there a better 
way to do http gets so i can get error codes if the requests are not 
successful???

 

 

thanks

mjh







   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Support for WTAI

2007-10-14 Thread Mike Nwaogu
Hello,
I'm not sure this is the right forum to be asking this but does anyone have a 
list of phone that support the WTAI phone system calls.
I'd really appreciate it.
 
Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.




  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



Re: Installing Kannel on a GoDaddy Hosted Site

2007-08-27 Thread Mike Nwaogu
WOW, I'd like to see this one, there's some stuff you'll have to do as root.
I was faced with a similar solution and had to go for a hosted windows server 
on which I could install as my own user.

Anyway, you could seek the co-operation of your hosts, if it's not too much to 
ask them, and I think kannel developers should start negotiating with major 
Hosting servers; eg: rackspace, netlinks, godaddy
 
Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.

- Original Message 
From: Frank Hablawi [EMAIL PROTECTED]
To: users@kannel.org
Sent: Monday, August 27, 2007 7:43:45 AM
Subject: Installing Kannel on a GoDaddy Hosted Site

Hello all,

Kannel seems perfect for my needs of supply a WAP Gateway for friends and 
family, but I have one question.  How would I go about installing Kannel on a 
GoDaddy hosted Linux account?  I'm rather clueless, I'll admit, but if anyone 
would be kind enough to provide a tutorial I'd be more then happy to share the 
results.


Thanks!
Frank







  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz

Re: SMS callback - Integrating Kannel and a2billing

2007-08-06 Thread Mike Nwaogu
Hi Preeteesh,
I suggest you forward the messages to a voice xml script which originates the 
calls to both parties.
I hope it helps.
 
Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.

- Original Message 
From: preeteesh kakkar [EMAIL PROTECTED]
To: users@kannel.org
Sent: Monday, August 6, 2007 11:02:57 AM
Subject: SMS callback - Integrating Kannel and a2billing

Hi,


 

 I have a kannel configured on one box and A2billing configured on
another box. I want to implement sms callbacks. What this means is that
a customer is able to SMS a phone number to a number on which kannel is
configured and the system will then connect the two parties via VoIP. 




I want to know how can i integrate kannel to a2billing. What i want is
that when kannel recieve any sms it should do the same stuff as i do by
using web callback. I have web callbacks already configured. 




Kindly help me.. and let me know how this can be done!

Thanks,
Preeteesh!







   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

Re: exclamation mark

2007-07-23 Thread Mike Nwaogu
Hi,
the exclamation mark is a safe characters, it will be represented as is. as 
well as everything in the block brackets [-_.!~*'().]

Lets know if you're having some sort of problems with ASCII character encoding.
You may want to read RFC 2396, I think.

Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.

- Original Message 
From: Arnar Gestsson [EMAIL PROTECTED]
To: users@kannel.org
Sent: Monday, July 23, 2007 8:38:11 AM
Subject: exclamation mark




  
  

Hi guys,



I've noticed that Kannel uses 0x40 for @ when using SMPP, but what happens to 
the exclamation mark?



BR. Arnar








Arnar Gestsson

Amivox ehf.

aeBeat: arnargestsson

Phone: +4520617605

Email: [EMAIL PROTECTED]

--

Non-intrusive voice messaging









  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz

Re: removing the plus sign

2007-05-30 Thread Mike Nwaogu
Set your 
  DESTADDRTON = 8
  DESTADDRNPI  = 2

  If this doesn't work, or your unable to connect to the SMSC, you may need to 
speak with the SMSC guys.
   
  Regards,
  Mike Nwaogu
  
Kaneza Innocent [EMAIL PROTECTED] wrote:
Hi all
  I would like to know how I can remove the + sign on the short code, rather 
than having +1234 I want to have 1234 when delivered on the phone.
   
  thanks




Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.
   
-
Pinpoint customers who are looking for what you sell. 

Re: Limiting SMPP inbound throughput

2007-05-15 Thread Mike Nwaogu
Hello Enrique,
You'll have to speak with the SMSC guys, so they can limit throughput to you to 
whatever capacity you'd prefer to handle.

Regards,
Mike Nwaogu
Metro Technologies  Resources Ltd.

- Original Message 
From: Enrique Echeverria [EMAIL PROTECTED]
To: users@kannel.org
Sent: Monday, May 14, 2007 10:27:25 PM
Subject: Limiting SMPP inbound throughput

Hello everybody:

I'm using Kannel with SMPP 3.4 , and the SMSC is sending me brusts of 100 
messages per seccond sometimes.

I need to limit the inbound throughput(amount of messages/seccond the SMSC 
transmits to me), returning throttling-error or something similar, so as to 
slow-down the SMSC.


As I understand from Kannel User guide, the throughput parameter in the SMSC 
group variables, only limits the  outbound traffic (amount of messages/seccond 
I transmit to the SMSC ). Is this right ? or does this parameter limits both 
traffic flows ?


In case the throughput parameter limits only the outbound traffic, does anybody 
knows any way to limit the inblound throughput from an SMSC ?

Thanks in addvance, regards: Enrique








   
Luggage?
 GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz

SOLARIS 8 Installation probs

2007-02-07 Thread Mike Nwaogu
Hello Yall,
I've been trying to install kannel on a Solaris 8 on a
SPARC platform.

Discovered there was no Gnu C libraries installed.
I downloaded and installed the version for solaris 8.
I still can't compile kannel.

twas returning someerror about as
from google it suggests I install:
 
SUNWbtool, SUNWsprot,
SUNWhea, SUNWarc, 
SUNWdfbh, SUNWcg6h,
for ucb compatiblity:
SUNWsra, SUNWsrh

Question is where do I get this? Files as I dont have
the Solaris CD.

Any help would be appreciated.


 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/



GSM Modem Bank / Pool

2006-05-02 Thread Mike Nwaogu
Hello Guys,
Is there anyone there who knows where I can get a GSM
Modem Bank / Pool where I can put in many SIMs from
different operator networks?

I'll need a minimum of 2 4SIM ports or 1 8SIM port

please advise.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



SMS Chat

2006-03-16 Thread Mike Nwaogu
hello guys,
I'm wondering there's a way kannel can aid in my
implementation of an SMS chat service.

I'd like to know if ...
1. Can Kannel Do it alone?
2. if Yes, How?
3. If No, what can help me achieve the SMS chat
service, after recieving the SMS from kannel?

Any good pointer to Linux based applications, will be
appreciated.

Regards,
Mike

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: OTA/GPRS services Settings

2006-02-10 Thread Mike Nwaogu
hello Stipe,
thanks for your response.

I think the phone I'm testing with is network locked
and as such will not recieve settings from anyother
network. I've also noticed that I can't even edit the
setting on the fone.

However, to answer your questions, I'm sending the
OMA-OTA, to a Nokia 6820

I've also tried from the nokia website
https://nokiags.wdsglobal.com/standard and I got an
error saving Connection setting flash message on my
phone.

Is there a forum where one could get the full list of
OTA formats for various fones?


--- Stipe Tolj [EMAIL PROTECTED] wrote:

 Mike Nwaogu wrote:
  hello yall,
  Has anyone successfully sent an OTA service
 message to
  a Nokia phone, i'm trying to send one to a nokia
 6820
  it gets to the SMSC with no error reports but
 never
  gets to the phone.
  
  it's like, I really don't know what's wrong, any
  pointer would be appreciated.
 
 which type of OTA config are you sending?
 The Nokia/Ercisson format or the more recent OMA
 format?
 If the phone is a newer one, you should use OMA
 format.
 
 OMA Format is not included in Kannel 1.4.0, but in
 cvs.
 
 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

---
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



OTA/GPRS services Settings

2006-02-09 Thread Mike Nwaogu
hello yall,
Has anyone successfully sent an OTA service message to
a Nokia phone, i'm trying to send one to a nokia 6820
it gets to the SMSC with no error reports but never
gets to the phone.

it's like, I really don't know what's wrong, any
pointer would be appreciated.

Regards,
Mike

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Fwd: SMSC rejected login to transmit, code 0x0000000d.

2006-01-05 Thread Mike Nwaogu
Hello Again Everyone,
I never got an answer to this question I sent last
year july, I need to know how to resolve this. Would
be glad if someone could help me.

SMSC rejected login to transmit, code 0x000d.
I got this from my kannel.log
I'm using kannel version 1.4

my config file.

group = smsc
smsc = smpp
smsc-id = smsc
host = 172.16.1.120
port = 
transceiver-mode = 0
receive-port = 0
system-type = VMA
smsc-username = username
smsc-password = password
source-addr-autodetect = 1



==FORMER MESSAGE
==
hello Everyone been a while I was here.

I need help everything was running smoothly until just
about 2 hours ago, I got this message.

What does this imply, the SMSC guys say they haven't
changed anything. and I haven't changed anything, I've
restarted the machine and every the kannel several
times over but the same error repeats.

Please Advise on what it means and how to stop this.

Mike :((


Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 




Re: How to bind as a receiver

2005-11-08 Thread Mike Nwaogu
Hello,
Try this among other parameters. Hope it helps.

smsc = smpp
host = 123.456.789.123
port = 
transceiver-mode = 0
receive-port = 
interface-version = 34
system-type = 
smsc-username = foouser
smsc-password = foopass
address-range = 
source-addr-ton = 5
source-addr-npi = 0
source-addr-autodetect = 1

rgds,
Mike

--- Gayan Peiris [EMAIL PROTECTED] wrote:

  Hello All,
  
  Please tell me how to bind as a receiver.
  
  Im using kannel 1.4.0
  
  Please reffer:
 http://smsforum.net/smf/index.php?topic=2179.0
  
  Thanks.
  
  Gayan Peiris
 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



Re: [REPOST] DLR on wappushes ?

2005-09-14 Thread Mike Nwaogu
hello,
I'm not sure how you'll impliment it, but you need to
be sure that the URL has no spaces inbetween the
values for the parameters. when there's a break the
URL may not be properly represented.

EG: BAD
username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url=http://192.168.0.1/my
midi file.mid

EG: GOOD
username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url=http://192.168.0.1/my%20midi%20file.mid



--- Julien Buratto [EMAIL PROTECTED] wrote:

 Mike Nwaogu wrote:
  Hello Julien,
  The position on your dlr-mask in the post command
 is
  what I think the issue is.
 
 Maybe you are true, but if I do
 
 POST /wappush HTTP/1.1
 Host: 10.100.10.5:8080
 Connection: close
 Content-Type: multipart/related; boundary=123321;
 type=application/xml
 Content-Length: 1174
 

username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url=[encoded
 url]
 
 XML ATTACHMENT CUT
 
 then the ppg says:
 
 HTTP/1.1 401 Unauthorized
 Server: Kannel/1.4.0
 Content-Length: 32
 Connection: close
 WWW-Authenticate: Basic realm=berlinzoowappush
 
 You must show your credentials.
 
 if I do:
 
 POST
 /wappush?username=ppgusernamepassword=ppgpassword
 HTTP/1.1
 Host: 10.100.10.5:8080
 Connection: close
 Content-Type: multipart/related; boundary=123321;
 type=application/xml
 Content-Length: 1174
 

username=ppgusernamepassword=ppgpassworddlr-mask=31dlr-url=[encoded
 url]
 
 (same as before but with user/pass in the POST url)
 the I get:
 
 HTTP/1.1 202 Accepted
 
  Perhaps you should URL ENCODE the content or
 relocate
  the dlr-mask parameter before the actual message.
 I
  could be wrong though but I think that's what it
 is.
 
 It is encoded,the protocol implementation seems ok
 to me, I think is 
 something different related to the box receiving and
 decoding the 
 paramenters.
 
 Cheers
 Julien
 
  --- Julien Buratto [EMAIL PROTECTED] wrote:
  
  
 Hello
 
 I'm reposting this question because I have still
 no
 clue.
 
 1) In the past I used binary SMS messages to send
 WAP-PUSHES
 in that way I was able to set dlr-mask=31 and a
 dlr-url and I have been 
 receiving DLRs easily when the phone received the
 SMS.
 
 Sometimes the phone did not understand the
 wap-push
 message as a 
 binary-message but the DLR arrived in any case.
 
 The 'call' was something like GET /sendsms? and I
 was using the 
 bearerbox and the smsbox to send those binary sms.
 
 2) Now I use the bearerbox, smsbox and wapbox and
 I
 send XML files to 
 the wapbox using a POST but when I set the dlr-url
 and dlr-mark 
 variables in the POST, I receive no DLRs at all.
 
 Does anyone know if the transcodification from XML
 to BINARY made by the 
 wapbox do include dlr ?
 
 Thanks
 
 PS: I'm not interested to be notified if the
 wappush
 is understood or 
 not, I just want to know if the wappush sms is got
 by the phone.
 
 
  
  
  
  Mike Nwaogu
  Metro Technologies  Resources Ltd.
  48 Tunde Idiagbon Road, Tanke, Ilorin.
  
  
  
  __ 
  Yahoo! Mail - PC Magazine Editors' Choice 2005 
  http://mail.yahoo.com
  
  
 
 


Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



Re: post url for an application

2005-08-30 Thread Mike Nwaogu
Hello
The Answer is yes. you can.
but read the documentation.

Regards,
Mike
--- cool planet [EMAIL PROTECTED] wrote:

 Hi Friends , 
  
 This is actually newbe and very simple question . 
 Can we use kannel , to send any  POST url via their
 own ports ? ( 13013 , 1300 ..etc)
 if it is possible can we  change that ports oir own
 ?
  
 bcause , i wanted send some request to a application
 . i thought kannel would be the better interface .
 i'm not sure .
  
 please give me a help .
  
 Thanx in advance,
 Kane.
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 


Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



Setting SMPP3.4 TX only

2005-08-17 Thread Mike Nwaogu
Hello All,
I'm connecting to another SMSC and I'm supposed to
configure only one connector as a SEND only and
another as a Receive only.

The Send only is an SMPP 3.4 connection and the
Receive only is an SMPP 3.3 connection.

How do I achieve this? I'm using kannel verion 1.2.1

How for do am?

regards,
Mike

Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



Re: SMPP Server

2005-08-10 Thread Mike Nwaogu
Hello,
I believe kannel can do SMPP with the requesting
gateway, your settings should be set to internal eg:

group = smsc
smsc = smpp
smsc-id = smscID
host = 127.0.0.1
port = 
system-type = kannel
smsc-username = secret_as_u_set_it
smsc-password = terces

as long as the peer gateway is doing SMPP there should
be no problems, far as I know.


 - Original Message - 
 From: Pa nos [EMAIL PROTECTED]
 To: users@kannel.org
 Sent: Wednesday, August 10, 2005 7:23 AM
 Subject: SMPP Server
 
 
 Hi.
 I have several connections with SMSCs and want to
 give
 my clients the ability to connect with with SMPP.
 Which software can I use to act as an SMPP server?
 I didn't find any freeware SMPP Server available
 so
 any idead on the paid ones?
 
 Pa Nos
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 
 
 -- 
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.338 / Virus Database: 267.10.2/65 -
 Release Date: 8/7/2005


Mike Nwaogu
Metro Technologies  Resources Ltd.
48 Tunde Idiagbon Road, Tanke, Ilorin.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



  1   2   >