[Opalvoip-devel] Bad Gateway 502 - Fritzbox
Brought to you by:
csoutheren,
rjongbloed
From: Michael P. <mic...@my...> - 2018-01-31 13:56:24
|
I try to understand why this error happens in conjunction with the Frizbox. OpalVoip is registered at Fritzbox and everything works fine except this error 502 Bad Gateway. After a CANCEL from Fritzbox (call completed elsewere) OpalVoip sends this error. We are using opalvoip-3.14.3 running on an embedded device and we cannot update easily. I try only to understand if this error is malconfiguration, is caused by Fritzbox or is a opalvoip lib error. REGISTER sip:192.168.178.1 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.26:5060;branch=z9hG4bK7695ae2c-e5f9-e711-947e-ac0dfe300177;rport CSeq: 15 REGISTER Content-Length: 0 Call-ID: 823d8dd8-e2f9-e711-947e-ac0dfe300177@myGEKKO To: Authorization: Digest username="MyGekko1", realm="fritz.box", nonce="FC8725BE57DD96A0", uri="sip:192.168.178.1", algorithm=MD5, response="6659627a9e8758d222e9525380bc5ebe" Contact: ;expires=300;q=1 Organization: OPAL VoIP Max-Forwards: 70 From: ;tag=7c758dd8-e2f9-e711-947e-ac0dfe300177 Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK Expires: 300 User-Agent: OPAL/1.0alpha0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.178.26:5060;branch=z9hG4bK7695ae2c-e5f9-e711-947e-ac0dfe300177;rport=5060 From: ;tag=7c758dd8-e2f9-e711-947e-ac0dfe300177 To: ;tag=4D668FD4BE690D29 Call-ID: 823d8dd8-e2f9-e711-947e-ac0dfe300177@myGEKKO CSeq: 15 REGISTER WWW-Authenticate: Digest realm="fritz.box", nonce="2390102456667A9D" User-Agent: FRITZ!OS Content-Length: 0 REGISTER sip:192.168.178.1 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.26:5060;branch=z9hG4bKa8d4b02c-e5f9-e711-947e-ac0dfe300177;rport CSeq: 16 REGISTER Content-Length: 0 Call-ID: 823d8dd8-e2f9-e711-947e-ac0dfe300177@myGEKKO To: Authorization: Digest username="MyGekko1", realm="fritz.box", nonce="2390102456667A9D", uri="sip:192.168.178.1", algorithm=MD5, response="e0e171d6cbc94ae0cb42a7b48b770a63" Contact: ;expires=300;q=1 Organization: OPAL VoIP Max-Forwards: 70 From: ;tag=7c758dd8-e2f9-e711-947e-ac0dfe300177 Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK Expires: 300 User-Agent: OPAL/1.0alpha0 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.178.26:5060;branch=z9hG4bKa8d4b02c-e5f9-e711-947e-ac0dfe300177;rport=5060 From: ;tag=7c758dd8-e2f9-e711-947e-ac0dfe300177 To: ;tag=FCC278DF758346B0 Call-ID: 823d8dd8-e2f9-e711-947e-ac0dfe300177@myGEKKO CSeq: 16 REGISTER Contact: ;q=1;expires=300 User-Agent: AVM FRITZ!Box 6490 Cable 141.06.87 (Nov 20 2017) Supported: 100rel,replaces,timer Allow-Events: telephone-event,refer,reg Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH Accept: application/sdp, multipart/mixed Accept-Encoding: identity Content-Length: 0 INVITE sip:MyGekko1@192.168.178.26:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 From: "Steve" ;tag=6604AADEEC6815C9 To: ;q=1 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 CSeq: 112 INVITE Contact: Max-Forwards: 70 Expires: 120 User-Agent: AVM FRITZ!Box 6490 Cable 141.06.87 (Nov 20 2017) Supported: 100rel,replaces,timer Allow-Events: telephone-event,refer Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH Content-Type: application/sdp Accept: application/sdp, multipart/mixed Accept-Encoding: identity Content-Length: 198 v=0 o=user 12902326 12902326 IN IP4 192.168.178.1 s=call c=IN IP4 192.168.178.1 t=0 0 m=audio 7082 RTP/AVP 8 0 101 a=sendrecv a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=rtcp:7083 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 CSeq: 112 INVITE Content-Length: 0 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 To: ;q=1 From: "Steve" ;tag=6604AADEEC6815C9 SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 CSeq: 112 INVITE Content-Length: 0 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 To: "MyGekko" ;tag=2ca0673a-e5f9-e711-947e-ac0dfe300177 Contact: "MyGekko" Organization: OPAL VoIP RSeq: 796679428 From: "Steve" ;tag=6604AADEEC6815C9 Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK Require: 100rel User-Agent: OPAL/1.0alpha0 PRACK sip:MyGekko1@192.168.178.26 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bKE4111C89019ACEC8 From: "Steve" ;tag=6604AADEEC6815C9 To: "MyGekko" ;tag=2ca0673a-e5f9-e711-947e-ac0dfe300177 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 CSeq: 113 PRACK RAck: 796679428 112 INVITE Max-Forwards: 70 User-Agent: AVM FRITZ!Box 6490 Cable 141.06.87 (Nov 20 2017) Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bKE4111C89019ACEC8 CSeq: 113 PRACK Content-Length: 0 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 To: "MyGekko" ;tag=2ca0673a-e5f9-e711-947e-ac0dfe300177 Contact: From: "Steve" ;tag=6604AADEEC6815C9 CANCEL sip:MyGekko1@192.168.178.26:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 From: "Steve" ;tag=6604AADEEC6815C9 To: ;q=1 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 CSeq: 112 CANCEL Reason: SIP; cause=200; text="Call completed elsewhere" Max-Forwards: 70 User-Agent: AVM FRITZ!Box 6490 Cable 141.06.87 (Nov 20 2017) Supported: 100rel,replaces,timer Allow-Events: telephone-event,refer Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 CSeq: 112 CANCEL Content-Length: 0 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 To: ;tag=2ca0673a-e5f9-e711-947e-ac0dfe300177 Contact: Organization: OPAL VoIP From: "Steve" ;tag=6604AADEEC6815C9 User-Agent: OPAL/1.0alpha0 SIP/2.0 502 Bad Gateway Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 CSeq: 112 INVITE Content-Length: 0 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 To: "MyGekko" ;tag=2ca0673a-e5f9-e711-947e-ac0dfe300177 Contact: "MyGekko" Organization: OPAL VoIP From: "Steve" ;tag=6604AADEEC6815C9 Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK User-Agent: OPAL/1.0alpha0 ACK sip:MyGekko1@192.168.178.26:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK03BFDD80FD2385B8 From: "Steve" ;tag=6604AADEEC6815C9 To: "MyGekko" ;tag=2ca0673a-e5f9-e711-947e-ac0dfe300177 Call-ID: 8CE0DA23E6B0B1C6@192.168.178.1 CSeq: 112 ACK User-Agent: AVM FRITZ!Box 6490 Cable 141.06.87 (Nov 20 2017) Content-Length: 0 Thanks for your help Michael Prader |