You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to connect PyVoIP script to Asterisk server, I faced a problem. But with minisip server, it works well.
I got such error with Python script.
Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0REGISTERATION ERROR: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP
And server log like that
[Mar 11 04:12:56] NOTICE[6188]: chan_sip.c:30637 sip_poke_noanswer: Peer '5711300' is now UNREACHABLE! Last qualify: 0
The text was updated successfully, but these errors were encountered:
On Registeration pyVoIP tells the server these methods by sending the header:
Allow: INVITE, ACK, BYE, CANCEL
Nevertheless your Asterisk server sends Requests with the type OPTIONS and NOTIFY, but the minisip server does not.
pyVoIP tries to parse all headers of incoming messages, checking both SIPCompatibleVersions (SIP/2.0) and SIPCompatibleMethods.
That is why the error is raised, when receiving non-compatible methods.
To solve this either:
Configure Asterisk to not send these requests - or
Modify PyVoIP to accept them with an OK-Message, but then do nothing.
An example how to do this is here: Add OPTIONS and CANCEL methods #177
When I want to connect PyVoIP script to Asterisk server, I faced a problem. But with minisip server, it works well.
I got such error with Python script.
Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0Error on header parsing: Unable to decipher SIP request: NOTIFY sip:[email protected]:5060;transport=UDP SIP/2.0REGISTERATION ERROR: Unable to decipher SIP request: OPTIONS sip:[email protected]:5060;transport=UDP SIP
And server log like that
[Mar 11 04:12:56] NOTICE[6188]: chan_sip.c:30637 sip_poke_noanswer: Peer '5711300' is now UNREACHABLE! Last qualify: 0
The text was updated successfully, but these errors were encountered: