Re: OPENSMPPBOX code 0x0000000d (Bind Failed) help

2020-11-30 Thread Michael Osakede
Hi,

Its is separated by SPACE or TAB?
Do you have a functional login configuration?

Michael.

On Mon, 30 Nov 2020, 10:22 am Rene Kluwen,  wrote:

> You could double check your smpplogins.txt.
>
>
>
> == Rene
>
>
>
> *Van:* users  *Namens *Michael Osakede
> *Verzonden:* maandag 30 november 2020 03:06
> *Aan:* users@kannel.org
> *Onderwerp:* OPENSMPPBOX code 0x000d (Bind Failed) help
>
>
>
> Hello,
>
>
>
> I have this setup
>
>
>
> KANNEL SMSC <==> OPENSMPPBOX Server
>
> below are the opensmppbox and kannel config.
>
>
>
> OPENSMPPBOX
>
> group = core
> dlr-storage = internal
>
> group = opensmppbox
> opensmppbox-id = orange
> opensmppbox-port = 1991
> bearerbox-host = localhost
> bearerbox-port = 13001
> our-system-id = orange_vezeti
> smpp-logins = "/etc/kannel/box/smpplogins.txt"
> route-to-smsc = MEDIATEL
> log-level = 0
> log-file = /tmp/smppbox.log
>
> OPENSMPP Users
>
> mike mike orange 78.208.228.38
>
>
>
> CONNECTING Kannel SMSC
>
> # SMSC SMPP
> group = smsc
> smsc-id = orange
> smsc = smpp
> host = 156.0.249.122
> port = 1991
> #receive-port = 2346
> smsc-username = mike
> smsc-password = mike
> system-type = orange
> #interface-version = 52
> keepalive = 50
> allowed-smsc-id = orange
> transceiver-mode = true
> msg-id-type =  0x00
> throughput = 10
> max-pending-submits = 10
> wait-ack = 600
>
>
>
> Kannel Log
>
> ] DEBUG: Connecting to <156.0.249.122>
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x0009
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 = 0x0034
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 =
> 0x8009
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x000d
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
> 2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login
> to transmit, code 0x000d (Bind Failed).
> 2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to
> SMS center (retrying in 10 seconds).
>
>
>
> OPENSMPP Log
>
> 2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1
> (opensmppbox.c:function)
> 2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
> maps to pid 19202.
> 2020-11-30 02:53:26 [19202] [1] INFO: Client connected from <74.208.228.38>
> 2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
> 2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost
> port 13001.
> 2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2
> (opensmppbox.c:smpp_to_bearerbox)
> 2020-11-30 02:53:26 [19202] [2] DEBUG: Thread 2
> (opensmppbox.c:smpp_to_bearerbox) maps to pid 19202.
> 2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Got PDU:
> 2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c000d50 dump:
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 9 = 0x0009
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 0 = 0x
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: "mike"
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   password: "mike"
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   system_type: "orange"
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   interface_version: 52 = 0x0034
> 2020-11-30 02:53:26 [19202] [2] DEBU

OPENSMPPBOX code 0x0000000d (Bind Failed) help

2020-11-29 Thread Michael Osakede
Hello,

I have this setup

KANNEL SMSC <==> OPENSMPPBOX Server
below are the opensmppbox and kannel config.

OPENSMPPBOX
group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = orange
opensmppbox-port = 1991
bearerbox-host = localhost
bearerbox-port = 13001
our-system-id = orange_vezeti
smpp-logins = "/etc/kannel/box/smpplogins.txt"
route-to-smsc = MEDIATEL
log-level = 0
log-file = /tmp/smppbox.log

OPENSMPP Users
mike mike orange 78.208.228.38

CONNECTING Kannel SMSC
# SMSC SMPP
group = smsc
smsc-id = orange
smsc = smpp
host = 156.0.249.122
port = 1991
#receive-port = 2346
smsc-username = mike
smsc-password = mike
system-type = orange
#interface-version = 52
keepalive = 50
allowed-smsc-id = orange
transceiver-mode = true
msg-id-type =  0x00
throughput = 10
max-pending-submits = 10
wait-ack = 600

Kannel Log
] DEBUG: Connecting to <156.0.249.122>
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x0009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 = 0x0034
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 = 0x8009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x000d
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login to
transmit, code 0x000d (Bind Failed).
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to
SMS center (retrying in 10 seconds).

OPENSMPP Log
2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1
(opensmppbox.c:function)
2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
maps to pid 19202.
2020-11-30 02:53:26 [19202] [1] INFO: Client connected from <74.208.228.38>
2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost
port 13001.
2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2
(opensmppbox.c:smpp_to_bearerbox)
2020-11-30 02:53:26 [19202] [2] DEBUG: Thread 2
(opensmppbox.c:smpp_to_bearerbox) maps to pid 19202.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c000d50 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 9 = 0x0009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   password: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_type: "orange"
2020-11-30 02:53:26 [19202] [2] DEBUG:   interface_version: 52 = 0x0034
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_ton: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_npi: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   address_range: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c001050 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 2147483657 = 0x8009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 13 = 0x000d
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:27 [19202] [2] ERROR: Invalid SMPP PDU received.
2020-11-30 02:53:27 [19202] [2] DEBUG: Thread 2
(opensmppbox.c:smpp_to_bearerbox) terminates.
2020-11-30 02:53:28 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
terminates.

any help is welcome, what am I getting wrong?

Michael


Muti Dlr URL for XML POST

2014-12-02 Thread michael osakede
Hello All,
I am sending messages using XML POST, but I am unable to change the dynamic 
parrameter for the dlr url.my XML contains multiple numbers, i need to pass a 
dynamic variable for each number as one number can be subscribed to multiple 
services.
How do I send multiple dynamic variables through the dlr url?Also how do I 
route a message from XML POST to a particular smsc?
$gid=2;$xml = '?xml 
version=1.0?messagesubmitdanumber+23480XX/number/dadanumber+2347XXX/number/daoanumber35747/number/oauduser
 data/udstatusrequest
      dlr-mask31/dlr-mask      
dlr-urlhttp://localhost/dlrnewXX.php?status=%damp;answer=%Aamp;to=%Pamp;from=%pamp;dlr=yesamp;messageid='.$gid.'amp;smsc=%i/dlr-url
    /statusrequest
fromusernametester/usernamepasswordfoobar/password/from/submit/message';
Regards,Michael

KANNEL XML POST MESAGE

2014-12-01 Thread michael osakede
Hello All,
I keep getting Authorization failed for sendsms.
My Send SMS config#-# SEND-SMS 
USERS## These users are used when Kannel smsbox sendsms interface is used to# 
send PUSH sms messages, i.e. calling URL like# 
http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar...
group = sendsms-userusername = testerpassword = foobardlr-url = 
http://localhost/dlr.php?action=recvdlroriginator=%pdestination=%Pmessage=%adlrvalue=%dtimestamp=%tsmscid=%ioperator=%obilling=%Oomit-empty
 = truemax-messages = 1000

My PHP Code:?php
$xml = '?xml version=1.0 encoding=UTF-8?message        submit         
       danumber2348098009386/number/da                
oanumber747/number/oa                udTest Message/ud              
  statusrequest                        dlr-mask31/dlr-mask                
         dlr-url                                
http://127.0.0.1/delivery-report.php?send_history_id=13853217to_number=91XXtype=%d
                        /dlr-url                /statusrequest              
  from                        usernametester/user                      
passwordfoobar/password                        accountprecin/account    
                    smsc-idprecin/smsc-id                        
binfoMO/binfo                /form                toprecin/to        
/submit/message';
//echo $xml;$xml=urlencode($xml);$url = 
http://localhost:13013/cgi-bin/sendsms;;
$username=tester;$password=foobar;
$ch = curl_init($url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, 
CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));curl_setopt($ch, 
CURLOPT_USERPWD, $username:$password);curl_setopt($ch, CURLOPT_POSTFIELDS, 
$xml);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$output = 
curl_exec($ch);curl_close($ch);echo $output.RES;?
Any idea what could be wrong?


 

Re: KANNEL XML POST MESAGE

2014-12-01 Thread michael osakede
Thanks
Now i get Not routable. Do not try again.
Can you share your send-sms config?
Regards,Michael 

 On Monday, December 1, 2014 4:34 PM, Tapan Kumar Thapa 
tapan.thapa2...@gmail.com wrote:
   

 Here is the one to many working example.

?php

$url = http://:13013/cgi-bin/sendsms';

$xml = '?xml version=1.0?
message
submit
danumber919871701375/number/da
danumber919871701375/number/da
danumber919871701375/number/da
danumber919871701375/number/da
from
usernamexxx/username
passwordxxx/password
/from
/submit
/message';

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_POSTFIELDS, $xml);
$result = curl_exec($curl);
//$info = curl_getinfo($curl);
curl_close($curl);
echo $result;

On Mon, Dec 1, 2014 at 8:44 PM, michael osakede ire...@yahoo.com wrote:

