linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Sipgate - Unauthorized


From: Tobias Vogt
Subject: [Linphone-users] Sipgate - Unauthorized
Date: Sun, 9 Jan 2005 05:15:27 +0100

Hello,

I have a small problem with linphonec and sipgate. Let me show your my
config-file

----
[net]
if_name=eth0
con_type=3
use_nat=1
nat_address=192.168.1.1

[rtp]
audio_rtp_port=5004
video_rtp_port=0
audio_jitt_comp=60
video_jitt_comp=60

[sound]
dev_id=0
rec_lev=85
play_lev=85
source=m
local_ring=/usr/share/sounds/linphone/rings/oldphone.wav
remote_ring=/usr/share/sounds/linphone/ringback.wav

[sip]
username=123456
hostname=sipgate.de
sip_port=5060
use_registrar=1
as_proxy=0
expires=900
registrar=sip:sipgate.de
passwd=123456
addr_of_rec=sip:address@hidden

[codecs]
audio_codecs=+speex +GSM +PCMU +PCMA +1015

[video]
enabled=0
show_local=0

[audio_codec_0]
mime=PCMU
rate=8000
enabled=1

[audio_codec_1]
mime=GSM
rate=8000
enabled=1

[audio_codec_2]
mime=PCMA
rate=8000
enabled=1

[audio_codec_3]
mime=speex
rate=8000
enabled=1

[audio_codec_4]
mime=speex
rate=16000
enabled=1

[audio_codec_5]
mime=1015
rate=8000
enabled=1

[address_book]
entry_count=0
----

I'm behind a router but the ports a forwarded. Now take a look on the
errorlog.

----
| INFO1 | <osipua.c: 65> Starting osip stack and osipua layer.

| INFO1 | <osipmanager.c: 148> port already listened

| INFO1 | <udp.c: 112> Entering osipua thread.

| INFO1 | <utils.c: 409> Outgoing interface to reach sipgate.de is
192.168.1.101.

| INFO1 | <utils.c: 92> info: Name resolution requested.

| INFO1 | <resolver.c: 109> Entering name resolution thread.

| INFO1 | <osipmanager.c: 148> port already listened

| INFO1 | <resolver.c: 115> Doing asynchronous name resolution.

| INFO1 | <osipdialog.c: 48> ua needs specific binding on 192.168.1.1

| INFO1 | <utils.c: 92> info: Name resolution requested.

| INFO1 | <osipdialog.c: 48> ua needs specific binding on 192.168.1.1

| INFO1 | <resolver.c: 115> Doing asynchronous name resolution.

| INFO1 | <utils.c: 92> info: Name resolution requested.

| INFO1 | <udp.c: 295> Sending message:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK981986764
From: <sip:address@hidden>;tag=741485787
To: <sip:address@hidden>;tag=741485787
Call-ID: address@hidden
CSeq: 0 REGISTER
Contact: <sip:address@hidden>
max-forwards: 10
expires: 900
user-agent: oSIP/Linphone-0.12.1
Content-Length: 0


| INFO1 | <osipdialog.c: 48> ua needs specific binding on 192.168.1.1

| INFO1 | <utils.c: 92> info: Name resolution requested.

| INFO1 | <resolver.c: 115> Doing asynchronous name resolution.

| INFO1 | <resolver.c: 115> Doing asynchronous name resolution.

| INFO1 | <udp.c: 295> Sending message:
INVITE sip:ll%20sip:address@hidden SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK2484117542
From: <sip:address@hidden>;tag=1885020280
To: <sip:ll%20sip:address@hidden>
Call-ID: address@hidden
CSeq: 20 INVITE
Contact: <sip:address@hidden>
max-forwards: 10
user-agent: oSIP/Linphone-0.12.1
Content-Type: application/sdp
Content-Length:   353

v=0
o=123456 123456 654321 IN IP4 192.168.1.1
s=A conversation
c=IN IP4 192.168.1.1
t=0 0
m=audio 5004 RTP/AVP 0 3 8 110 111 115 101
b=AS:20
a=rtpmap:0 PCMU/8000/1
a=rtpmap:3 GSM/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:110 speex/8000/1
a=rtpmap:111 speex/16000/1
a=rtpmap:115 1015/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11

| INFO1 | <udp.c: 295> Sending message:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK981986764
From: <sip:address@hidden>;tag=741485787
To: <sip:address@hidden>;tag=741485787
Call-ID: address@hidden
CSeq: 0 REGISTER
Contact: <sip:address@hidden>
max-forwards: 10
expires: 900
user-agent: oSIP/Linphone-0.12.1
Content-Length: 0


| INFO1 | <udp.c: 295> Sending message:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK4070967127
From: <sip:address@hidden>;tag=2980896986
To: <sip:address@hidden>;tag=2980896986
Call-ID: address@hidden
CSeq: 0 REGISTER
Contact: <sip:address@hidden>
max-forwards: 10
expires: 900
user-agent: oSIP/Linphone-0.12.1
Content-Length: 0


| INFO1 | <udp.c: 295> Sending message:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK2738813033
From: <sip:address@hidden>;tag=2967271268
To: <sip:address@hidden>;tag=2967271268
Call-ID: address@hidden
CSeq: 0 REGISTER
Contact: <sip:address@hidden>
max-forwards: 10
expires: 0
user-agent: oSIP/Linphone-0.12.1
Content-Length: 0


| INFO1 | <udp.c: 186> info: Message from 217.10.79.9:5060

| INFO1 | <udp.c: 206> info: RECEIVING UDP MESSAGE:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.1.101:5060;branch=z9hG4bK981986764;rport=5060;received=217.229.132.1
29
From: <sip:address@hidden>;tag=741485787
To: <sip:address@hidden>;tag=741485787
Call-ID: address@hidden
CSeq: 0 REGISTER
WWW-Authenticate: Digest realm="sipgate.de",
nonce="41e0ac8c3393a7bfc682b472997957145d9be856"
Server: sipgate ser
Content-Length: 0
Warning: 392 217.10.79.9:5060 "Noisy feedback tells:  pid=8908
req_src_ip=217.229.132.129 req_src_port=5060 in_uri=sip:sipgate.de
out_uri=sip:sipgate.de via_cnt==1"


----

I hope you can help me. Thanks

Tobias





reply via email to

[Prev in Thread] Current Thread [Next in Thread]