I try to use sipcmd to call a phone number and play a wav file.
I use the command that way ( playing DTMF just for test):
./sipcmd -P sip -u 0033972nnnnnn -c passwd -w sip3.ovh.fr -x "w5000;c0033661nnnnnn;d123;ws500;h"
After few seconds, my phone rings. I answer but sipcmd continues its timeout count up and finally hangs up with the error Call: Dial timed out
.
Same thing if I terminates the call before the end of the timeout.
Looking a the code in debug, WaitForStateChange()
desesperately stays in CONNECTING
state whatever happens on the remote called.
Any idea on the problem?