Re: Inverted Exclamation mark and question mark issue.

2018-04-06 Thread amalysh
Hi,

you have to send in UTF-8 with coding=0 (for inverted exclamation mark: 
text=%C2%A1=0).
If it doesn’t work please check your smpp debug logs and check if submit_sm has 
correct values in message body
and if yes then SMSC doing something wrong.

Thanks,
Alex


> Am 04.04.2018 um 07:27 schrieb Wan Md Arif Noor Bin. Wan Nizam 
> :
> 
> Hello Users,
>  
> I’m having an issue with sending both inverted exclamation mark (¡) and 
> inverted question mark (¿) , it seems like it was converted to B! and B? 
> instead.
>  
> Tried with all below parameter but none working except for UCS-2 which I want 
> to avoid.
>  
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=¿
>  
> "
>   Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=%C2%BF
>  
> "
>  Result :B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=¿=0=1
>  
> "
>  Result : ‘
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=%C2%BF=0=1
>  
> "
>  Result : ‘
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=¿=0=0
>  
> "
>  Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=%C2%BF=0=0
>  
> "
>  Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=¿=0=ISO-8859-1=1
>  
> "Result
>  : ?’
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=¿=0=ISO-8859-1=1
>  
> "Result
>  : ?’
>  
> Tried with charset UTF-8 and ASCII, but same with same result. Please advise 
> what else can be done to get this working?
>  
> Config:
>  
> group = core
> admin-port = 13005
> smsbox-port = 13007
> sms-resend-retry = 10
> admin-password = admin
> box-deny-ip = "*.*.*.*"
> box-allow-ip = ""
> access-log = /opt/kannel/smpp_access.log
> access-log-format = "[SMSC:%i] [from:%p] [to:%P] [msg:%L:%b] [FID:%F]"
> store-type = file
> store-location = "/opt/kannel/smpp.store"
> store-dump-freq = 100
>  
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13017
> http-request-retry = 3
> http-queue-delay = 5
> reply-couldnotfetch = "Please wait"
> log-file = "/opt/kannel/smsbox/smsbox.log"
> log-level = 0
>  
> group = smsc
> smsc = smpp
> smsc-id = smppConnection2
> allowed-smsc-id = "smppConnection2"
> host =
> port =
> system-type = ""
> address-range = "1234"
> smsc-username = ""
> smsc-password = ""
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 52
> throughput = 15
> alt-charset = "utf-8"
> connection-timeout = 60
> max-pending-submits = 10
> enquire-link-interval = 20
> transceiver-mode = 0
> log-file = "/opt/kannel/bearerbox/debug.log"
> log-level = 0
> reconnect-delay = 2
>  
> group = sendsms-user
> username = smsSMPP2
> password = smsPass
> max-messages  = 10
> concatenation = true
> default-smsc = smppConnection2
>  
> group = sms-service
> keyword = default
> accepted-smsc = smppConnection2
> get-url = "
> max-messages = 0
>   concatenation = true



Re: Inverted Exclamation mark and question mark issue.

2018-04-06 Thread amalysh
This is in most cases wrong:

2018-04-04 17:17:39 [10745] [7] DEBUG:   short_message:
2018-04-04 17:17:39 [10745] [7] DEBUG:Octet string at 0x7efe78000c40:
2018-04-04 17:17:39 [10745] [7] DEBUG:  len:  2
2018-04-04 17:17:39 [10745] [7] DEBUG:  size: 3
2018-04-04 17:17:39 [10745] [7] DEBUG:  immutable: 0
2018-04-04 17:17:39 [10745] [7] DEBUG:  data: c2 a1 
..
2018-04-04 17:17:39 [10745] [7] DEBUG:Octet string dump ends.

You are sending as UTF-8. Please align your alt-charset with a smsc default 
charset.

> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 52
> throughput = 15
> alt-charset = "utf-8"

^

Thanks,
Alex




