IAX answer problem


#1

Hy all,

I have an asterisk box with 2 IAX user accounts. We both use Idefisk 1.33.
Both users when recive a call from the other and answer, on the other end is still ringin.
I am a newbe in asterisk, and I whant to know if the problem is from asterisk conf.

idefisk 1.33 (free edition)
Asterisk 1.2.4

iax.conf:
[general]
bindport=4569
bindaddr=0.0.0.0
authdebug=yes
disallow=all
allow=ilbc
allow=gsm
allow=alaw
allow=ulaw
jitterbuffer=yes

[user1]
type=friend
secret=xxxxxxxx
host=dynamic
notransfer=no
qualify=yes
context=DIALOUT

[user2]
type=friend
secret=xxxxxxxx
host=dynamic
notransfer=no
qualify=yes
context=DIALOUT

extensions.conf:
[general]
static=yes
writeprotect=yes
autofallthrough=yes

[globals]

[DIALOUT]
exten => user1,1,Dial(IAX2/user1)
exten => user2,1,Dial(IAX2/user2)

output in asterisk:
– Executing Dial(“IAX2/user1-9”, “IAX2/user2”) in new stack
– Called user2
– Call accepted by XXX.XXX.XXX.XXX (format ilbc)
– Format for call is ilbc
– IAX2/user2-16 is ringing
– IAX2/user2-16 answered IAX2/user1-9
– Attempting native bridge of IAX2/user1-9 and IAX2/user2-16
– Channel ‘IAX2/user1-9’ ready to transfer
– Channel ‘IAX2/user2-16’ ready to transfer
– Releasing IAX2/user2-16 and IAX2/user1-9
– Hungup ‘IAX2/user2-16’

Please help me,
Thanks in advance.


#2

Everything looks good. Try using a different soft phone and see if you get a different result (you could try firefly).


#3

I managed to solve this problem. I’ve added the:

notransfer=yes

for every user.