Click here to download VisualGSM SMS Gateway



sms software
About UsHow to buyDownloadSitemapContact Us
 
Our ProductsServicesNews & EventsOnline DemoCustomer SupportClient/UsersPartner Program


  Reply to this topicStart new topicStart Poll

> SNMP2SMS 007 Error
naderamer101
Posted: Jul 16 2009, 01:43 PM
Quote Post


Member
**

Group: Members
Posts: 10
Member No.: 1806
Joined: 9-June 09



Dear Admin,
I Am configuring SNMP2SMS Add-on. after installation of the add-on, I changed the parameter & I used the test button under settings & message is delivered successfully but whenever I try to test it by sending a real SNMP Trap, the SMS doesn't reach the LogLog table & the following error is logged under activity log:

"SMS 007 - Message queue failure.
Empty mobile number."

I tried to assign to N a direct mobile number (N=0097150xxxxxx) or a variable (N={Community}) after creating the correspondant phonebook contact. in my case, {Community} will be equal to server so I created server in the phonebbok with a phone number assigned to it but in both case i am getting the same error. could you help please?


Thanks
PMEmail Poster
Top
admin
Posted: Jul 17 2009, 05:17 AM
Quote Post


Administrator
***

Group: Admin
Posts: 1071
Member No.: 1
Joined: 5-May 03



Could you please post the exact command you are using and snmp2sms logs? Thank you.


--------------------
VisualGSM SMS Gateway.
VisualGSM SMS Server Downloads.
PMEmail Poster
Top
naderamer101
Posted: Jul 17 2009, 09:13 AM
Quote Post


Member
**

Group: Members
Posts: 10
Member No.: 1806
Joined: 9-June 09



Dear Admin,

here is the Command:

cmd.exe /c c:\inetpub\wwwroot\cgi-bin\cmd\CSendCmd.exe Mode=SendSMS;M="Trap Rcvd! {DateTime}\nSource:{SourceAddress}\nEnterprise:SquareOne\nCommunity:{Community}\nDeviceName:{DeviceName}\nGenericTrap:{GenericTrap}\nSpecificTrap:{SpecificTrap}\nDeviceDescription:{DeviceDescription}\nDeviceLocation:{DeviceLocation}\nDeviceUpTime:{DeviceUpTime}\nVariableBindings:\n{VariableBindings}";N=0097150560270;Commmethod=SMPP-1;

& here is the Log:

7/17/2009 12:49:13 PM Trap received from 192.168.1.2.
7/17/2009 12:49:13 PM Execute command: cmd.exe /c c:\inetpub\wwwroot\cgi-bin\cmd\CSendCmd.exe Mode=SendSMS;M="Trap Rcvd! 7/17/2009 12:49:13 PM\nSource:192.168.1.2\nEnterprise:SquareOne\nCommunity:Sophos\nDeviceName:{DeviceName}\nGenericTrap:6\nSpecificTrap:3\nDeviceDescription:{DeviceDescription}\nDeviceLocation:{DeviceLocation}\nDeviceUpTime:0\nVariableBindings:\n.iso.org.dod.internet.private.enterprises.2604.2.1.1.2.1.3=File \Device\HarddiskVolume2\VMWARE VPCs\Visual GSM\Windows 2003 Server-DC\Windows Server 2003 Standard Edition.vmdk not checked. Files larger than 4GB are not supported by on-access scanning.
\n.iso.org.dod.internet.private.enterprises.2604.2.1.1.2.2.2=7.6.9\n";N=0097150560270;Commmethod=SMPP-1;
Command output:
SMS 007 - Message queue failure.
Empty mobile number.
Note: This message can be customized under Manager->Console| "HTTP2SMS Return Message" tab.

PMEmail Poster
Top
admin
Posted: Jul 17 2009, 09:42 AM
Quote Post


Administrator
***

Group: Admin
Posts: 1071
Member No.: 1
Joined: 5-May 03



Thanks. Could you please check if there's a carriage return or line break within the contents of the variables passed to commandline?

Please try moving ';N=xxxxxx;Commmethod=xxxx' to the front, e.g.

cmd.exe /c c:\inetpub\wwwroot\cgi-bin\cmd\CSendCmd.exe Mode=SendSMS;;N=0097150560270;Commmethod=SMPP-1;M="Trap Rcvd! {DateTime}\nSource:{SourceAddress}\nEnterprise:SquareOne\nCommunity:{Community}\nDeviceName:{DeviceName}\nGenericTrap:{GenericTrap}\nSpecificTrap:{SpecificTrap}\nDeviceDescription:{DeviceDescription}\nDeviceLocation:{DeviceLocation}\nDeviceUpTime:{DeviceUpTime}\nVariableBindings:\n{VariableBindings}"


--------------------
VisualGSM SMS Gateway.
VisualGSM SMS Server Downloads.
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0519 ]   [ 11 queries used ]   [ GZIP Disabled ]