> Am 04.04.2018 um 12:24 schrieb Wan Md Arif Noor Bin. Wan Nizam 
> :
> 
> Hi There,
>  
> Thanks for replying, I already tested using that parameter, but I keep 
> receiving “B?”.
> Below are the debug log.
>  
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A1=0=UTF-8
>  
> "
>  
> 2018-04-04 17:17:39 [10745] [7] DEBUG: SMPP PDU 0x7efe78000a10 dump:
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   type_name: submit_sm
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   command_id: 4 = 0x0004
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   command_status: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   sequence_number: 56414 = 0xdc5e
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   service_type: NULL
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   source_addr_ton: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   source_addr_npi: 1 = 0x0001
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   source_addr: "6"
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   dest_addr_ton: 1 = 0x0001
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   destination_addr: "601132495424"
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   esm_class: 3 = 0x0003
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   protocol_id: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   priority_flag: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   schedule_delivery_time: NULL
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   validity_period: NULL
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   registered_delivery: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   replace_if_present_flag: 0 = 
> 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   data_coding: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   sm_default_msg_id: 0 = 0x
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   sm_length: 2 = 0x0002
> 2018-04-04 17:17:39 [10745] [7] DEBUG:   short_message:
> 2018-04-04 17:17:39 [10745] [7] DEBUG:Octet string at 0x7efe78000c40:
> 2018-04-04 17:17:39 [10745] [7] DEBUG:  len:  2
> 2018-04-04 17:17:39 [10745] [7] DEBUG:  size: 3
> 2018-04-04 17:17:39 [10745] [7] DEBUG:  immutable: 0
> 2018-04-04 17:17:39 [10745] [7] DEBUG:  data: c2 a1   
>   ..
> 2018-04-04 17:17:39 [10745] [7] DEBUG:Octet string dump ends.
> 2018-04-04 17:17:39 [10745] [7] DEBUG: SMPP PDU dump ends.
>  
> However it works correctly when sending with coding=2, but by using that it 
> halved the SMS length.  Appreciate your help in this.
>  
> Cheers,
> Arif Noor
>  
> From: Alexander Malysh  On Behalf Of amal...@kannel.org
> Sent: Wednesday, April 04, 2018 4:40 PM
> To: Wan Md Arif Noor Bin. Wan Nizam 
> Cc: users@kannel.org
> Subject: Re: Inverted Exclamation mark and question mark issue.
>  
> Hi,
>  
> you have to send in UTF-8 with coding=0 (for inverted exclamation mark: 
> text=%C2%A1=0).
> If it doesn’t work please check your smpp debug logs and check if submit_sm 
> has correct values in message body
> and if yes then SMSC doing something wrong.
>  
> Thanks,
> Alex
>  
> 
> 
> Am 04.04.2018 um 07:27 schrieb Wan Md Arif Noor Bin. Wan Nizam 
> >:
>  
> Hello Users,
>  
> I’m having an issue with sending both inverted exclamation mark (¡) and 
> inverted question mark (¿) , it seems like it was converted to B! and B? 
> instead.
>  
> Tried with all below parameter but none working except for UCS-2 which I want 
> to avoid.
>  
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=¿
>  
> "
>   Result : B?
> curl 
> "http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=60113**=%C2%BF
>  
> "
>  Result :B?
> curl 
> 

Re: Inverted Exclamation mark and question mark issue.

2018-04-06 Thread Davor Spasoski




Do you mean you get “@“ for any of the "¤¡ÄÖÑܧ¿äöñüà" or just for “¡” ?


If so, the SMPP part of the SMSC does some strange character conversions. From my experience, the SMSC usually sets some sort of ISO-8859-1 as a default alphabet on SMPP level and than
 converts (with losses) to GSM alphabet. GSM 7-bit is usually supported with DCS above 240 so try setting alt-dcs =1, coding = 0 and charset left blank (utf-8). 
Lately, some SMSCs support UTF-8 as default and even something called "Esaped-Latin-1" or "X-ISO-8859-GSM-escaped" for which I could not find any standardization, but that is basically
 an 8-bit alphabet, having the common GSM/ASCII characters plus the extension with the GSM only characters. In order to support that, you will need a custom charset translation on your side. 
Try the alt-dcs with coding=0 and if not successful, ask to set the default SMSC/SMPP alphabet as GSM. 


BR,
Davor




On Apr 5, 2018, at 4:56 AM, Wan Md Arif Noor Bin. Wan Nizam  wrote:






Hi All,
 
Thanks for the response, I have removed alt-charset from the config but now all I get is @.
 
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A1=0
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A1=UTF-8
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%A1=ISO-8859-1
 
2018-04-05 10:21:02 [16025] [7] DEBUG: SMPP PDU 0x7f69dc000a10 dump:
2018-04-05 10:21:02 [16025] [7] DEBUG:   type_name: submit_sm
2018-04-05 10:21:02 [16025] [7] DEBUG:   command_id: 4 = 0x0004
2018-04-05 10:21:02 [16025] [7] DEBUG:   command_status: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   sequence_number: 31 = 0x001f
2018-04-05 10:21:02 [16025] [7] DEBUG:   service_type: NULL
2018-04-05 10:21:02 [16025] [7] DEBUG:   source_addr_ton: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   source_addr: "6"
2018-04-05 10:21:02 [16025] [7] DEBUG:   dest_addr_ton: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   destination_addr: "601132495424"
2018-04-05 10:21:02 [16025] [7] DEBUG:   esm_class: 3 = 0x0003
2018-04-05 10:21:02 [16025] [7] DEBUG:   protocol_id: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   priority_flag: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   schedule_delivery_time: NULL
2018-04-05 10:21:02 [16025] [7] DEBUG:   validity_period: NULL
2018-04-05 10:21:02 [16025] [7] DEBUG:   registered_delivery: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   replace_if_present_flag: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   data_coding: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   sm_default_msg_id: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   sm_length: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   short_message: "@"
2018-04-05 10:21:02 [16025] [7] DEBUG: SMPP PDU dump ends.
 
