[Freeswitch-users] cannot bridge sip to jingle

Pekka K. Kurki pekka.kurki at intellectics.com
Tue Jan 9 23:54:38 PST 2007


also problems when using jabbin client:

2007-01-10 08:43:53 [DEBUG] libdingaling.c:287 ldl_session_create() 
Created Session 1141268090
2007-01-10 08:43:53 [DEBUG] libdingaling.c:315 parse_session_code() 
Message for Session 1141268090
2007-01-10 08:43:53 [DEBUG] libdingaling.c:352 parse_session_code() Add 
Payload [iLBC] id='102'
2007-01-10 08:43:53 [DEBUG] libdingaling.c:352 parse_session_code() Add 
Payload [PCMU] id='0'
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2301 handle_signalling() 
Creating a session for 1141268090
2007-01-10 08:43:53 [NOTICE] switch_channel.c:388 
switch_channel_set_name() New Chan DingaLing/new 
[2c5e5c80-27b8-417f-a81b-2b64fac98848]
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2305 handle_signalling() 
DingaLing/new State Change CS_NEW -> CS_INIT
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2390 handle_signalling() 2 
payloads
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2392 handle_signalling() 
Available Payload iLBC 102
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2399 handle_signalling() 
compare iLBC 102 to PCMU 0
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2399 handle_signalling() 
compare iLBC 102 to PCMU 0
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2392 handle_signalling() 
Available Payload PCMU 0
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2399 handle_signalling() 
compare PCMU 0 to PCMU 0
2007-01-10 08:43:53 [DEBUG] mod_dingaling.c:2399 handle_signalling() 
compare PCMU 0 to PCMU 0
2007-01-10 08:43:53 [DEBUG] switch_core.c:2939 switch_core_session_run() 
(DingaLing/new) State INIT
RECV[<iq xmlns='jabber:client' from='pekka at salo.intellectics.com/jabbin' 
type='set' to='pekka-free at salo.intellectics.com/talk'><session 
xmlns='http://www.google.com/session' 
initiator='pekka at salo.intellectics.com/jabbin' id='1141268090' 
type='candidates'><candidate generation='0' network='Microsoft' 
type='local' protocol='udp' preference='1' password='LaNDg6PUpyp6XBzA' 
username='MrZj1dBvGJc98Lnq' port='4480' address='192.168.20.4' 
name='rtp'/></session></iq>]
SEND[<iq type='result' to='pekka at salo.intellectics.com/jabbin' 
from='pekka-free at salo.intellectics.com/talk'><query/></iq>]
2007-01-10 08:43:53 [DEBUG] libdingaling.c:315 parse_session_code() 
Message for Session 1141268090
2007-01-10 08:43:58 [NOTICE] mod_sofia.c:4460 check_oreg() registering 
sipdiscount
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:867 do_describe() Don't have 
my codec yet here's one
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:887 do_describe() Send 
Describe [PCMU at 8000]
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:819 do_candidates() Send 
Candidate 85.126.75.149:16384 [2yiRmVk31P0G22ZC]
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:687 activate_rtp() Set Read 
Codec to PCMU at 8000
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:702 activate_rtp() Set Write 
Codec to PCMU at 8000
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:709 activate_rtp() SETUP RTP 
85.126.75.149:16384 -> (null):0
2007-01-10 08:44:03 [DEBUG] switch_rtp.c:499 switch_rtp_create() 
Starting timer [soft] 0 bytes per 20000ms
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:1006 channel_on_init() 
DingaLing/new State Change CS_INIT -> CS_RING
2007-01-10 08:44:03 [DEBUG] switch_core.c:2975 switch_core_session_run() 
(DingaLing/new) State RING
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:1023 channel_on_ring() 
DingaLing/new CHANNEL RING
2007-01-10 08:44:03 [DEBUG] switch_core.c:2622 
switch_core_standard_on_ring() Standard RING DingaLing/new
2007-01-10 08:44:03 [ERR] switch_core.c:2625 
switch_core_standard_on_ring() Can't get profile!
2007-01-10 08:44:03 [NOTICE] switch_core.c:2626 
switch_core_standard_on_ring() Hangup DingaLing/new [CS_RING] 
[DESTINATION_OUT_OF_ORDER]
2007-01-10 08:44:03 [INFO] switch_channel.c:998 
switch_channel_perform_hangup() Kill DingaLing/new [1]
2007-01-10 08:44:03 [DEBUG] libdingaling.c:232 ldl_session_destroy() 
Destroyed Session 1141268090
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:1120 channel_kill_channel() 
DingaLing/new CHANNEL KILL
2007-01-10 08:44:03 [DEBUG] switch_core.c:2902 switch_core_session_run() 
(DingaLing/new) State HANGUP
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:1079 channel_on_hangup() 
NUKE RTP
2007-01-10 08:44:03 [DEBUG] mod_dingaling.c:1091 channel_on_hangup() 
DingaLing/new CHANNEL HANGUP
2007-01-10 08:44:03 [DEBUG] switch_core.c:2612 
switch_core_standard_on_hangup() Standard HANGUP DingaLing/new, cause: 
DESTINATION_OUT_OF_ORDER
2007-01-10 08:44:03 [DEBUG] switch_core.c:3346 
switch_core_session_thread() Session 1 (DingaLing/new) Locked, Waiting 
on external entities
2007-01-10 08:44:03 [INFO] switch_core.c:3353 
switch_core_session_thread() Session 1 (DingaLing/new) Ended
2007-01-10 08:44:03 [NOTICE] switch_core.c:3226 
switch_core_session_destroy() Close Channel DingaLing/new



