Summary:ASTERISK-16682: gtalk Unable to allocate RTP socket
Reporter:adria vidal (adriavidal)Labels:
Date Opened:2010-09-15 09:21:07Date Closed:2010-10-11 13:58:06
Versions:Frequency of
Environment:Attachments:( 0) gtalk.conf
( 1) jabber.conf
( 2) jingle.conf
Description:Trying to complete a call to gtalk give me thesese error.
The machine have 2 ip's, but have put bindaddr=XX.XX.XX.XX at gtalk.conf,jingle.conf and too at sip.conf


   -- Executing [600@from-internal:1] NoOp("SIP/adria-00000011", "from-internal , 600") in new stack
   -- Executing [600@from-internal:2] Dial("SIP/adria-00000011", "Gtalk/asterisk-xmpp/BBBB@gmail.com") in new stack
[2010-09-15 16:01:54] WARNING[27371]: res_rtp_asterisk.c:418 create_new_socket: Unable to allocate RTP socket: Address family not supported by protocol
[2010-09-15 16:01:54] ERROR[27371]: chan_gtalk.c:961 gtalk_alloc: Failed to create a new RTP instance (possibly an invalid bindaddr?)
[2010-09-15 16:01:54] WARNING[27371]: app_dial.c:2031 dial_exec_full: Unable to create channel of type 'Gtalk' (cause 0 - Unknown)
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Auto fallthrough, channel 'SIP/adria-00000011' status is 'CHANUNAVAIL'
Comments:By: Leif Madsen (lmadsen) 2010-09-15 15:41:28

I'm not sure why this is set to "Block" priority, so I'm dropping it to "Minor".

You will need to provide more information, at the very least the configuration used for reproducing this error.

My gut instinct is this may be a support error where you should get help from the asterisk-users list, but we'll determine that for sure after additional information has been provided.

By: adria vidal (adriavidal) 2010-09-16 02:38:55

Here are my configs, with the bindaddr= configured for my main ethernet interface.

By: adria vidal (adriavidal) 2010-09-22 10:09:58

any new about these ticket, have tried configuring into the machine two network interfaces?

By: adria vidal (adriavidal) 2010-09-24 06:39:03

I've removed the second interface, left bindaddr=
and get the same error.

I'm using the configs than come as default.

By: Elio (hellc2) 2010-09-28 05:05:18

Same happens to me.
Looks like be some bug at res_rtp_asterisk.c and the RTP allocating.

Same configuration works fine at  and

By: Leif Madsen (lmadsen) 2010-10-04 12:08:25

The issue has been triaged and will be assigned to a developer as soon as time and resources permit. Thanks!

By: Paul Belanger (pabelanger) 2010-10-08 09:36:15

Please retest with the lastest 1.8 branch, some fixes have recently been added to chan_gtalk.

By: serginuez (serginuez) 2010-10-11 03:56:09

It seems in 1.8 rc3 this issue seems fixed, with calls being connected both ways. I didn't get any audio though, but then maybe this is my fault, I still have to check it, but that is a completely different problem anyway.

By: Paul Belanger (pabelanger) 2010-10-11 13:58:05

Closing as this issue was fixed in 1.8-RC3.