IAX endpoint not authenticating after changing (section) name

Hi,

When configuring an IAX trunk I had some issues when changing its (section) name, at first I had the following configuration that worked:

[commend]
type = friend
username = commend
secret = commend
host = dynamic
context = public
auth = md5
requirecalltoken = auto
allow = !all,g722,alaw,ulaw,gsm,h264,vp8
qualify = yes
qualifyfreqok = 60000
qualifyfreqnotok = 8000
qualifysmoothing = yes
language = en

After this I changed it’s (section) name from [commend] to [iax_test] and the endpoint could not be authenticated anymore.

Is this section name used as some kind of username, even if I configured a username?

Yes. The “username” option specifies the username to use when authenticating TO the given entity. Not the expected username when they authenticate to us.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.