0

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?

fralbo
  • 2,534
  • 4
  • 41
  • 73

1 Answers1

0

The timeout indicates that the server sip3.ovh.fr didn't reply, the best option would be to verify that the call can be made with a softphone before to discard any connectivity issues.

aseques
  • 537
  • 4
  • 21