You was right, we have an proxy on our network and it was bloking the the HTTP request.
your solution work for me.
here, my "app.config" file if someone have the same thing.
thanks for your quick reply and support . this problem is now solve.
According to this thread on Stack Overflow, the error is caused by a proxy HTTP server in your network. The command line client of Diafaan SMS Server adds the header 'Expect: 100-Continue' to the HTTP request and your proxy server does not know how to handle this header properly.
If you are not able to solve this problem on the proxy server, you can try this work around. Add a file 'dmscmnd.exe.config' in the same folder as 'dmscmnd.exe' with the text:
<servicePointManager expect100Continue="false" />
This instructs the command line program to omit the 'Expect: 100-Continue' header from the HTTP request.
We have a Basic edition of Diafaan (serial # *********).
I am trying to use the included command line exe in order to send sms. (dsmcmnd.exe)
Some information about both computer : no firewall is active,the web connector is running and working fine.
on the diafaan server (win7 x86) , the follow command line working:
dsmcmnd.exe "host:localhost:80" "command:send-message" "username:admin" "password:****" "to:+594694******" "message:dianfan-test"
on another computer i am unable send sms . i am getting this error :
ERROR:301 Le serveur distant a retourné‚ une erreur: (417) Expectation Failed.
dsmcmnd.exe "host:192.168.100.101:80" "command:send-message" "username:admin" "password:****" "to:+594694******" "message:dianfan-test"
can you please help me , i need to send sms using this command from other computer.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 516
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 985