Mikhail Ramendik
2005-02-04 20:54:41 UTC
Hello,
Looks like liphonec does connect to my proxy, if I give its adderss explicitly
with the phone number. It takes the password from ~/.gnome2/linphone , which
was created by linphone 0.12.2 .
However, judging by the traffic, it's using pcma or pcmu as the codec. I know
that the other side supports GSM; in fact I've tried deleting all codecs
except GSM from the config file, and before I deleted them, they had
"enabled=0". Still I can't make it connect with GSM!
What can I do to make linphonec use gsm as the preferred codec, or better yet,
as the only available codec?
Here's the entire config file, with the password altered of course:
[net]
con_type=2
use_nat=0
[sip]
username=rame_01
hostname=sip1.titl.ru
sip_port=5060
use_registrar=1
as_proxy=1
registrar=sip:sip1.titl.ru
passwd=mypassword
addr_of_rec=sip:***@sip1.titl.ru
expires=900
[rtp]
audio_rtp_port=7078
video_rtp_port=0
audio_jitt_comp=60
video_jitt_comp=60
[sound]
dev_id=2
rec_lev=80
play_lev=80
source=m
local_ring=/usr/local/share/sounds/linphone/rings/oldphone.wav
remote_ring=/usr/local/share/sounds/linphone/ringback.wav
[video]
enabled=0
show_local=0
[audio_codec_0]
mime=GSM
rate=8000
enabled=1
[address_book]
entry_count=0
Looks like liphonec does connect to my proxy, if I give its adderss explicitly
with the phone number. It takes the password from ~/.gnome2/linphone , which
was created by linphone 0.12.2 .
However, judging by the traffic, it's using pcma or pcmu as the codec. I know
that the other side supports GSM; in fact I've tried deleting all codecs
except GSM from the config file, and before I deleted them, they had
"enabled=0". Still I can't make it connect with GSM!
What can I do to make linphonec use gsm as the preferred codec, or better yet,
as the only available codec?
Here's the entire config file, with the password altered of course:
[net]
con_type=2
use_nat=0
[sip]
username=rame_01
hostname=sip1.titl.ru
sip_port=5060
use_registrar=1
as_proxy=1
registrar=sip:sip1.titl.ru
passwd=mypassword
addr_of_rec=sip:***@sip1.titl.ru
expires=900
[rtp]
audio_rtp_port=7078
video_rtp_port=0
audio_jitt_comp=60
video_jitt_comp=60
[sound]
dev_id=2
rec_lev=80
play_lev=80
source=m
local_ring=/usr/local/share/sounds/linphone/rings/oldphone.wav
remote_ring=/usr/local/share/sounds/linphone/ringback.wav
[video]
enabled=0
show_local=0
[audio_codec_0]
mime=GSM
rate=8000
enabled=1
[address_book]
entry_count=0
--
Yours, Mikhail Ramendik
Yours, Mikhail Ramendik