[Freeswitch-users] Need help for smpp_send command

Uday kumar udy786 at gmail.com
Mon Jan 30 15:41:02 MSK 2017


Hi All,

I am using SMPP on freeswitch 1.6.6. OS CentOS 7.2.

When I am using softphone to send message on any mobile number using SMPP
then its working but when I am using

*smpp_send gateway|destination|source|message *

then in source and destination going null.Below is logs.

2017-01-30 07:36:52.472935 [INFO] mod_smpp_message.c:113 Creating message
from event:
Event-Name: [MESSAGE]
Core-UUID: [2f544720-e6e6-11e6-a29c-e5cd0c776bd1]
FreeSWITCH-Hostname: [Server]
FreeSWITCH-Switchname: [Server]
FreeSWITCH-IPv4: [204.10.94.4]
FreeSWITCH-IPv6: [::1]
Event-Date-Local: [2017-01-30 07:36:52]
Event-Date-GMT: [Mon, 30 Jan 2017 12:36:52 GMT]
Event-Date-Timestamp: [1485779812472935]
Event-Calling-File: [mod_smpp.c]
Event-Calling-Function: [mod_smpp_send_api]
Event-Calling-Line-Number: [137]
Event-Sequence: [776]
destination_addr: [12127773456]
source_addr: [19377579349]
Content-Length: 12

Test Message
2017-01-30 07:36:52.472935 [INFO] mod_smpp_message.c:114


2017-01-30 07:36:52.492858 [INFO] mod_smpp_utils.c:41 PDU
command_length                [0000003C] - [60]
command_id                    [00000004] - [SUBMIT_SM]
command_status                [00000000] - [ESME_ROK]
sequence_number               [00000006] - [6]
service_type                  [SMS]
source_addr_ton               [01]       - [TON_International]
source_addr_npi               [01]       - [NPI_ISDN_E163_E164]
source_addr                   [(null)]
dest_addr_ton                 [01]       - [TON_International]
dest_addr_npi                 [01]       - [NPI_ISDN_E163_E164]
destination_addr              [(null)]
esm_class                     [01]       - [1]
protocol_id                   [00]       - [0]
priority_flag                 [00]       - [0]
schedule_delivery_time        []
validity_period               []
registered_delivery           [00]       - [0]
replace_if_present_flag       [00]       - [0]
data_coding                   [00]       - [0]
sm_default_msg_id             [00]       - [0]
sm_length                     [0C]       - [12]
short_message                 [Test Message]


Please help.

-- 
Thanks & Regard
Uday
Site:- www.shareyourknowledge.in
Mobile:- +91-9377579349
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170130/ef6a4d15/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list