Hello All,
I keep getting Authorization failed for sendsms.
My Send SMS config#-# SEND-SMS 
USERS## These users are used when Kannel smsbox sendsms interface is used to# 
send PUSH sms messages, i.e. calling URL like# 
http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar...
group = sendsms-userusername = testerpassword = foobardlr-url = 
http://localhost/dlr.php?action=recvdlroriginator=%pdestination=%Pmessage=%adlrvalue=%dtimestamp=%tsmscid=%ioperator=%obilling=%Oomit-empty
 = truemax-messages = 1000

My PHP Code:?php
$xml = '?xml version=1.0 encoding=UTF-8?message        submit         
       danumber2348098009386/number/da                
oanumber747/number/oa                udTest Message/ud              
  statusrequest                        dlr-mask31/dlr-mask                
         dlr-url                                
http://127.0.0.1/delivery-report.php?send_history_id=13853217to_number=91XXtype=%d
                        /dlr-url                /statusrequest              
  from                        usernametester/user                      
passwordfoobar/password                        accountprecin/account    
                    smsc-idprecin/smsc-id                        
binfoMO/binfo                /form                toprecin/to        
/submit/message';
//echo $xml;$xml=urlencode($xml);$url = 
http://localhost:13013/cgi-bin/sendsms;;
$username=tester;$password=foobar;
$ch = curl_init($url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, 
CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));curl_setopt($ch, 
CURLOPT_USERPWD, $username:$password);curl_setopt($ch, CURLOPT_POSTFIELDS, 
$xml);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$output = 
curl_exec($ch);curl_close($ch);echo $output.RES;?
Any idea what could be wrong?


 



   

Re: KANNEL XML POST MESAGE

2014-12-01 Thread michael osakede
I think i need to pass the SMSC variable , how do I do this in XML POST? 

 On Monday, December 1, 2014 4:50 PM, michael osakede ire...@yahoo.com 
wrote:
   

 Thanks
Now i get Not routable. Do not try again.
Can you share your send-sms config?
Regards,Michael 

 On Monday, December 1, 2014 4:34 PM, Tapan Kumar Thapa 
tapan.thapa2...@gmail.com wrote:
   

 Here is the one to many working example.

?php

$url = http://:13013/cgi-bin/sendsms';

$xml = '?xml version=1.0?
message
submit
danumber919871701375/number/da
danumber919871701375/number/da
danumber919871701375/number/da
danumber919871701375/number/da
from
usernamexxx/username
passwordxxx/password
/from
/submit
/message';

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_POSTFIELDS, $xml);
$result = curl_exec($curl);
//$info = curl_getinfo($curl);
curl_close($curl);
echo $result;

On Mon, Dec 1, 2014 at 8:44 PM, michael osakede ire...@yahoo.com wrote:

Hello All,
I keep getting Authorization failed for sendsms.
My Send SMS config#-# SEND-SMS 
USERS## These users are used when Kannel smsbox sendsms interface is used to# 
send PUSH sms messages, i.e. calling URL like# 
http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar...
group = sendsms-userusername = testerpassword = foobardlr-url = 
http://localhost/dlr.php?action=recvdlroriginator=%pdestination=%Pmessage=%adlrvalue=%dtimestamp=%tsmscid=%ioperator=%obilling=%Oomit-empty
 = truemax-messages = 1000

My PHP Code:?php
$xml = '?xml version=1.0 encoding=UTF-8?message        submit         
       danumber2348098009386/number/da                
oanumber747/number/oa                udTest Message/ud              
  statusrequest                        dlr-mask31/dlr-mask                
         dlr-url                                
http://127.0.0.1/delivery-report.php?send_history_id=13853217to_number=91XXtype=%d
                        /dlr-url                /statusrequest              
  from                        usernametester/user                      
passwordfoobar/password                        accountprecin/account    
                    smsc-idprecin/smsc-id                        
binfoMO/binfo                /form                toprecin/to        
/submit/message';
//echo $xml;$xml=urlencode($xml);$url = 
http://localhost:13013/cgi-bin/sendsms;;
$username=tester;$password=foobar;
$ch = curl_init($url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, 
CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));curl_setopt($ch, 
CURLOPT_USERPWD, $username:$password);curl_setopt($ch, CURLOPT_POSTFIELDS, 
$xml);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$output = 
curl_exec($ch);curl_close($ch);echo $output.RES;?
Any idea what could be wrong?


 





   

Re: KANNEL XML POST MESAGE

2014-12-01 Thread michael osakede
solved this using default-smsc under send sms 

 On Monday, December 1, 2014 4:58 PM, michael osakede ire...@yahoo.com 
wrote:
   

 I think i need to pass the SMSC variable , how do I do this in XML POST? 

 On Monday, December 1, 2014 4:50 PM, michael osakede ire...@yahoo.com 
wrote:
   

 Thanks
Now i get Not routable. Do not try again.
Can you share your send-sms config?
Regards,Michael 

 On Monday, December 1, 2014 4:34 PM, Tapan Kumar Thapa 
tapan.thapa2...@gmail.com wrote:
   

 Here is the one to many working example.

?php

$url = http://:13013/cgi-bin/sendsms';

$xml = '?xml version=1.0?
message
submit
danumber919871701375/number/da
danumber919871701375/number/da
danumber919871701375/number/da
danumber919871701375/number/da
from
usernamexxx/username
passwordxxx/password
/from
/submit
/message';

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_POSTFIELDS, $xml);
$result = curl_exec($curl);
//$info = curl_getinfo($curl);
curl_close($curl);
echo $result;

On Mon, Dec 1, 2014 at 8:44 PM, michael osakede ire...@yahoo.com wrote:

Hello All,
I keep getting Authorization failed for sendsms.
My Send SMS config#-# SEND-SMS 
USERS## These users are used when Kannel smsbox sendsms interface is used to# 
send PUSH sms messages, i.e. calling URL like# 
http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar...
group = sendsms-userusername = testerpassword = foobardlr-url = 
http://localhost/dlr.php?action=recvdlroriginator=%pdestination=%Pmessage=%adlrvalue=%dtimestamp=%tsmscid=%ioperator=%obilling=%Oomit-empty
 = truemax-messages = 1000

My PHP Code:?php
$xml = '?xml version=1.0 encoding=UTF-8?message        submit         
       danumber2348098009386/number/da                
oanumber747/number/oa                udTest Message/ud              
  statusrequest                        dlr-mask31/dlr-mask                
         dlr-url                                
http://127.0.0.1/delivery-report.php?send_history_id=13853217to_number=91XXtype=%d
                        /dlr-url                /statusrequest              
  from                        usernametester/user                      
passwordfoobar/password                        accountprecin/account    
                    smsc-idprecin/smsc-id                        
binfoMO/binfo                /form                toprecin/to        
/submit/message';
//echo $xml;$xml=urlencode($xml);$url = 
http://localhost:13013/cgi-bin/sendsms;;
$username=tester;$password=foobar;
$ch = curl_init($url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, 
CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));curl_setopt($ch, 
CURLOPT_USERPWD, $username:$password);curl_setopt($ch, CURLOPT_POSTFIELDS, 
$xml);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$output = 
curl_exec($ch);curl_close($ch);echo $output.RES;?
Any idea what could be wrong?


 







   

USSD Configuration for Kannel

2014-08-08 Thread michael osakede
Hello,

Can anyone send me instructions on how to bind to a USSDC?
I have the IP / username/password and port number.

I tried connecting to using :

group = smsc
smsc-id =  ussdpre
smsc = smpp
host = XX.XX.XX.XX
port = XXX
smsc-username = XX

smsc-password = XX
system-type = 
keepalive = 50
allowed-smsc-id = ussdpre
transceiver-mode = true
msg-id-type =  0x00
throughput = 30
max-pending-submits = 10
wait-ack = 600

I get this error:
2014-08-08 16:01:58 [15951] [6] ERROR: Error reading from fd 52:
2014-08-08 16:01:58 [15951] [6] ERROR: System error 104: Connection reset by 
peer
2014-08-08 16:01:58 [15951] [6] ERROR: SMPP[ussdpre]: Couldn't connect to SMS 
center (retrying in 10 seconds).
2014-08-08 16:02:08 [15951] [6] DEBUG: Connecting to XX.XX.XX.XX

Is it possible to handle USSD using kannel?

Michael

OPENSMPP User Based Routing

2013-11-06 Thread michael osakede
Hi,

How do I route sms based on login?

Regards,
Michael

OPENSMPP User Based Routing

2013-11-06 Thread michael osakede
Hi,

How do I route sms based on login?

Regards,
Michael

Re: OPENSMPP User Based Routing

2013-11-06 Thread michael osakede


Hi,

How do I route sms based on login?

I can route the MO using smsbox-route,
know how do I route MT from the opensmppbox client?

Regards,
Michael



On Wednesday, November 6, 2013 1:00 PM, michael osakede ire...@yahoo.com 
wrote:
 
Hi,

How do I route sms based on login?


Regards,
Michael

Allowed Shortcode

2013-11-06 Thread michael osakede
Hi,