Pekka K. Kurki wrote:
> trying to bridge sip  (asterisk) to jingle (psi-jingle). the 
> connection starts but no payloads are exchanged. obviously some 
> problem with codecs. below the log. also tried to set speex to 
> prefered codec - same result.
>
> any ideas?
>
> --pekka--
>
>
>
> 2007-01-10 00:22:33 [NOTICE] switch_channel.c:388 
> switch_channel_set_name() New Chan 
> DingaLing/pekka-free at freeswitch.salo.intellectics.com/pekka at salo.intellectics.com 
> [2741c84b-c57b-40c8-9ec8-6ff2db0dc8ba]
> 2007-01-10 00:22:33 [DEBUG] libdingaling.c:287 ldl_session_create() 
> Created Session 6097172408
> 2007-01-10 00:22:33 [DEBUG] mod_dingaling.c:1582 
> channel_outgoing_channel() 
> DingaLing/pekka-free at freeswitch.salo.intellectics.com/pekka at salo.intellectics.com 
> State Change CS_NEW -> CS_INIT
> 2007-01-10 00:22:33 [DEBUG] switch_core.c:2939 
> switch_core_session_run() 
> (DingaLing/pekka-free at freeswitch.salo.intellectics.com/pekka at salo.intellectics.com) 
> State INIT
> RECV[<presence xmlns='jabber:client' 
> from='pekka at salo.intellectics.com/talk' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk'>
> <x xmlns='jabber:x:delay' stamp='20070109T23:22:06' 
> from='pekka at salo.intellectics.com/talk'/><priority>5</priority>
> <c xmlns='http://jabber.org/protocol/caps' 
> node='http://www.google.com/xmpp/client/caps' ver='jingle-devel-1' 
> ext='voice-v1'/>
> </presence>]
> 2007-01-10 00:22:33 [DEBUG] mod_dingaling.c:867 do_describe() Don't 
> have my codec yet here's one
> 2007-01-10 00:22:33 [DEBUG] mod_dingaling.c:887 do_describe() Send 
> Describe [PCMU at 8000]
> SEND[<iq xmlns='jabber:client' 
> from='pekka-free at freeswitch.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='6097172408' 
> initiator='pekka-free at freeswitch.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='0' name='PCMU' 
> clockrate='8000' bitrate='64000'/></description><transport 
> xmlns='http://www.google.com/transport/p2p'/></session></iq>]
> 2007-01-10 00:22:34 [DEBUG] libdingaling.c:1287 ldl_flush_queue() 
> Processing 1 packets in retry queue
> 2007-01-10 00:22:34 [DEBUG] libdingaling.c:1299 ldl_flush_queue() 
> Sending packet 300 (2 left)
> RECV[<iq xmlns='jabber:client' type='result' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk' id='300' 
> from='pekka at salo.intellectics.com/talk'/>]
> 2007-01-10 00:22:34 [DEBUG] libdingaling.c:843 cancel_retry() Cancel 
> packet 300
> 2007-01-10 00:22:34 [DEBUG] libdingaling.c:1287 ldl_flush_queue() 
> Processing 1 packets in retry queue
> 2007-01-10 00:22:34 [DEBUG] libdingaling.c:1307 ldl_flush_queue() 
> Discarding packet 300
> RECV[<iq xmlns='jabber:client' type='result' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk' id='300' 
> from='pekka at salo.intellectics.com/talk'/>]
> RECV[<iq xmlns='jabber:client' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk' type='set' 
> from='pekka at salo.intellectics.com/talk'><session 
> xmlns='http://www.google.com/session' type='candidates' 
> id='6097172408' 
> initiator='pekka-free at freeswitch.salo.intellectics.com/talk'><candidate 
> name='rtp' address='127.0.0.1' port='35230' 
> username='+NLGmBtjFFBH2Vix' password='OHcNbBRGpqbcLez2' preference='1' 
> protocol='udp' type='local' network='lo' generation='0'/><candidate 
> name='rtp' address='85.126.75.149' port='35233' 
> username='V8kH75eAXJEUPLBN' password='OMD1L2djPEqUx50+' preference='1' 
> protocol='udp' type='local' network='eth0' generation='0'/><candidate 
> name='rtp' address='10.51.7.253' port='35235' 
> username='pDEDtp4z7nGzBEqd' password='D/yVjHjifua8bcvm' preference='1' 
> protocol='udp' type='local' network='eth1' generation='0'/><candidate 
> name='rtp' address='10.51.0.253' port='35237' 
> username='XMwsqKQ8uqs2aXRB' password='MHufNu5DXyOjVeZP' preference='1' 
> protocol='udp' type='local' network='eth1:1' 
> generation='0'/><candidate name='rtp' address='10.0.0.1' port='35239' 
> username='9/tzeU8btabsnfra' password='FQ8D5kyI0Xtcrapa' preference='1' 
> protocol='udp' type='local' network='vmnet2' 
> generation='0'/><candidate name='rtp' address='192.168.20.1' 
> port='35241' username='2FAI3BPS0/5n10vJ' password='LAgzRhkyynb2soRp' 
> 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 freeswitch.salo.intellectics.com/talk'><query/></iq>]
> 2007-01-10 00:22:34 [DEBUG] libdingaling.c:315 parse_session_code() 
> Message for Session 6097172408
> 2007-01-10 00:22:36 [DEBUG] mod_sofia.c:4261 event_callback() event 
> [nua_r_register] status [401][Unauthorized] session: n/a
> 2007-01-10 00:22:38 [NOTICE] mod_sofia.c:4460 check_oreg() registering 
> sipdiscount
> 2007-01-10 00:22:43 [DEBUG] mod_dingaling.c:819 do_candidates() Send 
> Candidate 85.126.75.149:16384 [l1J2sfJ8neSkpVrU]
> SEND[<iq xmlns='jabber:client' 
> from='pekka-free at freeswitch.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='6097172408' 
> initiator='pekka-free at freeswitch.salo.intellectics.com/talk'><transport 
> xmlns='http://www.google.com/transport/p2p'><candidate name='rtp' 
> address='85.126.75.149' port='16384' username='l1J2sfJ8neSkpVrU' 
> password='5xHpXk2VpbByECKZ' preference='1.0' protocol='udp' 
> type='local' network='0' generation='0'/></transport></session></iq>]
> 2007-01-10 00:22:43 [DEBUG] libdingaling.c:1287 ldl_flush_queue() 
> Processing 1 packets in retry queue
> 2007-01-10 00:22:43 [DEBUG] libdingaling.c:1299 ldl_flush_queue() 
> Sending packet 301 (2 left)
> RECV[<iq xmlns='jabber:client' type='result' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk' id='301' 
> from='pekka at salo.intellectics.com/talk'/>]
> 2007-01-10 00:22:43 [DEBUG] libdingaling.c:843 cancel_retry() Cancel 
> packet 301
> 2007-01-10 00:22:43 [DEBUG] libdingaling.c:1287 ldl_flush_queue() 
> Processing 1 packets in retry queue
> 2007-01-10 00:22:43 [DEBUG] libdingaling.c:1307 ldl_flush_queue() 
> Discarding packet 301
> 2007-01-10 00:22:47 [DEBUG] mod_sofia.c:4261 event_callback() event 
> [nua_r_register] status [401][Unauthorized] session: n/a
> RECV[<iq xmlns='jabber:client' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk' type='set' 
> from='pekka at salo.intellectics.com/talk'><session 
> xmlns='http://www.google.com/session' type='accept' id='6097172408' 
> initiator='pekka-free at freeswitch.salo.intellectics.com/talk'><description 
> xmlns='http://www.google.com/session/phone'><payload-type 
> xmlns='http://www.google.com/session/phone' id='0' 
> name='PCMU'/></description></session></iq>]
> SEND[<iq type='result' to='pekka at salo.intellectics.com/talk' 
> from='pekka-free at freeswitch.salo.intellectics.com/talk'><query/></iq>]
> 2007-01-10 00:22:49 [DEBUG] libdingaling.c:315 parse_session_code() 
> Message for Session 6097172408
> 2007-01-10 00:22:49 [DEBUG] libdingaling.c:352 parse_session_code() 
> Add Payload [PCMU] id='0'
> 2007-01-10 00:22:49 [DEBUG] mod_dingaling.c:2264 handle_signalling() 
> using Existing session for 6097172408
> 2007-01-10 00:22:49 [DEBUG] mod_dingaling.c:2376 handle_signalling() 
> Already decided on a codec
> 2007-01-10 00:22:49 [NOTICE] mod_sofia.c:4460 check_oreg() registering 
> sipdiscount
> RECV[<iq xmlns='jabber:client' 
> to='pekka-free at freeswitch.salo.intellectics.com/talk' type='set' 
> from='pekka at salo.intellectics.com/talk'><session 
> xmlns='http://www.google.com/session' type='candidates' 
> id='6097172408' 
> initiator='pekka-free at freeswitch.salo.intellectics.com/talk'><candidate 
> name='rtp' address='127.0.0.1' port='35244' 
> username='OAHKnRCNFG0IhG0H' password='qVJCLDSvsklb7A25' preference='1' 
> protocol='udp' type='local' network='lo' generation='1'/><candidate 
> name='rtp' address='85.126.75.149' port='35246' 
> username='bMIUhaC/c9dkND/e' password='8kU/90osyeVvRNfH' preference='1' 
> protocol='udp' type='local' network='eth0' generation='1'/><candidate 
> name='rtp' address='10.51.7.253' port='35248' 
> username='xN8WF3XBQswPeeBj' password='Q8SwhelHuDSt2+vx' preference='1' 
> protocol='udp' type='local' network='eth1' generation='1'/><candidate 
> name='rtp' address='10.51.0.253' port='35250' 
> username='uroA/gWWfaUYjws5' password='DGKHl6dAfeAo3raY' preference='1' 
> protocol='udp' type='local' network='eth1:1' 
> generation='1'/><candidate name='rtp' address='10.0.0.1' port='35252' 
> username='tQRE8OU9GRtRnT4A' password='ys/02AlZ/3FvgtWe' preference='1' 
> protocol='udp' type='local' network='vmnet2' 
> generation='1'/><candidate name='rtp' address='192.168.20.1' 
> port='35254' username='Nk7Sq8m4BZhL4eYZ' password='6W3pApSTOWFVAdXi' 
> 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 freeswitch.salo.intellectics.com/talk'><query/></iq>]
> 2007-01-10 00:22:54 [DEBUG] libdingaling.c:315 parse_session_code() 
> Message for Session 6097172408
> 2007-01-10 00:22:58 [DEBUG] mod_sofia.c:4261 event_callback() event 
> [nua_r_register] status [401][Unauthorized] session: n/a
> 2007-01-10 00:23:00 [NOTICE] mod_sofia.c:4460 check_oreg() registering 
> sipdiscount
> 2007-01-10 00:23:02 [DEBUG] mod_sofia.c:4261 event_callback() event 
> [nua_i_state] status [487][Request Terminated] session: 
> sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147
> 2007-01-10 00:23:02 [DEBUG] mod_sofia.c:2503 sip_i_state() Channel 
> sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147 
> entering state [terminated]
> 2007-01-10 00:23:02 [DEBUG] mod_sofia.c:821 terminate_session() Term 
> called from line: 2780
> 2007-01-10 00:23:02 [NOTICE] mod_sofia.c:831 terminate_session() 
> Hangup 
> sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147 
> [CS_EXECUTE] [ORIGINATOR_CANCEL]
> 2007-01-10 00:23:02 [INFO] switch_channel.c:998 
> switch_channel_perform_hangup() Kill 
> sofia/freeswitch.salo.intellectics.com/+432256815811 at 85.126.75.147 [1]
> 2007-01-10 00:23:02 [NOTICE] switch_ivr.c:2698 switch_ivr_originate() 
> Hangup 
> DingaLing/pekka-free at freeswitch.salo.intellectics.com/pekka at salo.intellectics.com 
> [CS_INIT] [ORIGINATOR_CANCEL]
> 2007-01-10 00:23:02 [INFO] switch_channel.c:998 
> switch_channel_perform_hangup() Kill 
> DingaLing/pekka-free at freeswitch.salo.intellectics.com/pekka at salo.intellectics.com 
> [1]
> 2007-01-10 00:23:02 [DEBUG] libdingaling.c:232 ldl_session_destroy() 
> Destroyed Session 6097172408
> 2007-01-10 00:23:02 [DEBUG] mod_dingaling.c:1120 
> channel_kill_channel() 
> DingaLing/pekka-free at freeswitch.salo.intellectics.com/pekka at salo.intellectics.com 
> CHANNEL KILL
>
> _______________________________________________
> 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
>   

-- 
(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
h323:432256815811 at sip.intellectics.com
email: Pekka.Kurki at intellectics.com
www: http://pekka.kurki.at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pekka.kurki.vcf
Type: text/x-vcard
Size: 331 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070110/9ea1a79e/attachment-0003.vcf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3188 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070110/9ea1a79e/attachment-0003.bin 


More information about the FreeSWITCH-users mailing list