Need help for smpp_send command
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
Have you tried the latest 1.6.14? On Mon, Jan 30, 2017 at 6:41 AM Uday kumar <udy786@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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
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@freeswitch.org> wrote:
Have you tried the latest 1.6.14? On Mon, Jan 30, 2017 at 6:41 AM Uday kumar <udy786@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@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@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@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@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@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
Hi Brian, Today I installed Freeswitch on Fresh server and its working. My problem get solved. Thank you so much for new version and solving this issue. You guys are awesome. Thanks Uday. On Tue, Jan 31, 2017 at 10:44 AM, Uday kumar <udy786@gmail.com> wrote:
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@freeswitch.org> wrote:
Have you tried the latest 1.6.14? On Mon, Jan 30, 2017 at 6:41 AM Uday kumar <udy786@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@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@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@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@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@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 <093775%2079349>
-- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349
participants (2)
-
Brian West
-
Uday kumar