is there anyway to set allowed-shortcode or receiver-prefic for an smsc?

Regards,
Michael

OPENSMPP LOGIN ISSUE

2013-10-23 Thread michael osakede
Hi,

I am having issues login into my opensmppbox from a remote kannel gateway.

This is my smpplogin.txt
precin4 precin4 vma 208.109.186.98


Kannel Config(Remote Server)
# SMSC SMPP
group = smsc
smsc-id =  precin4
smsc = smpp
host = xx.xxx.xx.xxx
port = 2346
receive-port = 2346
smsc-username = precin4
smsc-password = precin4
system-type = VMA
interface-version = 52
keepalive = 50
allowed-smsc-id = precin4
transceiver-mode = true
msg-id-type =  0x00
throughput = 12
max-pending-submits = 10
wait-ack = 600

OPENSMPP LOG
2013-04-10 13:05:14 [20962] [2] DEBUG: SMPP[abcd]: Got PDU:
2013-04-10 13:05:14 [20962] [2] DEBUG: SMPP PDU 0x7fe1dd50 dump:
2013-04-10 13:05:14 [20962] [2] DEBUG:   type_name: bind_transceiver
2013-04-10 13:05:14 [20962] [2] DEBUG:   command_id: 9 = 0x0009
2013-04-10 13:05:14 [20962] [2] DEBUG:   command_status: 0 = 0x
2013-04-10 13:05:14 [20962] [2] DEBUG:   sequence_number: 1 = 0x0001
2013-04-10 13:05:14 [20962] [2] DEBUG:   system_id: precin4
2013-04-10 13:05:14 [20962] [2] DEBUG:   password: precin4
2013-04-10 13:05:14 [20962] [2] DEBUG:   system_type: VMA
2013-04-10 13:05:14 [20962] [2] DEBUG:   interface_version: 82 = 0x0052
2013-04-10 13:05:14 [20962] [2] DEBUG:   addr_ton: 0 = 0x
2013-04-10 13:05:14 [20962] [2] DEBUG:   addr_npi: 0 = 0x
2013-04-10 13:05:14 [20962] [2] DEBUG:   address_range: NULL
2013-04-10 13:05:14 [20962] [2] DEBUG: SMPP PDU dump ends.
2013-04-10 13:05:14 [20962] [2] DEBUG: SMPP[abcd]: Sending PDU:
2013-04-10 13:05:14 [20962] [2] DEBUG: SMPP PDU 0x7fe1d0001050 dump:
2013-04-10 13:05:14 [20962] [2] DEBUG:   type_name: bind_transceiver_resp
2013-04-10 13:05:14 [20962] [2] DEBUG:   command_id: 2147483657 = 0x8009
2013-04-10 13:05:14 [20962] [2] DEBUG:   command_status: 13 = 0x000d
2013-04-10 13:05:14 [20962] [2] DEBUG:   sequence_number: 1 = 0x0001
2013-04-10 13:05:14 [20962] [2] DEBUG:   system_id: NULL
2013-04-10 13:05:14 [20962] [2] DEBUG: SMPP PDU dump ends.
2013-04-10 13:05:15 [20962] [2] ERROR: Invalid SMPP PDU received.
2013-04-10 13:05:15 [20962] [2] DEBUG: Thread 2 
(opensmppbox.c:smpp_to_bearerbox) terminates.
2013-04-10 13:05:16 [20962] [1] DEBUG: Thread 1 (opensmppbox.c:function) 
terminates.


BEARERBOX LOG(remote server)
2013-10-23 12:15:31 [1433] [6] DEBUG: Connecting to xx.xx.xx.xxx
2013-10-23 12:15:31 [1433] [6] DEBUG: SMPP[precin4]: Sending PDU:
2013-10-23 12:15:31 [1433] [6] DEBUG: SMPP PDU 0x7f0f2c000a10 dump:
2013-10-23 12:15:31 [1433] [6] DEBUG:   type_name: bind_transceiver
2013-10-23 12:15:31 [1433] [6] DEBUG:   command_id: 9 = 0x0009
2013-10-23 12:15:31 [1433] [6] DEBUG:   command_status: 0 = 0x
2013-10-23 12:15:31 [1433] [6] DEBUG:   sequence_number: 36 = 0x0024
2013-10-23 12:15:31 [1433] [6] DEBUG:   system_id: precin4
2013-10-23 12:15:31 [1433] [6] DEBUG:   password: precin4
2013-10-23 12:15:31 [1433] [6] DEBUG:   system_type: 
2013-10-23 12:15:31 [1433] [6] DEBUG:   interface_version: 82 = 0x0052
2013-10-23 12:15:31 [1433] [6] DEBUG:   addr_ton: 0 = 0x
2013-10-23 12:15:31 [1433] [6] DEBUG:   addr_npi: 0 = 0x
2013-10-23 12:15:31 [1433] [6] DEBUG:   address_range: NULL
2013-10-23 12:15:31 [1433] [6] DEBUG: SMPP PDU dump ends.
2013-10-23 12:15:31 [1433] [6] DEBUG: SMPP[precin4]: Got PDU:
2013-10-23 12:15:31 [1433] [6] DEBUG: SMPP PDU 0x7f0f2c000a10 dump:
2013-10-23 12:15:31 [1433] [6] DEBUG:   type_name: bind_transceiver_resp
2013-10-23 12:15:31 [1433] [6] DEBUG:   command_id: 2147483657 = 0x8009
2013-10-23 12:15:31 [1433] [6] DEBUG:   command_status: 13 = 0x000d
2013-10-23 12:15:31 [1433] [6] DEBUG:   sequence_number: 36 = 0x0024
2013-10-23 12:15:31 [1433] [6] DEBUG:   system_id: NULL
2013-10-23 12:15:31 [1433] [6] DEBUG: SMPP PDU dump ends.
2013-10-23 12:15:31 [1433] [6] ERROR: SMPP[precin4]: SMSC rejected login to 
transmit, code 0x000d (Bind Failed).
2013-10-23 12:15:31 [1433] [6] ERROR: SMPP[precin4]: Couldn't connect to SMS 
center (retrying in 10 seconds).

What am I doing wrong?

Michael

Help Routing from Bearerbox to OpenSMPPBox

2013-10-23 Thread michael osakede
Hi,

I have setup 2 servers:
Server 1: Bearerbox | SMSbox | SQLBox | OpenSMPPBox
Server 2: Bearerbox | SMSBox | SQLBox

How do I route all sms coming into an SMSC on Server one to server 2m and how 
do I route the response from Server 2 back to Server 1?

Bearerbox 1 = Opensmppbox1 = Bearerbox 2 =SMSBox 2 = and return the 
response back to Bearerbox 1.

How can I achieve this?

Michael

Re: Cannot find SMSCConn for message

2013-09-19 Thread michael osakede
Hi,

I removed this but the error does not go away.
the error still remains.

what else can I try?

Michael




 From: spameden spame...@gmail.com
To: michael osakede ire...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Thursday, September 19, 2013 3:03 AM
Subject: Re: Cannot find SMSCConn for message
 

Hi

2013/9/19 michael osakede ire...@yahoo.com:
 Hi All,

 I have this error recently when i try to send an sms from sqlbox:
 2013-09-18 15:17:27 [10664] [13] WARNING: Cannot find SMSCConn for message
 to +2348071498782, rejected.
 2013-09-18 15:17:27 [10664] [13] WARNING: Message rejected by bearerbox, no
 router!
 2013-09-18 15:17:27 [10664] [13] DEBUG: send_msg: sending msg to boxc:
 mysqlbox

 mysql insert code
  insert into send_sms (momt,sender,receiver,msgdata,smsc_id)
 values('MT','31114','+2348071498782','Test Message from server','glo');

 my kannel config for the smscgw is
 # SMSC SMPP
 group = smsc
 smsc-id = glo
 smsc = smpp
 host = 41.203.65.76
 port = 2008
 receive-port = 2008
 smsc-username = x
 smsc-password = x
 system-type =xx
 system-id = x
 #interface-version = 0x34
 connect-allow-ip = *.*.*.*
 keepalive = 50
 address-range =
 allowed-smsc-id = glo
 transceiver-mode = true
 #msg-id-type =  0x00
 bind-addr-ton = 1
 bind-addr-npi = 1
 alt-charset = utf-8


 what am I doing wrong?

Try removing address-range = option from your configuration.

Cannot find SMSCConn for message

2013-09-18 Thread michael osakede
Hi All,

I have this error recently when i try to send an sms from sqlbox:
2013-09-18 15:17:27 [10664] [13] WARNING: Cannot find SMSCConn for message to 
+2348071498782, rejected.
2013-09-18 15:17:27 [10664] [13] WARNING: Message rejected by bearerbox, no 
router!
2013-09-18 15:17:27 [10664] [13] DEBUG: send_msg: sending msg to boxc: 
mysqlbox

mysql insert code
 insert into send_sms (momt,sender,receiver,msgdata,smsc_id) 
