linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Proxy server authentication successful, placing calls n


From: Rainer Poisel
Subject: [Linphone-users] Proxy server authentication successful, placing calls not
Date: Wed, 31 May 2006 08:01:55 +0200 (CEST)
User-agent: SquirrelMail/1.4.5

Hi,

I have been trying linphone and linphonec last weekend. The interface is
straight-forward and its not as bloated as other SIP-Softphones in my
opinion. Thank you Simon!!

My school-account is working now (I can receive and place calls)
but my account at sipphone.com does not work.

Everytime I want to place a call a window pops up (linphone) and asks
for my credentials (linphonec asks directly on the command-line) at
the remote SIP-Server (asterisk):

8<=======SNIPP-SNAPP================8<
node01:~% linphonec -c /home/user/.linphonec.sipphone.com
Ready.
linphonec> Registration on sip:proxy01.sipphone.com sucessful.

linphonec> c sip:address@hidden
Contacting  sip:address@hidden
linphonec> Authentication requested for username '1xx76xxxx61' on realm
"school-account.com".
. Please enter your password:
8<=======SNIPP-SNAPP================8<

It seems strange to me, that I have to provide credentials for the
remote-party
of the call. I got this account to work with ekiga (http://www.ekiga.org).

I guess that linphone does not correctly contact the proxy-server at
sipphone.com (proxy01.sipphone.com). At the end of this mail you can
find the tcpdump-output when I used the account with linphone and then
with ekiga.

Here is my config-file which I tried with linphone and linphonec
versions 1.2.0 and 1.3.5. Maybe the fault resides in it:

8<=======SNIPP-SNAPP================8<
[GtkUi]
uri0=sip:address@hidden

[net]
con_type=3
use_nat=1
nat_address=xxx.xxx.xxx.xxx

[sip]
sip_port=5060
guess_hostname=0
contact=sip:address@hidden
use_registrar=1
registrar=proxy01.sipphone.com
use_info=0
use_ipv6=0
default_proxy=0
inc_timeout=15

[proxy_0]
reg_proxy=sip:proxy01.sipphone.com
reg_identity=sip:address@hidden
reg_expires=900
reg_sendregister=1
publish=1

[rtp]
audio_rtp_port=7078
video_rtp_port=9078
audio_jitt_comp=60
video_jitt_comp=60

[sound]
playback_dev_id=1
ringer_dev_id=1
capture_dev_id=1
rec_lev=80
play_lev=80
ring_lev=80
source=m
local_ring=/usr/share/sounds/linphone/rings/oldphone.wav
remote_ring=/usr/share/sounds/linphone/ringback.wav

[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

[auth_info_0]
username=1xx76xxxx61
userid=1xx76xxxx61
passwd=my-secret-password
realm="proxy01.sipphone.com"
8<=======SNIPP-SNAPP================8<

Could anybody please give me his/her config-file for a sipphone.com
account? I just found a very old one in this mailing list and it did not
work for me.

Now for the sniffing-output - This happened when calling my school-account
with linphone:

8<=======SNIPP-SNAPP================8<
22:32:49.880467 IP node01.lan.sip > northamerica.sipphone.com.sip: SIP,
length: 403
22:32:50.081446 IP northamerica.sipphone.com.sip > node01.lan.sip: SIP,
length: 425
22:32:50.300097 IP node01.lan.sip > northamerica.sipphone.com.sip: SIP,
length: 620
22:32:50.483603 IP northamerica.sipphone.com.sip > node01.lan.sip: SIP,
length: 417
22:32:58.238290 IP node01.lan.32825 > localhost.domain:  1452+ PTR? 
yyy.yyy.yyy.yyy.in-addr.arpa. (45)
22:32:58.247558 IP localhost.domain > node01.lan.32825:  1452 NXDomain
0/0/0 (45)
22:32:58.265564 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 897
22:32:58.278352 IP yyy.yyy.yyy.yyy.sip > node01.lan.sip: SIP, length: 535
22:32:58.281044 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 299
22:32:58.305555 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 897
22:32:58.592656 IP northamerica.sipphone.com.sip > node01.lan.sip: SIP,
length: 4
22:32:58.808542 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 897
22:32:59.808684 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 897
22:33:01.809256 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 897
22:33:05.812988 IP node01.lan.sip > yyy.yyy.yyy.yyy.sip: SIP, length: 897
22:33:09.918401 IP node01.lan.sip > northamerica.sipphone.com.sip: SIP,
length: 400
22:33:10.109747 IP northamerica.sipphone.com.sip > node01.lan.sip: SIP,
length: 466
22:33:10.125646 IP node01.lan.sip > northamerica.sipphone.com.sip: SIP,
length: 619
22:33:10.310867 IP northamerica.sipphone.com.sip > node01.lan.sip: SIP,
length: 352
8<=======SNIPP-SNAPP================8<

Here the same with ekiga (I hooked the phone off when it rang):

8<=======SNIPP-SNAPP================8<
22:33:58.440078 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 567
22:33:58.548077 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 567
22:33:58.625599 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 496
22:33:58.630719 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 785
22:33:58.737723 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 496
22:33:58.739630 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 462
22:33:58.817567 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 462
22:33:58.907276 IP node01.lan.5062 > northamerica.sipphone.com.sip: SIP,
length: 649
22:33:58.935552 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 410
22:33:59.099082 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 845
22:33:59.100724 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 527
22:33:59.165206 IP node01.lan.5062 > northamerica.sipphone.com.sip: SIP,
length: 649
22:33:59.229338 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 845
22:33:59.230654 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 527
22:33:59.283127 IP northamerica.sipphone.com.sip > node01.lan.5062: SIP,
length: 464
22:33:59.356234 IP northamerica.sipphone.com.sip > node01.lan.5062: SIP,
length: 464
22:34:02.751081 IP node01.lan.32828 > localhost.domain:  31098+ PTR? 
yyy.yyy.yyy.yyy.in-addr.arpa. (45)
22:34:02.760346 IP localhost.domain > node01.lan.32828:  31098 NXDomain
0/0/0 (45)
22:34:02.793130 IP node01.lan.32828 > localhost.domain:  13317+ SRV? 
_sip._udp.proxy01.sipphone.com. (48)
22:34:02.794236 IP localhost.domain > node01.lan.32828:  13317* 0/0/0 (48)
22:34:02.794608 IP node01.lan.32828 > localhost.domain:  22261+ SRV? 
_sip._udp.proxy01.sipphone.com.lan. (52)
22:34:02.795705 IP localhost.domain > node01.lan.32828:  22261* 0/0/0 (52)
22:34:02.796856 IP node01.lan.5063 > northamerica.sipphone.com.sip: SIP,
length: 1055
22:34:02.982359 IP northamerica.sipphone.com.sip > node01.lan.5063: SIP,
length: 374
22:34:03.277838 IP northamerica.sipphone.com.sip > node01.lan.5063: SIP,
length: 514
22:34:05.822309 IP northamerica.sipphone.com.sip > node01.lan.5063: SIP,
length: 846
22:34:05.826368 IP node01.lan.32828 > localhost.domain:  47182+ SRV? 
_sip._udp.198.65.166.131. (42)
22:34:05.827807 IP localhost.domain > node01.lan.32828:  47182* 0/0/0 (42)
22:34:05.827960 IP node01.lan.32828 > localhost.domain:  24319+ SRV? 
_sip._udp.198.65.166.131.lan. (46)
22:34:05.829057 IP localhost.domain > node01.lan.32828:  24319* 0/0/0 (46)
22:34:05.832292 IP node01.lan.5063 > northamerica.sipphone.com.sip: SIP,
length: 571
22:34:06.149356 IP node01.lan.5000 > yyy.yyy.yyy.yyy.13362: UDP, length 172
22:34:06.204977 IP node01.lan.5000 > yyy.yyy.yyy.yyy.13362: UDP, length 172
22:34:06.260910 IP node01.lan.5000 > yyy.yyy.yyy.yyy.13362: UDP, length 172
22:34:06.317070 IP node01.lan.5000 > yyy.yyy.yyy.yyy.13362: UDP, length 172
22:34:06.368937 IP node01.lan.5000 > yyy.yyy.yyy.yyy.13362: UDP, length 172
22:34:06.390727 IP northamerica.sipphone.com.sip > node01.lan.5063: SIP,
length: 603
22:34:06.392529 IP node01.lan.5063 > northamerica.sipphone.com.sip: SIP,
length: 538
22:34:13.186940 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 564
22:34:13.369712 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 496
22:34:13.372724 IP node01.lan.sip-tls > northamerica.sipphone.com.sip:
SIP, length: 782
22:34:13.556521 IP northamerica.sipphone.com.sip > node01.lan.sip-tls:
SIP, length: 381
8<=======SNIPP-SNAPP================8<

xxx.xxx.xxx.xxx => my own external IP
yyy.yyy.yyy.yyy => IP of the Asterisk server of my school
node01.lan => my computer

Best regards and thanks for reading!
Rainer





reply via email to

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