Torsten Ebhardt
2004-Jun-30 14:41 UTC
[Asterisk-Users] asterisk: problems with connecting to a (german) sip provider
hello ! My problem is: Astriks should create a connection to other members using a german Sip provider (www.sipgate.de). there are no problems with connections to: o Sip- Accounts o national phone numbers o mobile phone numbers but connections to international phone numbers DO NOT WORK (see the attached protokoll). The connection to international phone numbers does work when I directly use a VOIP hardware phone (Grandstream or SNOM). Where is the problem? Does the protokoll give any hint where the problem may be? Thanks for your help for m e an sorry for my bad english. Torsten ------------------------------------------------------------------------------------------------------------------------ We're at 80.137.124.154 port 19256 Answering with preferred capability 4 Answering with non-codec capability 1 12 headers, 10 lines Reliably Transmitting: INVITE sip:0034943739200@sipgate.de SIP/2.0 Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de> Contact: <sip:4566565@80.137.124.154> Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 102 INVITE User-Agent: Asterisk PBX Date: Tue, 29 Jun 2004 10:28:37 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Type: application/sdp Content-Length: 218 v=0 o=root 2645 2645 IN IP4 80.137.124.154 s=session c=IN IP4 80.137.124.154 t=0 0 m=audio 1925878876 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - (NAT) to 217.10.79.9:5060 -- Called 0034943739200@4566565 Sip read: SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.490a Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 102 INVITE Proxy-Authenticate: Digest realm="80.137.124.154", nonce="40e155779906df4b3d4287029d47ac877a53dee9b9fb6" Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux)) Content-Length: 0 Warning: 392 217.10.79.9:5060 "Noisy feedback tells: pid=7164 req_src_ip=80.137.124.154 req_src_port=5060 in_uri=sip:0034943739200@sipgate.de out_uri=sip:0034943739200@sipgate.de via_cnt==1" 10 headers, 0 lines Transmitting: ACK sip:0034943739200@sipgate.de SIP/2.0 Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.490a Contact: <sip:4566565@80.137.124.154> Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 102 ACK User-Agent: Asterisk PBX Content-Length: 0 (NAT) to 217.10.79.9:5060 We're at 80.137.124.154 port 19256 Answering with preferred capability 4 Answering with non-codec capability 1 Reliably Transmitting: INVITE sip:0034943739200@sipgate.de SIP/2.0 Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de> Contact: <sip:4566565@80.137.124.154> Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 103 INVITE User-Agent: Asterisk PBX Proxy-Authorization: Digest username="4566565", realm="80.137.124.154", algorithm="MD5", uri="sip:0034943739200@sipgate.de", nonce="40e1506df4b3d4287029d47ac877a53dee9b9fb6", response="2abfedbcf7681994a0e40ff93fec8534", opaque="" Date: Tue, 29 Jun 2004 10:28:37 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Type: application/sdp Content-Length: 218 v=0 o=root 2645 2646 IN IP4 80.137.124.154 s=session c=IN IP4 80.137.124.154 t=0 0 m=audio 19256 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - (NAT) to 217.10.79.9:5060 Sip read: SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.490a Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 103 INVITE Proxy-Authenticate: Digest realm="80.137.124.154", nonce="40e1506df4b3d4287029d47ac877a53dee9b9fb6" Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux)) Content-Length: 0 Warning: 392 217.10.79.9:5060 "Noisy feedback tells: pid=7165 req_src_ip=80.137.124.154 req_src_port=5060 in_uri=sip:0034943739200@sipgate.de out_uri=sip:0034943739200@sipgate.de via_cnt==1" 10 headers, 0 lines Transmitting: ACK sip:0034943739200@sipgate.de SIP/2.0 Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.490a Contact: <sip:4566565@80.137.124.154> Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 103 ACK User-Agent: Asterisk PBX Content-Length: 0 (NAT) to 217.10.79.9:5060 We're at 80.137.124.154 port 19256 Answering with preferred capability 4 Answering with non-codec capability 1 Reliably Transmitting: INVITE sip:0034943739200@sipgate.de SIP/2.0 Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de> Contact: <sip:4566565@80.137.124.154> Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 104 INVITE User-Agent: Asterisk PBX Proxy-Authorization: Digest username="4566565", realm="80.137.124.154", algorithm="MD5", uri="sip:0034943739200@sipgate.de", nonce="40e1506df4b3d4287029d47ac877a53dee9b9fb6", response="2abfedbcf7681994a0e40ff93fec8534", opaque="" Date: Tue, 29 Jun 2004 10:28:37 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Type: application/sdp Content-Length: 218 v=0 o=root 2645 2647 IN IP4 80.137.124.154 s=session c=IN IP4 80.137.124.154 t=0 0 m=audio 19256 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - (NAT) to 217.10.79.9:5060 Sip read: SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.490a Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 104 INVITE Proxy-Authenticate: Digest realm="80.137.124.154", nonce="40e1506df4b3d4287029d47ac877a53dee9b9fb6" Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux)) Content-Length: 0 Warning: 392 217.10.79.9:5060 "Noisy feedback tells: pid=7167 req_src_ip=80.137.124.154 req_src_port=5060 in_uri=sip:0034943739200@sipgate.de out_uri=sip:0034943739200@sipgate.de via_cnt==1" 10 headers, 0 lines Transmitting: ACK sip:0034943739200@sipgate.de SIP/2.0 Via: SIP/2.0/UDP 80.137.124.154:5060;branch=z9hG4bK710a7bff From: "40" <sip:4566565@80.137.124.154>;tag=as411f3c19 To: <sip:0034943739200@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.490a Contact: <sip:4566565@80.137.124.154> Call-ID: 794d45297b95d5cc448d074a259511b2@80.137.124.154 CSeq: 104 ACK User-Agent: Asterisk PBX Content-Length: 0 (NAT) to 217.10.79.9:5060 Jun 29 12:28:37 NOTICE[5126]: chan_sip.c:5066 handle_response: Failed to authenticate on INVITE to '"40" <sip:4566565@80.137.124.154>;tag=as411f3c19' *CLI> sip no debug SIP Debugging Disabled