values('MT','31114','+2348071498782','Test Message from server','glo');


my kannel config for the smscgw is
# SMSC SMPP
group = smsc
smsc-id = glo
smsc = smpp
host = 41.203.65.76
port = 2008
receive-port = 2008
smsc-username = x
smsc-password = x
system-type =xx
system-id = x
#interface-version = 0x34
connect-allow-ip = *.*.*.*
keepalive = 50
address-range =
allowed-smsc-id = glo
transceiver-mode = true
#msg-id-type =  0x00
bind-addr-ton = 1
bind-addr-npi = 1
alt-charset = utf-8


what am I doing wrong?

SMS Priority

2013-07-03 Thread michael osakede
Hi,
This is the senario, I have 3 messages in queue(to be sent) and a new 
message comes in, once the message is processed it is put at the end of the 
queue, so it will be the 30001 message to be sent.

I there anyway to sent message priority on all response to incoming sms?
so all responses are terminated immediately.


Regards,
Michael

SMSBOX Error

2013-05-02 Thread michael osakede
Hi All,

When I receive DLRs my SMSBOX fails, please see SMSBOX log below.
What am i getting wrong?

2013-05-02 19:00:03 [26487] [4] INFO: Starting delivery report (null) from 
33188
2013-05-02 19:00:03 [26487] [4] DEBUG: Started thread 8 (gwlib/fdset.c:poller)
2013-05-02 19:00:03 [26487] [4] DEBUG: Started thread 9 
(gwlib/http.c:write_request_thread)
2013-05-02 19:00:03 [26487] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller) maps to 
pid 26487.
2013-05-02 19:00:03 [26487] [9] DEBUG: Thread 9 
(gwlib/http.c:write_request_thread) maps to pid 26487.
2013-05-02 19:00:03 [26487] [9] DEBUG: Queue contains 0 pending requests.
2013-05-02 19:00:03 [26487] [9] DEBUG: Parsing URL `http://localhost/dlr.php':
2013-05-02 19:00:03 [26487] [9] DEBUG:   Scheme: http://
2013-05-02 19:00:03 [26487] [9] DEBUG:   Host: localhost
2013-05-02 19:00:03 [26487] [9] DEBUG:   Port: 80
2013-05-02 19:00:03 [26487] [9] DEBUG:   Username: (null)
2013-05-02 19:00:03 [26487] [9] DEBUG:   Password: (null)
2013-05-02 19:00:03 [26487] [9] DEBUG:   Path: /dlr.php
2013-05-02 19:00:03 [26487] [9] DEBUG:   Query: (null)
2013-05-02 19:00:03 [26487] [9] DEBUG:   Fragment: (null)
2013-05-02 19:00:03 [26487] [9] DEBUG: Connecting nonblocking to 127.0.0.1
2013-05-02 19:00:03 [26487] [9] DEBUG: HTTP: Opening connection to 
`localhost:80' (fd=28).
2013-05-02 19:00:03 [26487] [9] DEBUG: Socket connecting
2013-05-02 19:00:03 [26487] [8] DEBUG: Get info about connecting socket
2013-05-02 19:00:03 [26487] [8] DEBUG: HTTP: Sending request:
2013-05-02 19:00:03 [26487] [8] DEBUG: Octet string at 0x121f7900:
2013-05-02 19:00:03 [26487] [8] DEBUG:   len:  96
2013-05-02 19:00:03 [26487] [8] DEBUG:   size: 1024
2013-05-02 19:00:03 [26487] [8] DEBUG:   immutable: 0
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 47 45 54 20 2f 64 6c 72 2e 70 68 
70 20 48 54 54   GET /dlr.php HTT
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 50 2f 31 2e 31 0d 0a 48 6f 73 74 
3a 20 6c 6f 63   P/1.1..Host: loc
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 61 6c 68 6f 73 74 0d 0a 43 6f 6e 
6e 65 63 74 69   alhost..Connecti
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 6f 6e 3a 20 6b 65 65 70 2d 61 6c 
69 76 65 0d 0a   on: keep-alive..
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 55 73 65 72 2d 41 67 65 6e 74 3a 
20 4b 61 6e 6e   User-Agent: Kann
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 65 6c 2f 73 76 6e 2d 72 35 30 31 
34 0d 0a 0d 0a   el/svn-r5014
2013-05-02 19:00:03 [26487] [8] DEBUG: Octet string dump ends.
2013-05-02 19:00:03 [26487] [8] DEBUG: HTTP: Status line: HTTP/1.1 200 OK
2013-05-02 19:00:03 [26487] [8] DEBUG: HTTP: Received response:
2013-05-02 19:00:03 [26487] [8] DEBUG: Octet string at 0x121f76d0:
2013-05-02 19:00:03 [26487] [8] DEBUG:   len:  173
2013-05-02 19:00:03 [26487] [8] DEBUG:   size: 1024
2013-05-02 19:00:03 [26487] [8] DEBUG:   immutable: 0
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 44 61 74 65 3a 20 54 68 75 2c 20 
30 32 20 4d 61   Date: Thu, 02 Ma
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 79 20 32 30 31 33 20 31 38 3a 30 
30 3a 30 33 20   y 2013 18:00:03
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 47 4d 54 0d 0a 53 65 72 76 65 72 
3a 20 41 70 61   GMT..Server: Apa
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 63 68 65 2f 32 2e 32 2e 33 20 28 
43 65 6e 74 4f   che/2.2.3 (CentO
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 53 29 0d 0a 58 2d 50 6f 77 65 72 
65 64 2d 42 79   S)..X-Powered-By
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 3a 20 50 48 50 2f 35 2e 31 2e 36 
0d 0a 43 6f 6e   : PHP/5.1.6..Con
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 74 65 6e 74 2d 4c 65 6e 67 74 68 
3a 20 30 0d 0a   tent-Length: 0..
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 43 6f 6e 6e 65 63 74 69 6f 6e 3a 
20 63 6c 6f 73   Connection: clos
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 65 0d 0a 43 6f 6e 74 65 6e 74 2d 
54 79 70 65 3a   e..Content-Type:
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 20 74 65 78 74 2f 68 74 6d 6c 3b 
20 63 68 61 72    text/html; char
2013-05-02 19:00:03 [26487] [8] DEBUG:   data: 73 65 74 3d 55 54 46 2d 38 0d 0a 
0d 0a            set=UTF-8
2013-05-02 19:00:03 [26487] [8] DEBUG: Octet string dump ends.
2013-05-02 19:00:03 [26487] [5] PANIC: /usr/local/sbin/smsbox [0x44a8cf]
2013-05-02 19:00:03 [26487] [5] PANIC: /lib64/libpthread.so.0 [0x399f20eb70]
2013-05-02 19:00:03 [26487] [5] PANIC: 
/usr/local/sbin/smsbox(urltrans_accept_x_kannel_headers+0) [0x41cf30]
2013-05-02 19:00:03 [26487] [5] PANIC: /usr/local/sbin/smsbox [0x4157d3]
2013-05-02 19:00:03 [26487] [5] PANIC: /usr/local/sbin/smsbox [0x436313]
2013-05-02 19:00:03 [26487] [5] PANIC: /lib64/libpthread.so.0 [0x399f20673d]
2013-05-02 19:00:03 [26487] [5] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x399ead44bd]


Regards,
Michael


 From: Stipe Tolj st...@kannel.org
To: users@kannel.org 
Sent: Thursday, March 14, 2013 12:15 AM
Subject: Re: SMSC moving away from SMPP
 

Am 11.03.2013 12:46, schrieb Milan P. Stanic:
 On Mon, 2013-03-11 

Issue with bearerbox

2013-02-07 Thread michael osakede
Hi,

I have setup an sms service


group = sms-service
keyword = default
get-url = http://localhost/insms/insms.php?sender=%ptext=%bto=%P;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true
catch-all = true
accepted-smsc = xxx;xxx1;xxx2;xxx3
omit-empty = true

and corresponding SMPP connction with smsc-ids.

I noticed that only about 40% of messages are routed to the sms service, any 
idea why this is a problem? and is there anyway to check and see what happened?


Michael


SMS-Service URL Decode-PHP

2013-02-07 Thread michael osakede
Hi,

Please can anyone help with a php code to decode email addresses.
please see sample

?sender=%2B2348051154967text=john%C2%A7best%C2%A1yahoo.com+to=33180
i want to convert text to john_b...@yahoo.com.

Right now i just endup with 
john??b...@yahoo.com (non-printable character)- from my mail log.


Any help is appreciated.

Michael

Re: SMS-Service URL Decode-PHP

2013-02-07 Thread michael osakede
thanks but that resulted in 
Test??mcv.Com, i sent t...@mcv.com.


any more ideas?



 From: Willy Mularto sangpr...@gmail.com
To: michael osakede ire...@yahoo.com 
Cc: kannel users@kannel.org users@kannel.org 
Sent: Thursday, February 7, 2013 2:08 PM
Subject: Re: SMS-Service URL Decode-PHP
 

Use url_decode($_GET['text']) 

