[asterisk-users] [resolved] asterisk 1,4 and google talk

Mik Cheez michael_bulk at wildgate.com
Fri Nov 10 11:08:17 MST 2006


Mani,

I've gotten the same result both dialing from a gtalk client to SIP, as
well as an SIP call to gtalk.  You can run a "jabber debug" before the
call is placed to see more debug info on what's causing the crash.  With
the module in Beta, I believe it's just a bug that needs to be worked
out.  Below you'll see the output of one of my calls.

:M

sysmast01*CLI>
JABBER: gtalk_account INCOMING: <iq
to="xxxxxxxx at gmail.com/asterisk4273D1E7" type="set" id="35"
from="yyyyyyyy at gmail.com/Talk.v1001EE54E14"><session type="initiate"
id="2077360010" initiator="yyyyyyyy at gmail.com/Talk.v1001EE54E14"
xmlns="http://www.google.com/session"><description xml:lang="en"
xmlns="http://www.google.com/session/phone"><payload-type id="103"
name="ISAC" clockrate="16000"/><payload-type id="97" name="IPCMWB"
clockrate="16000" bitrate="80000"/><payload-type id="99" name="speex"
clockrate="16000" bitrate="22000"/><payload-type id="4" name="G723"
clockrate="8000" bitrate="6300"/><payload-type id="98" name="speex"
clockrate="8000" bitrate="11000"/><payload-type id="100" name="EG711U"
clockrate="8000" bitrate="64000"/><payload-type id="101" name="EG711A"
clockrate="8000" bitrate="64000"/><payload-type id="0" name="PCMU"
clockrate="8000" bitrate="64000"/><payload-type id="8" name="PCMA"
clockrate="8000" bitrate="64000"/><payload-type id="13" name="CN"
clockrate="8000"/><payload-type id="102" name="iLBC" clockrate="
sysmast01*CLI>
JABBER: gtalk_account INCOMING: 8000" bitrate="13300"/><payload-type
id="106" name="telephone-event"
clockrate="8000"/></description><transport
xmlns="http://www.google.com/transport/p2p"/></session></iq>
sysmast01*CLI> *** glibc detected *** /usr/sbin/asterisk:
munmap_chunk(): invalid pointer: 0xb7e47b73 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0x9b667b]
/usr/lib/asterisk/modules/chan_gtalk.so[0x82bde5]
/usr/lib/asterisk/modules/chan_gtalk.so[0x82c436]
/usr/lib/libiksemel.so.3(iks_filter_packet+0x129)[0x278789]
/usr/lib/asterisk/modules/res_jabber.so[0x4000c7]
/usr/lib/libiksemel.so.3[0x276b55]
/usr/lib/libiksemel.so.3(iks_parse+0x5c1)[0x274ad1]
/usr/lib/libiksemel.so.3(iks_recv+0x98)[0x276488]
/usr/lib/asterisk/modules/res_jabber.so[0x3fbd70]
/usr/sbin/asterisk[0x80eadfb]
/lib/libpthread.so.0[0xac03db]
/lib/libc.so.6(clone+0x5e)[0xa1a06e]


Mani Sridhar wrote:
> hi,
> it turns out that the iksemel library (which i installed using an rpm)
> was returning 0 when the function iks_has_tls() was called. it should
> return 1 otherwise res_jabber.o thinks gnuTLS is not installed. i
> confirmed this by running a test program i wrote, that calls
> iks_has_tls . it returned 0.
>
> i downloaded iksemel source, compiled it and now the test program
> returned 1.
>
> now, "jabber show connected" shows the google talk account as
> connected, but i don't see this buddy online on my other google talk
> buddy list.
>
> i added an extension in extensions.conf that calls Gtalk/buddy, and as
> soon as i call this extension, asterisk terminates due to a
> segmentation fault. it didn't seem like a core was dumped - i'm still
> looking for it.
>
> thanks
> sridhar
>
> _________________________________________________________________
> Live the life in style with MSN Lifestyle. Check out!
> http://content.msn.co.in/Lifestyle/Default
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>



More information about the asterisk-users mailing list