Cant receive calls on my iax2 softphone (Diax)


#1

I can make calls from my Diax iax2 softphone, but can’t receive any,

here are the files:

iax.conf

[mque2]
type=user
host=dynamic
context=softphone
secret=1234
qualify=yes

extensions.conf

[softphone]
exten => 92,1,Dial(iax2/mque2:1234@10.0.0.1,90,tr)

I’ve also tested other dial lines like:
Dial(iax2/mque2:1234@10.0.0.1/…

without luck, but haven’t found the right way to set it,

I am getting this

-- Executing Dial("SIP/7702-0c8b", "iax2/mque2:1234@10.0.0.1|90|tr") in new stack
-- Executing Dial("SIP/7702-6a2a", "iax2/mque2:1234@10.0.0.1|90|tr") in new stack
-- Called mque2:1234@10.0.0.1
-- Hungup 'IAX2/10.0.0.1:4569/1'

softphone never rings

I appreciate if anyone can take one minute to correct this line please


#2

The problem is type=user. A ‘user’ can only make calls and a ‘peer’ receives calls. A ‘friend’ can do both. Change the type and reload the config files.