SlyDroid
On Feb 7, 2013 8:05 PM, michael osakede ire...@yahoo.com wrote:

Hi,


Please can anyone help with a php code to decode email addresses.
please see sample


?sender=%2B2348051154967text=john%C2%A7best%C2%A1yahoo.com+to=33180
i want to convert text to john_b...@yahoo.com.


Right now i just endup with 
john??b...@yahoo.com (non-printable character)- from my mail log.



Any help is appreciated.


Michael

Sample Kannel Config

2013-02-07 Thread michael osakede
Hi,

I noticed that not all meessages coming into this smsc is forwarded to the 
sms-service, it is selective and i cannot figure out why.
can anyone tel me what am doing wrong in my config below
I want to do this
Receive SMS via SMPP=SMS-Service=SMPP=Subscriber

below is my smsc config
# SMSC SMPP
group = smsc
smsc-id = xlo3
smsc = smpp
host = 41.203.65.76
port = 2008
receive-port = 2008
smsc-username = XX
smsc-password = XX@
system-type =
system-id = XXX
connect-allow-ip = *.*.*.*
keepalive = 50
address-range =
allowed-smsc-id = xlo;xlo1;xlo2;xlo3
transceiver-mode = true
msg-id-type =  0x00
bind-addr-ton = 1
bind-addr-npi = 1
log-level=0


my sms service
group = sms-service
keyword = default
get-url = http://localhost/insms/insms.php?sender=%ptext=%bto=%P;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true
catch-all = true
accepted-smsc = xlo;xlo1;xlo2;xlo3
omit-empty = true

Regards,
Michael


OpenSMPP Manual

2013-02-04 Thread michael osakede
Hi,

Can any one point me in the direction of a good opensmpp documentation with 
sample config files?

Michael

Re: OpenSMPP Manual

2013-02-04 Thread michael osakede
Hi,

I was able to achieve the installation.
How can i setup a config file to do the following:


1. Subscriber  = Bearerbox(IP A) = OpenSMPPbox(IP A) = Bearerbox(IP B)
2. Bearerbox(IP B) = OpenSMPPbox(IP A) = Bearerbox(IP A)=Subscriber

Regards,
Michael



 From: spameden spame...@gmail.com
To: michael osakede ire...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, February 4, 2013 6:29 PM
Subject: Re: OpenSMPP Manual
 
You can build documentation from SVN repository at svn.kannel.org
config examples as well :)

2013/2/4 michael osakede ire...@yahoo.com:
 Hi,

 Can any one point me in the direction of a good opensmpp documentation with
 sample config files?

 Michael

Kannel Make Error

2013-01-28 Thread michael osakede
hi all,

am runing centos 6.
when i try to make my kannel installation i get this error

[root@localhost trunk]# make
Makefile:338: .depend: No such file or directory
yacc -d -p ws_yy_ wmlscript/wsgram.y  mv y.tab.c wmlscript/wsgram.c
/bin/sh: yacc: command not found
make: *** [wmlscript/wsgram.c] Error 127

what do I do?

Michael


yacc -d -p ws_yy_ wmlscript

2013-01-28 Thread michael osakede
hi all,


am runing centos 6.
when i try to make my kannel installation i get this error

[root@localhost trunk]# make
Makefile:338: .depend: No such file or directory
yacc -d -p ws_yy_ wmlscript/wsgram.y  mv y.tab.c wmlscript/wsgram.c
/bin/sh: yacc: command not found
make: *** [wmlscript/wsgram.c] Error 127

what do I do?

Michael

Re: yacc -d -p ws_yy_ wmlscript

2013-01-28 Thread michael osakede
solved
was a dependency issue





 From: michael osakede ire...@yahoo.com
To: Stipe Tolj st...@kannel.org; Piotr Galecki 
piotr_gale...@affirmednetworks.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, January 28, 2013 3:26 PM
Subject: yacc -d -p ws_yy_ wmlscript
 

hi all,


am runing centos 6.
when i try to make my kannel installation i get this error

[root@localhost trunk]# make
Makefile:338: .depend: No such file or directory
yacc -d -p ws_yy_ wmlscript/wsgram.y  mv y.tab.c wmlscript/wsgram.c
/bin/sh: yacc: command not found
make: *** [wmlscript/wsgram.c] Error 127

what do I do?

Michael

Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi,

Can anyone point me in the direction of a script that can start/stop/restart 
bearerbox/smsbox/sqlbox?

Regards,
Michael

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi,

i get this :

Usage: ./run_kannel_box [--pidfile PIDFILE] [--min-delay SECONDS] BOXPATH 
[boxoptions...]


from run_kannel_box.

how do I use this to start Bearerbox/smsbox/sqlbox?

Michael





 From: Milan P. Stanic m...@arvanta.net
To: users@kannel.org 
Sent: Saturday, January 12, 2013 4:11 PM
Subject: Re: Kannel Start/Stop Restart Script
 
On Sat, 2013-01-12 at 07:04, michael osakede wrote:
 Can anyone point me in the direction of a script that can start/stop/restart 
 bearerbox/smsbox/sqlbox?

Look in the utils directory of the source archive/file.

-- 
Kind regards,  Milan
--
Arvanta,        http://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi,

I tried to do this using php

?php 
$out=exec(nohup /usr/local/sbin/bearerbox /root/smskannel.conf );

echo $out; 

?

when i check the process
ps aux | grep box
the bearerbox process is not running, any idea what am doing wrong and how i 
can fix this?

Michael




 From: Sarfaraz Jamal s...@reachoutwireless.com
To: users@kannel.org 
Sent: Saturday, January 12, 2013 7:45 PM
Subject: RE: Kannel Start/Stop Restart Script
 
Here is a script we use for restarting kannel:

#!/bin/sh
clear
echo Restarting the process, please allow 15 seconds...
kill -9 $(/sbin/pidof smsbox)
kill -9 $(/sbin/pidof bearerbox)
cd /opt/gw
sleep 5
nohup ./bearerbox -v 1  bearerbox.log 
sleep 5
nohup ./smsbox -v 1  smsbox.log 
cd /root
clear
echo Restarted - Verify with web that both services are running.

Long Messages using httpsmsc

2013-01-12 Thread michael osakede
Hi,

bellow is my config for my httpsmsc, when i send more than 160 character the 
message gets delivered as 2 separate messages.
what do I add to the config to allow for concatenation or allow the message to 
deliver as one sms?

group = smsc
smsc = http
system-type = generic
port = 13015
send-url = http://nusms.nuobjects.com/?user=xxxpass=xxxto=%pfrom=%Pmsg=%b;
status-success-regex = sent
status-permfail-regex = failure
status-tempfail-regex = error
generic-foreign-id-regex = id(.+)/id
generic-param-from = phoneNumber
generic-param-to = shortCode
generic-message-sent = sent
generic-status-sent = 200
generic-status-error = 404
smsc-id=nuobjects

Regards,
Michael


SQLBOX + sqlbox multi-record queries

2013-01-02 Thread michael osakede
Hi,

Right now sqlbox processes one row at a time.

Can anyone help with a patch or code replacement for sqlbox_mysql.c that can 
help me push messages are 10-1000 messages per query?

i saw this link 
http://www.magicom-bcn.net/kannel/sqlbox-standalone-multi-20080227.patch
but no luck implementing this.

Any help welcomed.

Michael

Re: SQLBOX + sqlbox multi-record queries

2013-01-02 Thread michael osakede
Hi,

What i need is a step by step to apply this patch.
What command do i use, from which directory?

A step by step guide for CentOS will be nice

Michael



 From: spameden spame...@gmail.com
To: michael osakede ire...@yahoo.com 
Cc: users@kannel.org users@kannel.org; Stipe Tolj st...@kannel.org 
Sent: Wednesday, January 2, 2013 4:22 PM
Subject: Re: SQLBOX + sqlbox multi-record queries
 
I implemented this based on the link you gave, it's very easy to patch
against current SVN revision, if you will had problems let me know,
I'll post my patch.

2013/1/2 michael osakede ire...@yahoo.com:
 Hi,

 Right now sqlbox processes one row at a time.

 Can anyone help with a patch or code replacement for sqlbox_mysql.c that can
 help me push messages are 10-1000 messages per query?

 i saw this link
 http://www.magicom-bcn.net/kannel/sqlbox-standalone-multi-20080227.patch
 but no luck implementing this.

 Any help welcomed.

 Michael

*** glibc detected *** /usr/local/sbin/sqlbox: double free or corruption (!prev): 0x000000001a0a9a80 ***