Tested all the character of GSM only @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!\"#%&'()*+,-./:;<=>? Is working while the ¤¡ÄÖÑܧ¿äöñüà is not regardless of charset
 used in the parameter.
 
¤¡ÄÖÑܧ¿äöñüà
 
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A4%C2%A1%C3%84%C3%96%C3%91%C3%9C%C2%A7%C2%BF%C3%A4%C3%B6%C3%B1%C3%BC%C3%A0
 
2018-04-05 10:54:07 [16129] [7] DEBUG: SMPP PDU 0x7f09c8000a10 dump:
2018-04-05 10:54:07 [16129] [7] DEBUG:   type_name: submit_sm
2018-04-05 10:54:07 [16129] [7] DEBUG:   command_id: 4 = 0x0004
2018-04-05 10:54:07 [16129] [7] DEBUG:   command_status: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   sequence_number: 56 = 0x0038
2018-04-05 10:54:07 [16129] [7] DEBUG:   service_type: NULL
2018-04-05 10:54:07 [16129] [7] DEBUG:   source_addr_ton: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2018-04-05 10:54:07 [16129] [7] DEBUG:   source_addr: "6"
2018-04-05 10:54:07 [16129] [7] DEBUG:   dest_addr_ton: 1 = 0x0001
2018-04-05 10:54:07 [16129] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2018-04-05 10:54:07 [16129] [7] DEBUG:   destination_addr: "601132495424"
2018-04-05 10:54:07 [16129] [7] DEBUG:   esm_class: 3 = 0x0003
2018-04-05 10:54:07 [16129] [7] DEBUG:   protocol_id: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   priority_flag: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   schedule_delivery_time: NULL
2018-04-05 10:54:07 [16129] [7] DEBUG:   validity_period: NULL
2018-04-05 10:54:07 [16129] [7] DEBUG:   registered_delivery: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   replace_if_present_flag: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   data_coding: 0 = 0x
2018-04-05 10:54:07 [16129] [7] 

Re: Inverted Exclamation mark and question mark issue.

2018-04-06 Thread Davor Spasoski



Do you mean you get “@“ for any of the "¤¡ÄÖÑܧ¿äöñüà" or just for “¡” ?


If so, the SMPP part of the SMSC does some strange character conversions. From my experience, the SMSC usually sets some sort of ISO-8859-1 as a default alphabet on SMPP level and than
 converts (with losses) to GSM alphabet. GSM 7-bit is usually supported with DCS above 240 so try setting alt-dcs =1, coding = 0 and charset left blank (utf-8). 
Lately, some SMSCs support UTF-8 as default and even something called "Esaped-Latin-1" or "X-ISO-8859-GSM-escaped" for which I could not find any standardization, but that is basically
 an 8-bit alphabet, having the common GSM/ASCII characters plus the extension with the GSM only characters. In order to support that, you will need a custom charset translation on your side. 
Try the alt-dcs with coding=0 and if not successful, ask to set the default SMSC/SMPP alphabet as GSM. 


BR,
Davor




On Apr 5, 2018, at 4:56 AM, Wan Md Arif Noor Bin. Wan Nizam  wrote:






Hi All,
 
Thanks for the response, I have removed alt-charset from the config but now all I get is @.
 
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A1=0
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A1=UTF-8
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%A1=ISO-8859-1
 
2018-04-05 10:21:02 [16025] [7] DEBUG: SMPP PDU 0x7f69dc000a10 dump:
2018-04-05 10:21:02 [16025] [7] DEBUG:   type_name: submit_sm
2018-04-05 10:21:02 [16025] [7] DEBUG:   command_id: 4 = 0x0004
2018-04-05 10:21:02 [16025] [7] DEBUG:   command_status: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   sequence_number: 31 = 0x001f
2018-04-05 10:21:02 [16025] [7] DEBUG:   service_type: NULL
2018-04-05 10:21:02 [16025] [7] DEBUG:   source_addr_ton: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   source_addr: "6"
2018-04-05 10:21:02 [16025] [7] DEBUG:   dest_addr_ton: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   destination_addr: "601132495424"
2018-04-05 10:21:02 [16025] [7] DEBUG:   esm_class: 3 = 0x0003
2018-04-05 10:21:02 [16025] [7] DEBUG:   protocol_id: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   priority_flag: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   schedule_delivery_time: NULL
2018-04-05 10:21:02 [16025] [7] DEBUG:   validity_period: NULL
2018-04-05 10:21:02 [16025] [7] DEBUG:   registered_delivery: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   replace_if_present_flag: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   data_coding: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   sm_default_msg_id: 0 = 0x
2018-04-05 10:21:02 [16025] [7] DEBUG:   sm_length: 1 = 0x0001
2018-04-05 10:21:02 [16025] [7] DEBUG:   short_message: "@"
2018-04-05 10:21:02 [16025] [7] DEBUG: SMPP PDU dump ends.
 
