Hello, I did all this. I did telnet on their IP and port, and the connection was successful. So, it is not a firewall/connectivity issue. The situation evolved now. I added the config parameter address-range to my config file, leaving it empty, and ti seems that the connection works now.
Now, I have a different problem. When I send a SMS to the short code setup by the operator, I receive the following error in my smsc log: ERROR : SMPP[voila]: Malformed addr '7463' : expected at least 7 digits Is there a place in kannel to specify number of digits accepted? Stéphane On Thu, Nov 19, 2009 at 12:44 PM, Alvaro Cornejo <[email protected]> wrote: > Hi > > Try to telnet to port 3717 from your bearerbox machine. It might be a > routing/firewall issue. > > Also ask provider their logs about your system trying to connect to > their system. I 've seen providers that said they have done everything > from their side and they haven't even create the account or did not > open their firewall for your IP > > Regards > > Alvaro > > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Thu, Nov 19, 2009 at 12:31 PM, Stéphane Bruno > <[email protected]> wrote: >> They told me system-type should be empty... >> >> Stéphane >> >> On Thu, Nov 19, 2009 at 12:07 PM, Elton Hoxha <[email protected]> wrote: >>> Maybe it has to do with system type parameter. You have it empty here, >>> meanwhile it maybe configured at the smsc side. Ask from them what is system >>> type name. >>> >>> On Thu, Nov 19, 2009 at 5:33 PM, Stéphane Bruno >>> <[email protected]> wrote: >>>> >>>> Hello all, >>>> >>>> I am trying to connect to an SMSC using SMPP 3.4. I am receiving the >>>> following error: >>>> >>>> [7] ERROR: connect failed >>>> 2009-11-19 11:30:28 [2889] [7] ERROR: System error 22: Invalid argument >>>> 2009-11-19 11:30:28 [2889] [7] ERROR: error connecting to server >>>> `IP_ADDRESS' at port `3717' >>>> 2009-11-19 11:30:28 [2889] [7] ERROR: SMPP[voila]: Couldn't connect to >>>> server. >>>> 2009-11-19 11:30:28 [2889] [7] ERROR: SMPP[voila]: Couldn't connect to >>>> SMS center (retrying in 10 seconds). >>>> >>>> Here is my config for the SMSC: >>>> >>>> group = smsc >>>> smsc = smpp >>>> host = IP_ADDRESS >>>> smsc-id = AN_ID >>>> allowed-smsc-id = AN_ID >>>> port = 3717 >>>> #receive-port = >>>> our-host = MY_HOST_NAME >>>> smsc-username = USERNAME >>>> smsc-password = PASSWORD >>>> system-type = >>>> transceiver-mode = true >>>> #service-type = >>>> interface-version = 34 >>>> #address-range = >>>> my-number = 7464 >>>> source-addr-ton = 1 >>>> dest-addr-ton = 1 >>>> #bind-addr-ton = 1 >>>> source-addr-npi = 1 >>>> dest-addr-npi = 1 >>>> #bind-addr-npi = 1 >>>> source-addr-autodetect = false >>>> #alt-charset = >>>> log-file = "/var/log/kannel/voila.log" >>>> log-level = 1 >>>> >>>> Please help! >>>> >>>> Stéphane >>>> >>> >>> >> >> >
