[Freeswitch-users] Need help for smpp_send command

Uday kumar udy786 at gmail.com
Tue Jan 31 08:14:48 MSK 2017


Hi Brain,

Today I installed Freeswitch with 1.6.14 and tried but Its not working and
getting same error. Please advice.


Thanks
Uday.

On Mon, Jan 30, 2017 at 7:34 PM, Brian West <brian at freeswitch.org> wrote:

> Have you tried the latest 1.6.14?
> On Mon, Jan 30, 2017 at 6:41 AM Uday kumar <udy786 at gmail.com> wrote:
>
>> 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 <093775%2079349>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
> https://www.gofundme.com/freeswitch_ubuntu
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002
> <+1%20918-420-9002> | *M:*+1918424WEST (9378)
> *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
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/20170131/8fb0c35d/attachment-0001.html 


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