|
Hello,
In the first time I want to thank you very much for this great module!
I use the Simple part of the module to write a little script which must create a call and close after a few seconds.
It works perfectly when I disable the authentication of my virtual SIP phone.
But when I want to use the authentication, I see a trouble. Indeed the process to have an authentication is:
- send the default message (register for example)
- The gateway replies with "401 Unauthorized" header
- send the message with the correct header
- The gateway replies with "200 OK" header
This process is done automatically when I register the virtual SIP phone, but when I want to close the call with a BYE message, I receive a "401 Unauthorized" header and I don't know I must do to send the next message.
Can you help me or explain me if I do something wrong.
Thanks,
Youk
|