2013-01-02 Thread michael osakede
-3fb7b33000 ---p 00133000 08:03 9011236                        
/usr/lib64/libxml2.so.2.6.26
3fb7b33000-3fb7b3c000 rw-p 00133000 08:03 9011236                        
/usr/lib64/libxml2.so.2.6.26
3fb7b3c000-3fb7b3d000 rw-p 3fb7b3c000 00:00 0 
2c00-2c03 rw-p 2c00 00:00 0 
2c03-2aaab000 ---p 2c03 00:00 0 
2ac508d5c000-2ac508d5f000 rw-p 2ac508d5c000 00:00 0 
2ac508d73000-2ac508fc7000 r-xp  08:03 6508645                    
/usr/lib64/mysql/libmysqlclient.so.18.0.0
2ac508fc7000-2ac5091c6000 ---p 00254000 08:03 6508645                    
/usr/lib64/mysql/libmysqlclient.so.18.0.0
2ac5091c6000-2ac509247000 rw-p 00253000 08:03 6508645                    
/usr/lib64/mysql/libmysqlclient.so.18.0.0
2ac509247000-2ac509255000 rw-p 2ac509247000 00:00 0 
2ac509255000-2ac50925f000 r-xp  08:03 1261680                    
/lib64/libnss_files-2.5.so
2ac50925f000-2ac50945e000 ---p a000 08:03 1261680                    
/lib64/libnss_files-2.5.so
2ac50945e000-2ac50945f000 r--p 9000 08:03 1261680                    
/lib64/libnss_files-2.5.so
2ac50945f000-2ac50946 rw-p a000 08:03 1261680                    
/lib64/libnss_files-2.5.so
7fff837cd000-7fff837e2000 rw-p 7ffe9000 00:00 0                      [stack]
7fff837fd000-7fff8380 r-xp 7fff837fd000 00:00 0                      [vdso]
ff60-ffe0 ---p  00:00 0                  
[vsyscall]
Aborted
//



 From: spameden spame...@gmail.com
To: michael osakede ire...@yahoo.com 
Cc: users@kannel.org users@kannel.org; Stipe Tolj st...@kannel.org 
Sent: Wednesday, January 2, 2013 4:29 PM
Subject: Re: SQLBOX + sqlbox multi-record queries
 
You need to modify specific files mentioned in this patch.

read this - http://en.wikipedia.org/wiki/Diff#Unified_format

Just read .patch file and do step-by-step editing relevant lines of
the corresponding files.

i.e.

diff -rbu sqlbox-standalone/gw/sqlbox.c sqlbox-standalone-ajg-1.0/gw/sqlbox.c
--- sqlbox-standalone/gw/sqlbox.c    2007-10-05 13:54:02.0 -0300
+++ sqlbox-standalone-ajg-1.0/gw/sqlbox.c    2008-02-27 19:35:23.0 -0200
@@ -86,6 +86,7 @@
static Octstr *box_allow_ip;
static Octstr *box_deny_ip;
static Octstr *global_sender;
+static long limit_per_cycle;

#ifndef HAVE_MYSQL
#ifndef HAVE_PGSQL

means you need to open gw/sqlbox.c, find lines around 86 and add
static long limit_per_cycle;
2013/1/2 michael osakede ire...@yahoo.com:

 Hi,

 What i need is a step by step to apply this patch.
 What command do i use, from which directory?

 A step by step guide for CentOS will be nice

 Michael

 
 From: spameden spame...@gmail.com
 To: michael osakede ire...@yahoo.com
 Cc: users@kannel.org users@kannel.org; Stipe Tolj st...@kannel.org
 Sent: Wednesday, January 2, 2013 4:22 PM
 Subject: Re: SQLBOX + sqlbox multi-record queries

 I implemented this based
 on the link you gave, it's very easy to patch
 against current SVN revision, if you will had problems let me know,
 I'll post my patch.

 2013/1/2 michael osakede ire...@yahoo.com:
 Hi,

 Right now sqlbox processes one row at a time.

 Can anyone help with a patch or code replacement for sqlbox_mysql.c that
 can
 help me push messages are 10-1000 messages per query?

 i saw this link
 http://www.magicom-bcn.net/kannel/sqlbox-standalone-multi-20080227.patch
 but no luck implementing this.

 Any help welcomed.

 Michael



Multi-Part SMS

2012-01-18 Thread michael osakede
Hi,

What do i need to add to my kannel config to enable me deliver multi-par sms ie 
400chars message as one message and not split message?
I am sending the messages via SQLBOX
SQLBOX -- BEARERBOX

My config
group = smsc
smsc = smpp
smsc-id = xxxsms
host = XX
port = 2345
receive-port = 2345
msg-id-type=0x01
smsc-username = x
smsc-password = xx
system-type = NULL
dest-addr-ton = 1
bind-addr-ton = 0

bind-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
source-addr-ton = 5
source-addr-npi = 1
enquire-link-interval = 60
interface-version = 34
reconnect-delay = 30
allowed-smsc-id = xxxsms

Thanks.
Michael

Re: Multi-Part SMS

2012-01-18 Thread michael osakede
Hi,

Added this to sendsms-user
It does not solve this, do you have a config that works for multi-part sms?

Thanks


 From: Nicolas de Bari Embriz Garcia Rojas nb...@backup.sh
To: michael osakede ire...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Wednesday, January 18, 2012 2:01 PM
Subject: Re: Multi-Part SMS
 
Hi, give a try to:

max-messages = 10
concatenation = true

On Wed, Jan 18, 2012 at 12:44 PM, michael osakede ire...@yahoo.com wrote:
 Hi,

 What do i need to add to my kannel config to enable me deliver multi-par sms
 ie 400chars message as one message and not split message?
 I am sending the messages via SQLBOX
 SQLBOX -- BEARERBOX

 My config
 group = smsc
 smsc = smpp
 smsc-id = xxxsms
 host = XX
 port = 2345
 receive-port = 2345
 msg-id-type=0x01
 smsc-username = x
 smsc-password = xx
 system-type = NULL
 dest-addr-ton = 1
 bind-addr-ton = 0
 bind-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 source-addr-ton = 5
 source-addr-npi = 1
 enquire-link-interval = 60
 interface-version = 34
 reconnect-delay = 30
 allowed-smsc-id = xxxsms

 Thanks.
 Michael




Re: Multi-Part SMS

2012-01-18 Thread michael osakede
 [34663] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2012-01-18 15:42:32 [34663] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2012-01-18 15:42:32 [34663] [6] DEBUG:   destination_addr: 2348098009386
2012-01-18 15:42:32 [34663] [6] DEBUG:   esm_class: 67 = 0x0043
2012-01-18 15:42:32 [34663] [6] DEBUG:   protocol_id: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   priority_flag: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   schedule_delivery_time: NULL
2012-01-18 15:42:32 [34663] [6] DEBUG:   validity_period: NULL
2012-01-18 15:42:32 [34663] [6] DEBUG:   registered_delivery: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   replace_if_present_flag: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   data_coding: 4 = 0x0004
2012-01-18 15:42:32 [34663] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   sm_length: 158 = 0x009e
2012-01-18 15:42:32 [34663] [6] DEBUG:   short_message:
2012-01-18 15:42:32 [34663] [6] DEBUG:    Octet string at 0x2c001d30:
2012-01-18 15:42:32 [34663] [6] DEBUG:      len:  158
2012-01-18 15:42:32 [34663] [6] DEBUG:      size: 1024
2012-01-18 15:42:32 [34663] [6] DEBUG:      immutable: 0
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 05 00 03 00 02 02 63 61 74 69 
6f 6e 2c 20 45 78   ..cation, Ex
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 70 6f 73 75 72 65 20 61 6e 64 
20 45 78 70 65 72   posure and Exper
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 69 65 6e 63 65 2e 20 59 6f 75 
72 20 73 75 70 70   ience. Your supp
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 6f 72 74 20 66 6f 72 20 6d 65 
20 63 61 6e 20 6f   ort for me can o
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 6e 6c 79 20 67 69 76 65 20 75 
73 20 77 68 61 74   nly give us what
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 20 79 6f 75 20 77 69 73 68 20 
66 6f 72 20 74 68    you wish for th
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 65 20 70 61 72 74 79 2e 20 44 
52 2e 20 41 59 4f   e party. DR. AYO
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 20 4f 4c 41 49 59 41 20 66 6f 
72 20 70 6f 73 69    OLAIYA for posi
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 74 69 6f 6e 20 6f 66 20 50 44 
50 20 53 74 61 74   tion of PDP Stat
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 65 20 43 68 61 69 72 6d 61 6e 
73 68 69 70         e Chairmanship
2012-01-18 15:42:32 [34663] [6] DEBUG:    Octet string dump ends.
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP PDU dump ends.
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: throughput (2.00,0.00)
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: throughput (2.00,0.00)
2012-01-18 15:42:33 [34663] [6] DEBUG: SMPP[kcmsms]: throughput (0.00,0.00)
2012-01-18 15:42:33 [34663] [6] DEBUG: SMPP[kcmsms]: Got PDU:
2012-01-18 15:42:33 [34663] [6] DEBUG: SMPP PDU 0x2c002a00 dump:
2012-01-18 15:42:33 [34663] [6] DEBUG:   type_name: submit_sm_resp
2012-01-18 15:42:33 [34663] [6] DEBUG:   command_id: 2147483652 = 0x8004
2012-01-18 15:42:33 [34663] [6] DEBUG:   command_status: 0 = 0x

