Re: Issue with handle UDH Data

2017-02-14 Thread Web Services
hi,

can anyone help me on this

thanks

On Mon, Feb 13, 2017 at 7:00 PM, Web Services  wrote:

> Hi,
>
> am using kannel with sqlbox am having issue with udh data in long sms
> (more then 160 character)
>
> is anyone have idea how to handle udh data because when i send hug message
> ie more then 1000sms on different numbers most of udh found same am unable
> to update dlr
>
> also i receive only first message report from smsc and kannel not ask smsc
> to send other sms parts reports
>
> is anyone help me out to resolve this issue
>
> thanks
>
> Deepak
>


Re: R: Using my phone and Kannel to send SMS

2017-02-14 Thread Alvaro Cornejo
Hi

You can use vwdial to detect your modem and it will even give you an
initialization string to start with.

run "wvdialconf" and check what does it said about your ports

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

2017-02-14 4:40 GMT-05:00 info.ubichip :

> Hello,
>
>
>
> perhaps, the first step is not to start kannel, but only try to make a
> connect to your tty then, try to make 'ATZ', and then see the answer from
> the modem.
>
> If there is no answer, it looks to be an speed connection modem setup
> issue, then try another speed, and so on.
>
>
>
> BR
>
>
>
> *De :* users [mailto:users-boun...@kannel.org] *De la part de*
> umbertofilippo
> *Envoyé :* lundi 13 février 2017 22:46
> *À :* users@kannel.org
> *Objet :* Re: R: Using my phone and Kannel to send SMS
>
>
>
> I finally managed to recognize which tty my phone is assigned (tty9).
>
> But now I ma having permission issues. I read from the user guide "In
> Ubuntu linux you just need to assign kannel user to group "dial"", but I
> don't know what that means...
>
> So I tried the discouraged way just for testing: the initialization with
> sudo.
>
> I am still having issues. I am receiving:
>
> "ERROR: AT2[/dev/tty9]: Wrong or no answer to ATZ"
>
> "INFO: AT2[/dev/tty9]: Closing device"
>
> "ERROR: AT2[/dev/tty9]: Couldn't connect"
>
> Is it something related to the speed (at the moment it is set to 9600)?
>
> Thanks in advance for any help.
>
>
>
>
>
> On 13/02/2017 08:02, umbertofilippo wrote:
>
> Forgot to say that I plugged my phone via USB cable and it was recognized
> properly by my system. I am on Ubuntu 16.04.
> --
>
> *Da: *umbertofilippo 
> *Inviato: *‎12/‎02/‎2017 20:03
> *A: *users@kannel.org
> *Oggetto: *Using my phone and Kannel to send SMS
>
> Hi,
>
> I am trying to use my Nokia Lumia 625 to send SMS using Kannel.
>
> I followed the tutorial, and I am using the 'smskannel.conf' combined with
> the 'modems.conf' to get it work, but I need some help.
>
> I am encountering difficulties, since I don't know what is the actual
> value of the variable 'device' in my configuration. So, when I start the
> bearerbox, it panics as expected. Below is a piece of my configuration
> file, and the output of bearerbox.
>
> The /dev/ttyACM was just a guess, but it is not working. I tried the doing
> "grep tty /var/log/messages" from terminal but it seems I have no such
> file/folder.
>
> I also tried "dmesg | grep tty" and it only gives "[0.00] console
> [tty0] enabled".
>
> # CORE
>
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = bar
> box-deny-ip = "*.*.*.*"
>
>
>
> # SMSC CONNECTIONS
>
>
>
> group = smsc
> smsc = at
> modemtype = auto
> *device = /dev/ttyACM*
> speed = 9600
> sms-center = [HIDDEN :)]
>
> BEARERBOX OUTPUT AFTER "bearerbox -v 1 /home/umberto/Documents/call_
> my_dog/kannel_conf/smsphone.conf"
>
>
>
> 2017-02-12 20:00:54 [5400] [0] INFO: Debug_lvl = 1, log_file = ,
> log_lvl = 0
> 2017-02-12 20:00:54 [5400] [0] WARNING: DLR: using default 'internal' for
> storage type.
> 2017-02-12 20:00:54 [5400] [0] INFO: DLR using storage type: internal
> 2017-02-12 20:00:54 [5400] [0] INFO: HTTP: Opening server at port 13000.
> 2017-02-12 20:00:54 [5400] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2017-02-12 20:00:54 [5400] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2017-02-12 20:00:54 [5400] [0] INFO: SMS resend retry set to unlimited.
> 2017-02-12 20:00:54 [5400] [0] INFO: DLR rerouting for smsc id <(null)>
> disabled.
> 2017-02-12 20:00:54 [5400] [0] INFO: AT2[/dev/ttyACM]: configuration
> doesn't show modemtype. will autodetect
> 2017-02-12 20:00:54 [5400] [0] INFO: --
> --
> 2017-02-12 20:00:54 [5400] [6] INFO: AT2[/dev/ttyACM]: opening device
> 2017-02-12 20:00:54 [5400] [0] INFO: Kannel bearerbox II version 1.4.4
> starting
> 2017-02-12 20:00:54 [5400] [6] ERROR: AT2[/dev/ttyACM]: open failed!
> ERRNO=2
> 2017-02-12 20:00:54 [5400] [6] ERROR: System error 2: No such file or
> directory
> 2017-02-12 20:00:54 [5400] [6] ERROR: AT2[/dev/ttyACM]: Couldn't connect
> (retrying in 10 seconds).
>
>
>


Headers in onreply_route

2017-02-14 Thread Jim Page
Hi Everyone

