[Home]

Summary:ASTERISK-17606: no audio on iax calls if client registered.
Reporter:Oguzhan Kayhan (gobris)Labels:
Date Opened:2011-03-24 16:33:26Date Closed:2011-07-26 14:17:50
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:1.6.2.17 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) iax.sql
Description:Hello,
I compiled 1.6.2.17 from source on debian 2.6.32-5-686 kernel, even a few times.
I didnt make any tuning on iax2 config. I only got a simple dialplan for testing on extensions.conf

exten => _5XXX,1,DIAL(SIP/${EXTEN},20)
exten => _6XXX,1,DIAL(IAX2/${EXTEN},20)

I have no problem with any hard or soft  sip clients.All condecs seem fine.
But with iax2 clients, i tried zoiper, kiax and diax. None of them were successful with audio.
Only, if i unregister zoiper and dial a number, i can get audio. But if zoiper registers, no audio at all.
I tried different codes ulaw alaw gsm to figure out if it is with codec but no change.


Comments:By: Oguzhan Kayhan (gobris) 2011-03-26 05:16:41

I added an echo test (*66) also instead of direct calling to another client.
No luck. same results. If zoiper registered no audio on iax, if not registered all seems working fine.

By: Oguzhan Kayhan (gobris) 2011-03-28 13:35:11

Another update.. This issue only happens if sip and iax users are in realtime mode on mysql.
If iax users are on users file, it works..

By: Leif Madsen (lmadsen) 2011-04-05 15:13:05

The registration doesn't really make sense since the registration is only used to know the location of your client on the network should Asterisk need to send a call. When you are using realtime what does the database look like? What does the data look like on the row for the client when it works versus when it doesn't work?

By: Oguzhan Kayhan (gobris) 2011-04-12 02:16:52

I added sql statement for nonworking configuration for realtime iax client.
And this is the working config for user 6000 in users.conf

[6000]
fullname = Batur deneme1
email = batur@bilkent.edu.tr
secret = 6000
hasvoicemail = no
vmsecret = 1234
hassip = no
hasiax = yes
type = friend
context = default
host = dynamic
allow = ulaw;alaw;gsm;
LINEKEYS = 1
linenumber = 1
cid_number = 6000

I can regenerate this error evrytime if i switch iax_users to realtime.

By: Leif Madsen (lmadsen) 2011-05-10 14:14:16

Can you reproduce this on 1.8?

By: Oguzhan Kayhan (gobris) 2011-05-10 15:15:50

I don't have 1.8 installed on my systems.If i install it, i will try.

By: Russell Bryant (russell) 2011-07-26 14:17:44.862-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!