Any help is welcome, or sample kannel config for multi-part sms using 
SQLBOX-BEARERBOX

Thanks



 From: Mohammed Saleem mohammedsl...@gmail.com
To: michael osakede ire...@yahoo.com 
Cc: Nicolas de Bari Embriz Garcia Rojas nb...@backup.sh; users@kannel.org 
users@kannel.org 
Sent: Wednesday, January 18, 2012 3:20 PM
Subject: Re: Multi-Part SMS
 

Hello

I don't use sqlbox, but I set the following in the core group to enable 
receiving concatenated Mo messages 

sms-combine-concatenated-mo=true
sms-combine-concatenated-mo-timeout=1800

Give it a try hope it helps

BR
Sleem



On Wed, Jan 18, 2012 at 3:55 PM, michael osakede ire...@yahoo.com wrote:

Hi,


Added this to sendsms-user
It does not solve this, do you have a config that works for multi-part sms?


Thanks



From: Nicolas de Bari Embriz Garcia Rojas nb...@backup.sh
To: michael osakede ire...@yahoo.com 
Cc: users@kannel.org users@kannel.org 
Sent: Wednesday, January 18, 2012 2:01 PM
Subject: Re: Multi-Part SMS


Hi, give a try to:

max-messages = 10
concatenation = true

On Wed, Jan 18, 2012 at 12:44 PM, michael osakede ire...@yahoo.com wrote:
 Hi,

 What do i need to add to my kannel config to enable me deliver multi-par sms
 ie 400chars message as one message and not split message?
 I am sending the messages via SQLBOX
 SQLBOX -- BEARERBOX

 My config
 group = smsc
 smsc = smpp
 smsc-id = xxxsms
 host = XX
 port = 2345
 receive-port = 2345
 msg-id-type=0x01
 smsc-username = x
 smsc-password = xx
 system-type = NULL
 dest-addr-ton = 1
 bind-addr-ton = 0
 bind-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 source-addr-ton = 5
 source-addr-npi = 1

 enquire-link-interval = 60
 interface-version = 34
 reconnect-delay = 30
 allowed-smsc-id = xxxsms

 Thanks.
 Michael







Re: Multi-Part SMS

2012-01-18 Thread michael osakede
Hi All,
Found the solution here
Hello,
The problem is due to the character set. When you insert the record in the 
send_sms table, try assigning 0 to the coding column of the table.

Regards,
Perumaal.K
http://old.nabble.com/unable-to-send-long-message-by-SQLBOX-td30094372.html 


Thanks Alot.


 From: michael osakede ire...@yahoo.com
To: Mohammed Saleem mohammedsl...@gmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Wednesday, January 18, 2012 3:47 PM
Subject: Re: Multi-Part SMS
 

Hi,

Thanks but that did not solve the problem

Access Log
2012-01-18 15:42:33 Sent SMS [SMSC:xxxsms] [SVC:171] [ACT:2012-01-18 15:42:30] 
[BINF:] [FID:720184552] [META:] [from:DR] [to:2348098009386] 
[flags:-1:-1:-1:-1:19] [msg:305:xx] [udh:0:]


