I have configured two non-identical trunks with different parameters for testing purposes on asterisk (11.7.0) with Elastix (2.4.0 x64) on a Linux based machine (x86_64; 2.6.18) . None of them worked out (when I try calling these numbers it doesn’t even connect to them). These are the configuration setups I came up with:
disallow=all username= type=friend secret= qualify=yes nat=yes insecure=port,invite host= fromdomain= dtmfmode=auto context=ext-did canreinvite=no auth=plaintext allow=alaw&ulaw port=5060 t38pt_udptl=yes
username= type=friend secret= reinvite=yes realm=asterisk qualify=no port=5060 nat=yes insecure=very host= dtmfmode=rfc2833 disallow=all canreinvite=yes auth=md5 allow=ulaw&alaw&gsm
Also the log is quite full of these kind of reports :
NOTICE[C-0000004f] chan_sip.c: Failed to authenticate device 201<sip:201@(Server IP)>;tag=0f2dd608 NOTICE[C-00000050] chan_sip.c: Failed to authenticate device 201<sip:201@(Server IP)>;tag=d84346e6 NOTICE[C-00000051] chan_sip.c: Failed to authenticate device 201<sip:201@(Server IP)>;tag=e6a6e67c VERBOSE asterisk.c: -- Remote UNIX connection VERBOSE asterisk.c: -- Remote UNIX connection disconnected
Any kind of help in this matter is appreciated. Thank you for your time.