[Freeswitch-users] problems with codecs when usinh jingle
Anthony Minessale
anthmct at yahoo.com
Fri Jan 19 06:57:18 PST 2007
Try speex at 8000k or speex at 16000k to make sure
you define the specific speed you want.
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
----- Original Message ----
From: Pekka K. Kurki <pekka.kurki at intellectics.com>
To: freeswitch-users at lists.freeswitch.org
Sent: Friday, January 19, 2007 2:02:20 AM
Subject: [Freeswitch-users] problems with codecs when usinh jingle
- when connecting to/from original google talk client the connection
starts ok but if the preferred codecs is speex the speed is wrong - it
sounds like playing an LP with 45 rpm..., pcmu is ok
- when connectibg to/from jabber/psi/kopete the cocec speex 110 offered
by jabber/psi/kopete is not accepted by freeswitch. uploading another
speex codec doesn't work, perhaps not supported by the clients...
here are the logs:
freeswitch => jabbin
2007-01-19 08:29:53 [DEBUG] libdingaling.c:291 ldl_session_create()
Created Session 6826254338
2007-01-19 08:29:53 [DEBUG] mod_dingaling.c:1633
channel_outgoing_channel() DingaLing/jingle/pekka at salo.intellectics.com
State Change CS_NEW -> CS_INIT
2007-01-19 08:29:53 [DEBUG] switch_core.c:3007 switch_core_session_run()
(DingaLing/jingle/pekka at salo.intellectics.com) State INIT
2007-01-19 08:29:53 [DEBUG] mod_dingaling.c:903 do_describe() Don't have
my codec yet here's one
2007-01-19 08:29:53 [DEBUG] mod_dingaling.c:923 do_describe() Send
Describe [speex at 8000]
SEND[<iq xmlns='jabber:client'
from='pekka.free at salo.intellectics.com/talk'
to='pekka at salo.intellectics.com/talk' type='set' id='300'><session
xmlns='http://www.google.com/session' type='initiate' id='6826254338'
initiator='pekka.free at salo.intellectics.com/talk'><description
xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type
xmlns='http://www.google.com/session/phone' id='98' name='speex'
clockrate='8000' bitrate='11000'/></description><transport
xmlns='http://www.google.com/transport/p2p'/></session></iq>]
2007-01-19 08:29:54 [DEBUG] libdingaling.c:1310 ldl_flush_queue()
Processing 1 packets in retry queue
2007-01-19 08:29:54 [DEBUG] libdingaling.c:1322 ldl_flush_queue()
Sending packet 300 (2 left)
RECV[<iq type="result" to="pekka.free at salo.intellectics.com/talk"
id="300" from="pekka at salo.intellectics.com/talk"/><iq type="result"
to="pekka.free at salo.intellectics.com/talk" id="300"
from="pekka at salo.intellectics.com/talk"/><iq
to="pekka.free at salo.intellectics.com/talk" type="set"
from="pekka at salo.intellectics.com/talk"><session
xmlns="http://www.google.com/session"; type="candidates" id="6826254338"
initiator="pekka.free at salo.intellectics.com/talk"><candidate name="rtp"
address="127.0.0.1" port="36206" username="hvTnfQg4LwSnpTzs"
password="jNRsYN0d2aTsLdHb" preference="1" protocol="udp" type="local"
network="lo" generation="0"/><candidate name="rtp" address="10.51.7.253"
port="36209" username="hAwky7xKCEuPBXDs" password="XRjXv7NnWE85EOeS"
preference="1" protocol="udp" type="local" network="eth1"
generation="0"/><candidate name="rtp" address="10.51.0.253" port="36211"
username="fkkr1mV1+YbTYun+" password="nSS+khOL42cyJsA7" preference="1"
protocol="udp" type="local" network="eth1:1" generation="0"/><candidate
name="rtp" address="85.126.75.149" port="36213"
username="uoHyKt0+xYSGvXpG" password="kb1VXcfONestaz17" preference="1"
protocol="udp" type="local" network="eth0" generation="0"/><candidate
name="rtp" address="10.0.0.1" port="36216" username="eZ0tRs4pLxN/GNSp"
password="f6nSpKq0Hpl+6iF4" preference="1" protocol="udp" type="local"
network="vmnet2" generation="0"/><candidate name="rtp"
address="192.168.20.1" port="36218" username="AEDSrDJ9+RFRfOrN"
password="p8Aq8HXDXC/5o07W" preference="1" protocol="udp" type="local"
network="vmnet8" generation="0"/></session></iq>]
SEND[<iq type='result' to='pekka at salo.intellectics.com/talk'
from='pekka.free at salo.intellectics.com/talk'><query/></iq>]
2007-01-19 08:29:54 [DEBUG] libdingaling.c:863 cancel_retry() Cancel
packet 300
2007-01-19 08:29:54 [DEBUG] libdingaling.c:863 cancel_retry() Cancel
packet 300
2007-01-19 08:29:54 [DEBUG] libdingaling.c:319 parse_session_code()
Message for Session 6826254338
2007-01-19 08:29:54 [DEBUG] libdingaling.c:1310 ldl_flush_queue()
Processing 1 packets in retry queue
2007-01-19 08:29:54 [DEBUG] libdingaling.c:1330 ldl_flush_queue()
Discarding packet 300
2007-01-19 08:30:01 [DEBUG] mod_sofia.c:4455 event_callback() event
[nua_r_register] status [401][Unauthorized] session: n/a
2007-01-19 08:30:01 [DEBUG] mod_sofia.c:4406 sip_r_challenge()
Authenticating 'FreeSWITCH' with 'Digest:"sipdiscount.com":pekkis:turku'.
2007-01-19 08:30:02 [NOTICE] mod_sofia.c:4603 check_oreg() registering
sipdiscount
2007-01-19 08:30:03 [DEBUG] mod_dingaling.c:855 do_candidates() Send
Candidate 85.126.75.149:5222:16384 [pnBOsbJSreLeOK27]
SEND[<iq xmlns='jabber:client'
from='pekka.free at salo.intellectics.com/talk'
to='pekka at salo.intellectics.com/talk' type='set' id='301'><session
xmlns='http://www.google.com/session' type='transport-info'
id='6826254338'
initiator='pekka.free at salo.intellectics.com/talk'><transport
xmlns='http://www.google.com/transport/p2p'><candidate name='rtp'
address='85.126.75.149:5222' port='16384' username='pnBOsbJSreLeOK27'
password='En4arg2atGYX3WQH' preference='1.0' protocol='udp' type='local'
network='0' generation='0'/></transport></session></iq>]
2007-01-19 08:30:03 [DEBUG] libdingaling.c:1310 ldl_flush_queue()
Processing 1 packets in retry queue
2007-01-19 08:30:03 [DEBUG] libdingaling.c:1322 ldl_flush_queue()
Sending packet 301 (2 left)
RECV[<iq type="result" to="pekka.free at salo.intellectics.com/talk"
id="301" from="pekka at salo.intellectics.com/talk"/>]
2007-01-19 08:30:03 [DEBUG] libdingaling.c:863 cancel_retry() Cancel
packet 301
2007-01-19 08:30:03 [DEBUG] libdingaling.c:1310 ldl_flush_queue()
Processing 1 packets in retry queue
2007-01-19 08:30:03 [DEBUG] libdingaling.c:1330 ldl_flush_queue()
Discarding packet 301
RECV[<iq to="pekka.free at salo.intellectics.com/talk" type="set"
from="pekka at salo.intellectics.com/talk"><session
xmlns="http://www.google.com/session"; type="accept" id="6826254338"
initiator="pekka.free at salo.intellectics.com/talk"><description
xmlns="http://www.google.com/session/phone"><payload-type id="110"
name="speex"/></description></session></iq>]
SEND[<iq type='result' to='pekka at salo.intellectics.com/talk'
from='pekka.free at salo.intellectics.com/talk'><query/></iq>]
2007-01-19 08:30:07 [DEBUG] libdingaling.c:319 parse_session_code()
Message for Session 6826254338
2007-01-19 08:30:07 [DEBUG] libdingaling.c:356 parse_session_code() Add
Payload [speex] id='110'
2007-01-19 08:30:07 [DEBUG] mod_dingaling.c:2338 handle_signalling()
using Existing session for 6826254338
2007-01-19 08:30:07 [DEBUG] mod_dingaling.c:2450 handle_signalling()
Already decided on a codec
2007-01-19 08:30:12 [DEBUG] mod_sofia.c:4455 event_callback() event
[nua_r_register] status [401][Unauthorized] session: n/a
2007-01-19 08:30:12 [DEBUG] mod_sofia.c:4406 sip_r_challenge()
Authenticating 'FreeSWITCH' with 'Digest:"sipdiscount.com":pekkis:turku'.
2007-01-19 08:30:13 [NOTICE] mod_sofia.c:4603 check_oreg() registering
sipdiscount
RECV[<iq to="pekka.free at salo.intellectics.com/talk" type="set"
from="pekka at salo.intellectics.com/talk"><session
xmlns="http://www.google.com/session"; type="candidates" id="6826254338"
initiator="pekka.free at salo.intellectics.com/talk"><candidate name="rtp"
address="127.0.0.1" port="36221" username="zngolcgP/jN9Rbdm"
password="P2Jqn9G9SU3FqAhD" preference="1" protocol="udp" type="local"
network="lo" generation="1"/><candidate name="rtp" address="10.51.7.253"
port="36223" username="OnvO+1mBXURsVb4E" password="qG66R1Bjf41VbJwU"
preference="1" protocol="udp" type="local" network="eth1"
generation="1"/><candidate name="rtp" address="10.51.0.253" port="36231"
username="kGxqEac4wRCiU7Df" password="ddjyTy/OqvG9TLlD" preference="1"
protocol="udp" type="local" network="eth1:1" generation="1"/><candidate
name="rtp" address="85.126.75.149" port="36235"
username="FR/xWno48Ga1O4Jd" password="5JdGQPqEkoiTVDJ1" preference="1"
protocol="udp" type="local" network="eth0" generation="1"/><candidate
name="rtp" address="10.0.0.1" port="36237" username="EVzaX51IrgS4GORi"
password="PYBsprqK/PDqgtlP" preference="1" protocol="udp" type="local"
network="vmnet2" generation="1"/><candidate name="rtp"
address="192.168.20.1" port="36239" username="xfkXntsrvNiB77lU"
password="wVoY9iolsSiY2HC3" preference="1" protocol="udp" type="local"
network="vmnet8" generation="1"/></session></iq>]
SEND[<iq type='result' to='pekka at salo.intellectics.com/talk'
from='pekka.free at salo.intellectics.com/talk'><query/></iq>]
2007-01-19 08:30:14 [DEBUG] libdingaling.c:319 parse_session_code()
Message for Session 6826254338
2007-01-19 08:30:22 [DEBUG] mod_sofia.c:4455 event_callback() event
[nua_i_state] status [487][Request Terminated] session:
sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147
2007-01-19 08:30:22 [DEBUG] mod_sofia.c:2562 sip_i_state() Channel
sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147
entering state [terminated]
2007-01-19 08:30:22 [DEBUG] mod_sofia.c:833 terminate_session() Term
called from line: 2840
2007-01-19 08:30:22 [NOTICE] mod_sofia.c:843 terminate_session() Hangup
sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147
[CS_EXECUTE] [ORIGINATOR_CANCEL]
2007-01-19 08:30:22 [NOTICE] switch_ivr.c:2855 switch_ivr_originate()
Hangup DingaLing/jingle/pekka at salo.intellectics.com [CS_INIT]
[ORIGINATOR_CANCEL]
2007-01-19 08:30:22 [INFO] switch_channel.c:969
switch_channel_perform_hangup() Kill
DingaLing/jingle/pekka at salo.intellectics.com [1]
2007-01-19 08:30:22 [DEBUG] libdingaling.c:236 ldl_session_destroy()
Destroyed Session 6826254338
2007-01-19 08:30:22 [DEBUG] mod_dingaling.c:1170 channel_kill_channel()
DingaLing/jingle/pekka at salo.intellectics.com CHANNEL KILL
2007-01-19 08:30:22 [DEBUG] switch_ivr.c:2918 switch_ivr_originate()
Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2007-01-19 08:30:22 [INFO] mod_bridgecall.c:74 audio_bridge_function()
Originate Failed. Cause: ORIGINATOR_CANCEL
2007-01-19 08:30:22 [DEBUG] mod_dingaling.c:593 terminate_session()
Terminate called from line 1014 state=CS_HANGUP
2007-01-19 08:30:22 [DEBUG] switch_core.c:2970 switch_core_session_run()
(DingaLing/jingle/pekka at salo.intellectics.com) State HANGUP
2007-01-19 08:30:22 [DEBUG] mod_dingaling.c:1127 channel_on_hangup()
DingaLing/jingle/pekka at salo.intellectics.com CHANNEL HANGUP
2007-01-19 08:30:22 [DEBUG] switch_core.c:2674
switch_core_standard_on_hangup() Standard HANGUP
DingaLing/jingle/pekka at salo.intellectics.com, cause: ORIGINATOR_CANCEL
jabbin => freeswitch
freeswitch at salo.intellectics.com> RECV[<iq
to="pekka.free at salo.intellectics.com/talk" type="set"
from="pekka at salo.intellectics.com/talk"><session
xmlns="http://www.google.com/session"; type="initiate" id="3891536359"
initiator="pekka at salo.intellectics.com/talk"><description
xmlns="http://www.google.com/session/phone"><payload-type id="110"
name="speex"/><payload-type id="0"
name="PCMU"/></description></session></iq><iq
to="pekka.free at salo.intellectics.com/talk" type="set"
from="pekka at salo.intellectics.com/talk"><session
xmlns="http://www.google.com/session"; type="candidates" id="3891536359"
initiator="pekka at salo.intellectics.com/talk"><candidate name="rtp"
address="127.0.0.1" port="36241" username="tB7c9/63khPAuSPJ"
password="1V9ayO+TUENTPlwY" preference="1" protocol="udp" type="local"
network="lo" generation="0"/><candidate name="rtp" address="10.51.7.253"
port="36243" username="Lf5bPTXOVtKx2vd4" password="oFWbSMw8eULLQljm"
preference="1" protocol="udp" type="local" network="eth1"
generation="0"/><candidate name="rtp" address="10.51.0.253" port="36245"
username="LoFC9oFC+hep3vNM" password="5phTZioj+2n74DOc" preference="1"
protocol="udp" type="local" network="eth1:1" generation="0"/><candidate
name="rtp" address="85.126.75.149" port="36247"
username="dJYlG5N4xKidSxLK" password="auYZJPuuE14Znaa+" preference="1"
protocol="udp" type="local" network="eth0" generation="0"/><candidate
name="rtp" address="10.0.0.1" port="36249" username="zwqZsE4W91xEpS95"
password="8CzBjONBAfZa+JxQ" preference="1" protocol="udp" type="local"
network="vmnet2" generation="0"/><candidate name="rtp"
address="192.168.20.1" port="36251" username="9K1zvFPA1vjQctOc"
password="PRtgncMBFBhyes7Y" preference="1" protocol="udp" type="local"
network="vmnet8" generation="0"/></session></iq>]
SEND[<iq type='result' to='pekka at salo.intellectics.com/talk'
from='pekka.free at salo.intellectics.com/talk'><query/></iq>]
SEND[<iq type='result' to='pekka at salo.intellectics.com/talk'
from='pekka.free at salo.intellectics.com/talk'><query/></iq>]
SEND[<iq xmlns='jabber:client'
from='pekka.free at salo.intellectics.com/talk'
to='pekka at salo.intellectics.com/talk' type='set' id='303'><session
xmlns='http://www.google.com/session' type='accept' id='3891536359'
initiator='pekka at salo.intellectics.com/talk'><description
xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type
xmlns='http://www.google.com/session/phone' id='98' name='speex'
clockrate='8000' bitrate='11000'/></description></session></iq>]
2007-01-19 08:41:57 [DEBUG] libdingaling.c:291 ldl_session_create()
Created Session 3891536359
2007-01-19 08:41:57 [DEBUG] libdingaling.c:319 parse_session_code()
Message for Session 3891536359
2007-01-19 08:41:57 [DEBUG] libdingaling.c:356 parse_session_code() Add
Payload [speex] id='110'
2007-01-19 08:41:57 [DEBUG] libdingaling.c:356 parse_session_code() Add
Payload [PCMU] id='0'
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2375 handle_signalling()
Creating a session for 3891536359
2007-01-19 08:41:57 [NOTICE] switch_channel.c:347
switch_channel_set_name() New Chan DingaLing/new
[ca1f7648-fafe-43bb-a4a7-4bfb39525167]
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2379 handle_signalling()
DingaLing/new State Change CS_NEW -> CS_INIT
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2464 handle_signalling() 2
payloads
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2466 handle_signalling()
Available Payload speex 110
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2473 handle_signalling()
compare speex 110 to speex 98
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2473 handle_signalling()
compare speex 110 to speex 99
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2473 handle_signalling()
compare speex 110 to speex 102
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2466 handle_signalling()
Available Payload PCMU 0
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2473 handle_signalling()
compare PCMU 0 to speex 98
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2473 handle_signalling()
compare PCMU 0 to speex 99
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:2473 handle_signalling()
compare PCMU 0 to speex 102
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:903 do_describe() Don't have
my codec yet here's one
2007-01-19 08:41:57 [DEBUG] mod_dingaling.c:923 do_describe() Send
Describe [speex at 8000]
2007-01-19 08:41:57 [DEBUG] libdingaling.c:319 parse_session_code()
Message for Session 3891536359
2007-01-19 08:41:57 [DEBUG] libdingaling.c:1310 ldl_flush_queue()
Processing 1 packets in retry queue
2007-01-19 08:41:57 [DEBUG] libdingaling.c:1322 ldl_flush_queue()
Sending packet 303 (2 left)
2007-01-19 08:41:57 [DEBUG] switch_core.c:3007 switch_core_session_run()
(DingaLing/new) State INIT
2007-01-19 08:41:58 [DEBUG] mod_sofia.c:4315 sip_r_register() received
100 on register!
2007-01-19 08:41:58 [NOTICE] mod_sofia.c:4593 check_oreg() registered
sipgate
RECV[<iq type="result" to="pekka.free at salo.intellectics.com/talk"
id="303" from="pekka at salo.intellectics.com/talk"/>]
2007-01-19 08:41:58 [DEBUG] libdingaling.c:863 cancel_retry() Cancel
packet 303
2007-01-19 08:41:58 [DEBUG] libdingaling.c:1310 ldl_flush_queue()
Processing 1 packets in retry queue
2007-01-19 08:41:58 [DEBUG] libdingaling.c:1330 ldl_flush_queue()
Discarding packet 303
RECV[<iq type="result" to="pekka.free at salo.intellectics.com/talk"
id="303" from="pekka at salo.intellectics.com/talk"/>]
2007-01-19 08:42:07 [DEBUG] mod_dingaling.c:855 do_candidates() Send
Candidate 85.126.75.149:5222:16386 [ba4RS8KmSdOCYS6n]
2007-01-19 08:42:07 [DEBUG] mod_dingaling.c:593 terminate_session()
Terminate called from line 1014 state=CS_INIT
2007-01-19 08:42:07 [NOTICE] mod_dingaling.c:608 terminate_session()
Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER]
2007-01-19 08:42:07 [INFO] switch_channel.c:969
switch_channel_perform_hangup() Kill DingaLing/new [1]
2007-01-19 08:42:07 [DEBUG] libdingaling.c:236 ldl_session_destroy()
Destroyed Session 3891536359
2007-01-19 08:42:07 [DEBUG] mod_dingaling.c:1170 channel_kill_channel()
DingaLing/new CHANNEL KILL
2007-01-19 08:42:07 [DEBUG] switch_core.c:2970 switch_core_session_run()
(DingaLing/new) State HANGUP
2007-01-19 08:42:07 [DEBUG] mod_dingaling.c:1127 channel_on_hangup()
DingaLing/new CHANNEL HANGUP
2007-01-19 08:42:07 [DEBUG] switch_core.c:2674
switch_core_standard_on_hangup() Standard HANGUP DingaLing/new, cause:
DESTINATION_OUT_OF_ORDER
2007-01-19 08:42:07 [DEBUG] switch_core.c:3413
switch_core_session_thread() Session 3 (DingaLing/new) Locked, Waiting
on external entities
2007-01-19 08:42:07 [INFO] switch_core.c:3418
switch_core_session_thread() Session 3 (DingaLing/new) Ended
2007-01-19 08:42:07 [NOTICE] switch_core.c:3294
switch_core_session_destroy() Close Channel DingaLing/new
--
(Mr.) Pekka K. Kurki
Intellectics GesmbH
http://www.intellectics.com
Helenenstrasse 44, A-2500 Baden, Austria
Tel. +43 2256 815811 Mobile +43 699 12532539
Fax +43 2256 815819
(Tel. US: 360-2267729 UK: 0870 4787064)
sip:pekka.kurki at sip.intellectics.com
skype: pkkurki-sip (sip gateway)
gtalk: pekkis50 at gtalk.com (sip gateway - experimental)
h323:432256815811 at sip.intellectics.com
email: Pekka.Kurki at intellectics.com
www: http://pekka.kurki.at
begin:vcard
fn:Pekka Kurki
n:Kurki;Pekka
org:Intellectics GesmbH
adr:;;Helenenstr. 44;Baden;;A-2500;Austria
email;internet:Pekka.Kurki at intellectics.com
tel;work:+43 2256 815811
tel;fax:+43 2256 815819
tel;pager:skype:pkkurki
tel;home:+43 2256 815813
tel;cell:+43 699 12532539
url:http://www.intellectics.com
version:2.1
end:vcard
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070119/afb6e53f/attachment-0003.html
More information about the FreeSWITCH-users
mailing list