Tested all the character of GSM only @£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞ^{}\[~]|€ÆæßÉ!\"#%&'()*+,-./:;<=>? Is working while the ¤¡ÄÖÑܧ¿äöñüà is not regardless of charset
 used in the parameter.
 
¤¡ÄÖÑܧ¿äöñüà
 
curl

http://localhost:13017/cgi-bin/sendsms?username=smsSMPP2=smsPass=6=601132495424=%C2%A4%C2%A1%C3%84%C3%96%C3%91%C3%9C%C2%A7%C2%BF%C3%A4%C3%B6%C3%B1%C3%BC%C3%A0
 
2018-04-05 10:54:07 [16129] [7] DEBUG: SMPP PDU 0x7f09c8000a10 dump:
2018-04-05 10:54:07 [16129] [7] DEBUG:   type_name: submit_sm
2018-04-05 10:54:07 [16129] [7] DEBUG:   command_id: 4 = 0x0004
2018-04-05 10:54:07 [16129] [7] DEBUG:   command_status: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   sequence_number: 56 = 0x0038
2018-04-05 10:54:07 [16129] [7] DEBUG:   service_type: NULL
2018-04-05 10:54:07 [16129] [7] DEBUG:   source_addr_ton: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2018-04-05 10:54:07 [16129] [7] DEBUG:   source_addr: "6"
2018-04-05 10:54:07 [16129] [7] DEBUG:   dest_addr_ton: 1 = 0x0001
2018-04-05 10:54:07 [16129] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2018-04-05 10:54:07 [16129] [7] DEBUG:   destination_addr: "601132495424"
2018-04-05 10:54:07 [16129] [7] DEBUG:   esm_class: 3 = 0x0003
2018-04-05 10:54:07 [16129] [7] DEBUG:   protocol_id: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   priority_flag: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   schedule_delivery_time: NULL
2018-04-05 10:54:07 [16129] [7] DEBUG:   validity_period: NULL
2018-04-05 10:54:07 [16129] [7] DEBUG:   registered_delivery: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   replace_if_present_flag: 0 = 0x
2018-04-05 10:54:07 [16129] [7] DEBUG:   data_coding: 0 = 0x
2018-04-05 10:54:07 [16129] [7] 

High Failure Rate

2018-04-06 Thread nashwan Al-Mawri
dear all

I am using kannel to send sms to  our subscribers through the telecom
company , the problem is i have 200,00 subscriber but the success  rate
between 25k and 30k which is very small number , i looked into the logs
file but   could not figure out what i am missing , is the configuration
,or the kannel ,or it is the sms center , does the network infrastructure
also play role in this .

i really appropriate any one point me where to start looking to solve the
problem


Attached is my kannel configuration

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = mavas
status-password = mavas
sms-combine-concatenated-mo = true
log-file = "/usr/local/gateway/mavas.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = spool
dlr-spool =/var/spool/kannel/dlr
#unified-prefix = "+358,00358,0;+,00"
access-log = "/usr/local/gateway/access.log"
store-type = spool
store-location=/var/spool/kannel/store

#-
# SMSC CONNECTIONS
group = smsc
smsc = smpp
smsc-id = "mavastel"
host = *.*.*.*
port = *
transceiver-mode =true
#receive-port = 8313
smsc-username = "0"
smsc-password = "000"
system-type = "SMPP"
throughput = 30
#reconnect-delay = 60
allowed-smsc-id= "mavastel"
preferred-smsc-id ="mavastel"
log-file = "/usr/local/gateway/mavastel.log"
#address-range = ""




#-
# SMSBOX

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#global-sender = 8208
mo-recode=true
#sendsms-chars = "0123456789 +-"
log-file = "/usr/local/gateway/smsbox.log"
#log-level = 0
access-log = "/usr/local/gateway/access1.log"

#-
# SEND-SMS USERS
group = sendsms-user
username = mavas
password = tdPwD
max-messages = 10
concatenation= true
default-smsc = none


#-
# SERVICES
group = sms-service
keyword = default
get-url = "
http://localhost/vms/getsms.php?sender=%p=%P=%k=%d=%t=%q=%a=%i=%I
"
max-messages = 3
concatenation = true
omit-empty = true