I am a newbie in asterisk world. i installed asterisk 1.4 latest version from svn. and added this context in the extension.conf
exten => _XXXX,1,Answer()
exten => _XXXX,n,Wait(2)
exten => _XXXX,n,Transfer(SIPemail@example.com)
and in the sip.conf
register => 7000:7000:firstname.lastname@example.org/1612
what i wanted to do is transfer any incoming call, to ‘queue’ context, to 7005 number. asterisk sends a REFER message and gets 401 Unauthorized.
Can anybody tell me where to provide the authentication information so that the call gets transferred???
because asterisk can authenticate when registration is challenged…