I need to be able to read/write headers in a reply in an onreply_route, in my 
case Contact. $ct, $hdr(Contact) come back null. $HDR(Contact) 
succeeds but it’s not what I want. I can write headers ok using hf_append, but 
I can’t currently read the content of a header. Is there a trick I am missing?

Thanks
Jim



RE: R: Using my phone and Kannel to send SMS

2017-02-14 Thread info.ubichip
Hello,

 

perhaps, the first step is not to start kannel, but only try to make a connect 
to your tty then, try to make 'ATZ', and then see the answer from the modem. 

If there is no answer, it looks to be an speed connection modem setup issue, 
then try another speed, and so on.

 

BR

 

De : users [mailto:users-boun...@kannel.org] De la part de umbertofilippo
Envoyé : lundi 13 février 2017 22:46
À : users@kannel.org
Objet : Re: R: Using my phone and Kannel to send SMS

 

I finally managed to recognize which tty my phone is assigned (tty9).

But now I ma having permission issues. I read from the user guide "In Ubuntu 
linux you just need to assign kannel user to group "dial"", but I don't know 
what that means...

So I tried the discouraged way just for testing: the initialization with sudo.

I am still having issues. I am receiving:

"ERROR: AT2[/dev/tty9]: Wrong or no answer to ATZ"

"INFO: AT2[/dev/tty9]: Closing device"

"ERROR: AT2[/dev/tty9]: Couldn't connect"

Is it something related to the speed (at the moment it is set to 9600)?

Thanks in advance for any help.

 

 

On 13/02/2017 08:02, umbertofilippo wrote:

Forgot to say that I plugged my phone via USB cable and it was recognized 
properly by my system. I am on Ubuntu 16.04.

  _  

Da: umbertofilippo  
Inviato: ‎12/‎02/‎2017 20:03
A: users@kannel.org
Oggetto: Using my phone and Kannel to send SMS

Hi,

I am trying to use my Nokia Lumia 625 to send SMS using Kannel.

I followed the tutorial, and I am using the 'smskannel.conf' combined with the 
'modems.conf' to get it work, but I need some help.

I am encountering difficulties, since I don't know what is the actual value of 
the variable 'device' in my configuration. So, when I start the bearerbox, it 
panics as expected. Below is a piece of my configuration file, and the output 
of bearerbox.

The /dev/ttyACM was just a guess, but it is not working. I tried the doing 
"grep tty /var/log/messages" from terminal but it seems I have no such 
file/folder.

I also tried "dmesg | grep tty" and it only gives "[0.00] console 
[tty0] enabled".

# CORE

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
box-deny-ip = "*.*.*.*"

 

# SMSC CONNECTIONS

 

group = smsc
smsc = at
modemtype = auto
device = /dev/ttyACM
speed = 9600
sms-center = [HIDDEN :)]

BEARERBOX OUTPUT AFTER "bearerbox -v 1 
/home/umberto/Documents/call_my_dog/kannel_conf/smsphone.conf"

 

2017-02-12 20:00:54 [5400] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-12 20:00:54 [5400] [0] WARNING: DLR: using default 'internal' for 
storage type.
2017-02-12 20:00:54 [5400] [0] INFO: DLR using storage type: internal
2017-02-12 20:00:54 [5400] [0] INFO: HTTP: Opening server at port 13000.
2017-02-12 20:00:54 [5400] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).
2017-02-12 20:00:54 [5400] [0] INFO: Set SMS resend frequency to 60 seconds.
2017-02-12 20:00:54 [5400] [0] INFO: SMS resend retry set to unlimited.
2017-02-12 20:00:54 [5400] [0] INFO: DLR rerouting for smsc id <(null)> 
disabled.
2017-02-12 20:00:54 [5400] [0] INFO: AT2[/dev/ttyACM]: configuration doesn't 
show modemtype. will autodetect
2017-02-12 20:00:54 [5400] [0] INFO: 
2017-02-12 20:00:54 [5400] [6] INFO: AT2[/dev/ttyACM]: opening device
2017-02-12 20:00:54 [5400] [0] INFO: Kannel bearerbox II version 1.4.4 starting
2017-02-12 20:00:54 [5400] [6] ERROR: AT2[/dev/ttyACM]: open failed! ERRNO=2
2017-02-12 20:00:54 [5400] [6] ERROR: System error 2: No such file or directory
2017-02-12 20:00:54 [5400] [6] ERROR: AT2[/dev/ttyACM]: Couldn't connect 
(retrying in 10 seconds).

 



Re[2]: Issue with long sms sql-box

2017-02-14 Thread Rene Kluwen

I'm afraid not.

-- Origineel bericht --
Van: "Web Services" 
Aan: "Rene Kluwen" 
Cc: "kannel users@kannel.org" 
Verzonden: 13-2-2017 10:35:33
Onderwerp: Re: Issue with long sms sql-box


Hi,

thanks for your update

is their any way to got dlr every part of message ???

thanks

On Mon, Feb 13, 2017 at 2:24 PM, Rene Kluwen  
wrote:

This because of the way Kannel works.
Only one dlr entry per (long) sms is stored.

== Rene

-- Origineel bericht --
Van: "Web Services" 
Aan: "kannel users@kannel.org" 
Verzonden: 11-2-2017 12:55:31
Onderwerp: Issue with long sms sql-box


Hi,

am installed kannel with sqlbox all functions works fine but i have 
little issue with long sms dlr incase of long sms(more then 160 char) 
i receive first sms dlr and once my provided send second sms dlr it's 
showing error in logs


got DLR but could not find message or was not interested in it 
id dst<9876543210>, type<1>


am using smpp for as smsc

please anyone help me to resolve this issue

Thanks
Deepak