Kannel Log
boxc_receiver: sms received
2012-01-18 15:42:32 [34663] [14] DEBUG: new split_parts created 0x1cd6e010
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: throughput (0.00,0.00)
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: Manually forced source 
addr ton = 5, source add npi = 1
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: Manually forced dest addr 
ton = 1, dest add npi = 1
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: Sending PDU:
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP PDU 0x2c002a00 dump:
2012-01-18 15:42:32 [34663] [6] DEBUG:   type_name: submit_sm
2012-01-18 15:42:32 [34663] [6] DEBUG:   command_id: 4 = 0x0004
2012-01-18 15:42:32 [34663] [6] DEBUG:   command_status: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   sequence_number: 3 = 0x0003
2012-01-18 15:42:32 [34663] [6] DEBUG:   service_type: NULL
2012-01-18 15:42:32 [34663] [6] DEBUG:   source_addr_ton: 5 = 0x0005
2012-01-18 15:42:32 [34663] [6] DEBUG:   source_addr_npi: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   source_addr: DR
2012-01-18 15:42:32 [34663] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2012-01-18 15:42:32 [34663] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2012-01-18 15:42:32 [34663] [6] DEBUG:   destination_addr: 2348098009386
2012-01-18 15:42:32 [34663] [6] DEBUG:   esm_class: 67 = 0x0043
2012-01-18 15:42:32 [34663] [6] DEBUG:   protocol_id: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   priority_flag: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   schedule_delivery_time: NULL
2012-01-18 15:42:32 [34663] [6] DEBUG:   validity_period: NULL
2012-01-18 15:42:32 [34663] [6] DEBUG:   registered_delivery: 1 = 0x0001
2012-01-18 15:42:32 [34663] [6] DEBUG:   replace_if_present_flag: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   data_coding: 4 = 0x0004
2012-01-18 15:42:32 [34663] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2012-01-18 15:42:32 [34663] [6] DEBUG:   sm_length: 159 = 0x009f
2012-01-18 15:42:32 [34663] [6] DEBUG:   short_message:
2012-01-18 15:42:32 [34663] [6] DEBUG:    Octet string at 0x2c001700:
2012-01-18 15:42:32 [34663] [6] DEBUG:      len:  159
2012-01-18 15:42:32 [34663] [6] DEBUG:      size: 1024
2012-01-18 15:42:32 [34663] [6] DEBUG:      immutable: 0
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 05 00 03 00 02 01 4d 79 20 64 
65 61 72 20 4c 65   ..My dear Le
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 61 64 65 72 73 2c 2e 2e 50 6c 
65 61 73 65 20 73   aders,..Please s
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 75 70 70 6f 72 74 20 6d 79 20 
76 69 73 69 6f 6e   upport my vision
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 20 61 6e 64 20 6d 69 73 73 69 
6f 6e 20 74 6f 20    and mission to
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 6d 6f 76 65 20 6f 75 72 20 70 
61 72 74 79 20 74   move our party t
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 6f 20 74 68 65 20 6e 65 78 74 
20 6c 65 76 65 6c   o the next level
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 20 6f 66 20 77 69 6e 6e 69 6e 
67 20 65 6c 65 63    of winning elec
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 74 69 6f 6e 73 2e 20 57 65 20 
6e 65 65 64 20 61   tions. We need a
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 20 63 61 70 61 62 6c 65 20 43 
68 61 69 72 6d 61    capable Chairma
2012-01-18 15:42:32 [34663] [6] DEBUG:      data: 6e 20 77 69 74 68 20 67 6f 6f 
64 20 45 64 75      n with good Edu
2012-01-18 15:42:32 [34663] [6] DEBUG:    Octet string dump ends.
2012-01-18 15:42:32 [34663] [6] DEBUG:   more_messages_to_send: 1 = 0x0001
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP PDU dump ends.
2012-01-18 15:42:32 [34663] [14] DEBUG: send_msg: sending msg to boxc: sqlbox
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: throughput (1.00,0.00)
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: Manually forced source 
addr ton = 5, source add npi = 1
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: Manually forced dest addr 
ton = 1, dest add npi = 1
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP[kcmsms]: Sending PDU:
2012-01-18 15:42:32 [34663] [6] DEBUG: SMPP PDU 0x2c002a00 dump:
2012-01-18 15:42:32 [34663] [6

Multi Page Delivery - Please help

2011-12-24 Thread michael osakede
Hi,

below is my kannel config, when i send a 3 part message it is delivered in 3 
separate messages,instead of one message with 3 pages. what do i add to my 
config to enable all the message parts to be packaged as one message?
I amusing SQLBOX with my Kannel

group = smsc
smsc = fake
smsc-id = FAKE
port = 2
group = smsc
smsc = smpp
smsc-id = x
host = smsplus1.routesms.com
port = 2345
receive-port = 2345
msg-id-type=0x01
smsc-username = xx
smsc-password = xx
system-type = NULL
dest-addr-ton = 1
address-range =
bind-addr-ton = 0
bind-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
source-addr-ton = 5
source-addr-npi = 1
enquire-link-interval = 60
interface-version = 34
reconnect-delay = 30
allowed-smsc-id = xx

XML Payload Sending

2011-09-08 Thread michael osakede
Hi,

I want to send the xml file below to kannel 

SMS
message
senderMichael/sender
texttestmessage/text
/message
recipients
gsm id=123480/gsm
gsm id=123480/gsm

gsm id=123480/gsm

gsm id=123480/gsm

gsm id=123480/gsm

gsm id=123480/gsm

..
/recipients
/SMS

Is this possible?
How can i post this to kannel?

Regards,
Michael

Sending SMS using kannel

2011-09-08 Thread michael osakede
Hi,



I want to send the xml file below to kannel 

SMS
message
senderMichael/sender
texttestmessage/text
/message
recipients
gsm id=123480/gsm
gsm id=123480/gsm

gsm id=123480/gsm

gsm id=123480/gsm

gsm id=123480/gsm

gsm id=123480/gsm

..
/recipients
/SMS

Is this possible?
How can i post this to kannel?

Regards,
Michael

kannel dlr issue -- ts mismatch

2011-06-16 Thread michael osakede
Hi,
Please can someone help look and this log extract and tell me what i might be 
doing wrong?
Note that when inserting the ts it is 4294967295, but then looking for the 
dlr it is 2310423734. for all other messages sent the ts  in access.log never 
changes from 4294967295.
2011-06-16 08:52:19 [24251] [7] DEBUG: DLR[mysql]: Adding DLR smsc=smsc1, 
ts=4294967295, src=textest, dst=2347061140114, mask=31, boxc=smsbox2011-06-16 
08:52:19 [24251] [7] DEBUG: sql: INSERT INTO `dlr` (`smsc`, `ts`, `source`, 
`destination`, `service`, `url`, `mask`, `boxc`, `status`) VALUES (?, ?, ?, ?, 
?, ?, ?, ?, 0)2011-06-16 08:52:28 [24251] [8] DEBUG: DLR[mysql]: Looking for 
DLR smsc=smsc1, ts=2310423734, dst=2347061140114, type=12011-06-16 08:52:28 
[24251] [8] DEBUG: sql: SELECT `mask`, `service`, `url`, `source`, 
`destination`, `boxc` FROM `dlr` WHERE `smsc`=? AND `ts`=?  LIMIT 12011-06-16 
08:52:28 [24251] [8] WARNING: DLR[mysql]: DLR from SMSCsmsc1 for 
DST2347061140114 not found.
access.log2011-06-16 08:52:19 send-SMS request added - sender:tester:textest 
127.0.0.1 target:2347061140114 request: 'Hello world'2011-06-16 08:52:19 Sent 
SMS [SMSC:smsc1] [SVC:tester] [ACT:] [BINF:] [FID:4294967295] [META:] 
[from:textest] [to:2347061140114] [flags:-1:0:-1:-1:31] [msg:11:Hello world] 
[udh:0:]2011-06-16 08:52:19 Receive DLR [SMSC:smsc1] [SVC:tester] [ACT:] 
[BINF:] [FID:4294967295] [META:] [from:textest] [to:2347061140114] 
[flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
send sms urllynx 
http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=2347061140114text=Hello+worldfrom=aratextestsmsc-id=infobipdlr-mask=31msgid=55441
Any help would be appreciated.
Regards,Michael




Re: Kannel and SS7

2011-05-05 Thread michael osakede
Hi Stipes,
Thanks for this, are there any commercial or open source bearerbox module for 
this?please assist with links for creating custom bearerbox modules.
thanksMichael

--- On Thu, 5/5/11, Stipe Tolj s...@tolj.org wrote:

From: Stipe Tolj s...@tolj.org
Subject: Re: Kannel and SS7
To: 
Cc: users@kannel.org users@kannel.org
Date: Thursday, May 5, 2011, 12:24 PM

Am 04.05.2011 20:59, schrieb Juan Nin:
 No, it can't

well, don't want to foul Juan hard here ;) but yes, it could.

There are SS7 gateways that allow you to interface to it via SMPP v3.4. So 
Kannel can send SMPP PDUs to the SS7 gateway, which acts hence as as SMPP 
server on the one side, and inter-connects as own point code machine in the 
signaling network, performing the signal point resolution of the destination 
MSISDN and signaling the message to the phone.

So the answer is: yes, if the signaling gateway acts as SMPP server on the IP 
based side.

If not, then you need to develop a bearerbox module that talks the interface 
API of the signaling gateway to interact with it, which IS of course possible.

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



Kannel and SS7

2011-05-04 Thread michael osakede
Hi All,
Can kannel be used with an SS7 gateway as against the regular SMPP servers?
Please any help is welcome
Regards,Michael

Kannel Throughput

2011-01-05 Thread michael osakede
Hi All,

Please view the details from my kannel admin url:

Status: running, uptime 0d 15h 3m 56s

   WDP: received 0 (0 queued), sent 0 (0 queued)

   SMS: received 0 (2 queued), sent 58553 (0 queued), store size 2
   SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (3.99,2.04,1.08) msg/sec

   DLR: received 72167, sent 0
   DLR: inbound (4.10,4.88,1.33) msg/sec, outbound (0.00,0.00,0.00) msg/sec
   DLR: 1324495 queued, using mysql storage

I am sending out over 5 SMSC connections, how do I tell my total throughout 
from the page above?
Is throughput determined by the provider or my kannel config?

Regards,
Michael



  

SMPPBOX Too many login attempts help

2011-01-01 Thread michael osakede
Hi,

I get the error from my SMPPBOX

2011-01-01 17:58:00.398 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54985' refused. Too many login attempts.
2011-01-01 17:58:00.398 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54986' to `*:2775'.
2011-01-01 17:58:00.398 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54986' refused. Too many login attempts.
2011-01-01 17:58:00.398 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54987' to `*:2775'.
2011-01-01 17:58:00.398 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54987' refused. Too many login attempts.
2011-01-01 17:58:00.399 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54988' to `*:2775'.
2011-01-01 17:58:00.399 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54988' refused. Too many login attempts.
2011-01-01 17:58:00.400 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54989' to `*:2775'.
2011-01-01 17:58:00.400 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54989' refused. Too many login attempts.
2011-01-01 17:58:00.403 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54990' to `*:2775'.
2011-01-01 17:58:00.404 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54990' refused. Too many login attempts.
2011-01-01 17:58:00.404 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54991' to `*:2775'.
2011-01-01 17:58:00.404 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54991' refused. Too many login attempts.
2011-01-01 17:58:00.406 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54992' to `*:2775'.
2011-01-01 17:58:00.406 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54992' refused. Too many login attempts.
2011-01-01 17:58:00.406 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54993' to `*:2775'.
2011-01-01 17:58:00.406 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54993' refused. Too many login attempts.
2011-01-01 17:58:00.407 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54994' to `*:2775'.
2011-01-01 17:58:00.407 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54994' refused. Too many login attempts.
2011-01-01 17:58:00.407 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54995' to `*:2775'.
2011-01-01 17:58:00.407 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54995' refused. Too many login attempts.
2011-01-01 17:58:00.407 [3072] [3] DEBUG: Got new socket connection from IP 
`94.229.73.54:54996' to `*:2775'.
2011-01-01 17:58:00.407 [3072] [3] WARNING: Client connection from IP 
`94.229.73.54:54996' refused. Too many login attempts.


Because is of this the client cannot send messages smothly, the connection 
breaks every other minute, the client SMPP App is EMG with KEEPALIVE=60 and 
IDLETIMEOUT=90.

Please what could the client be doing wrong?

Michael



  

Credit Limit

2010-12-23 Thread michael osakede
Hi Users,

How can I set an SMSC Config ie:

I want this 
smsc to send 1000 messages only, the idea is I can only send 1000 
messages on this SMSC and nothing more, so once the credit is exhusted I
 want to route to another provider.

group = smsc
smsc-id=mike
smsc = smpp
host = xx.xx.xx.xx
port = 
receive-port = 
smsc-username = 
smsc-password = 
system-type = smpp
dest-addr-ton = 1
address-range =
bind-addr-ton = 0
bind-addr-npi = 1
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1




Michael


  

Fail over

2010-12-23 Thread michael osakede
Hi,

I have 2 SMSC configurations and I an sending to each smsc using the smsc-id, I 
have allowed both smsc-id in both smsc configs so something like this:

group = smsc
smsc-id=smsc1
smsc = smpp
host = xxx
port = xx
smsc-username = 
smsc-password = xx
system-type = smpp
allowed-smsc-id = smsc1,smsc2

group = smsc

smsc-id=smsc2

smsc = smpp

host = xxx

port = xx

smsc-username = 

smsc-password = xx

system-type = smpp

allowed-smsc-id = smsc1,smsc2



If i run out of credit in smsc2 would the messages automatically be routed to 
smsc1 as I have allowed smsc2 on smsc1?

If not how can i achieve this, I am worried about what happens when i run out 
of credit on one smsc.I want to be able to route messages to an smsc where I 
have credits.

Regards,
Michael




  

SMSC Fail over

2010-12-23 Thread michael osakede

Hi,

I have 2 SMSC configurations and I an sending to each smsc using the smsc-id, I 
have allowed both smsc-id in both smsc configs so something like this:

group = smsc
smsc-id=smsc1
smsc = smpp
host = xxx
port = xx
smsc-username = 
smsc-password = xx
system-type = smpp
allowed-smsc-id = smsc1,smsc2

group = smsc

smsc-id=smsc2

smsc = smpp

host = xxx

port = xx

smsc-username = 

smsc-password = xx

system-type = smpp

allowed-smsc-id = smsc1,smsc2



If i run out of credit in smsc2 would the messages automatically be routed to 
smsc1 as I have allowed smsc2 on smsc1?

If not how can i achieve this, I am worried about what happens when i run out 
of credit on one smsc.I want to be able to route messages to an smsc where I 
have credits.

Regards,
Michael