I have configure sip trunk, please find the below configuration file,
[etisalat]
type=peer
fromdomain=du.ae
fromuser=97144592000
username=97144592000p
sendrpid=yes
trustrpid=yes
secret=Password
host=10.59.108.25
dtmfmode=rfc2833
context=etisalat-incoming_old
disallow=all
allow=alaw
allow=ulaw
allow=g729
qualify=yes
nat=no
insecure=port,invite
port=5060
but outcalling is not done. Please find the below log,
== Using SIP RTP CoS mark 5
– Executing [0529334682@uaetestivr:1] Verbose(“SIP/6008-00000000”, "“outcalling to 0529334682"”) in new stack
outcalling to 0529334682
– Executing [0529334682@uaetestivr:2] Set(“SIP/6008-00000000”, “FILENAME=UAE06-1722160622.0”) in new stack
– Executing [0529334682@uaetestivr:3] MixMonitor(“SIP/6008-00000000”, “UAE06-1722160622.0.wav,a,mv /var/spool/asterisk/monitor/UAE06-1722160622.0.wav /var/spool/asterisk/monitor/WFH/”) in new stack
– Executing [0529334682@uaetestivr:4] Progress(“SIP/6008-00000000”, “”) in new stack
== Begin MixMonitor Recording SIP/6008-00000000
– Executing [0529334682@uaetestivr:5] Set(“SIP/6008-00000000”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
[2024-07-28 13:57:02.436] ERROR[9767][C-00000001]: pbx_functions.c:699 ast_func_write: Function AUDIOHOOK_INHERIT not registered
– Executing [0529334682@uaetestivr:6] SIPAddHeader(“SIP/6008-00000000”, “P-Preferred-Identity: sip:[email protected]”) in new stack
– Executing [0529334682@uaetestivr:7] Set(“SIP/6008-00000000”, “CALLERID(num)=97144592010”) in new stack
– Executing [0529334682@uaetestivr:8] Dial(“SIP/6008-00000000”, “SIP/etisalat/0529334682”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/etisalat/0529334682
[2024-07-28 13:57:02.449] NOTICE[9741][C-00000001]: chan_sip.c:24409 handle_response_invite: Failed to authenticate on INVITE to ‘sip:[email protected];tag=as458de263’
– SIP/etisalat-00000001 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [0529334682@uaetestivr:9] Hangup(“SIP/6008-00000000”, “”) in new stack
== Spawn extension (uaetestivr, 0529334682, 9) exited non-zero on ‘SIP/6008-00000000’
== MixMonitor close filestream (mixed)
== Executing [mv /var/spool/asterisk/monitor/UAE06-1722160622.0.wav /var/spool/asterisk/monitor/WFH/]
== End MixMonitor Recording SIP/6008-00000000
localhost*CLI>