Using Dial(SIP/XXXXXXXXXX@voipms&SIP/YYYYYYYYYY@voipms) from the dialplan, I am able to call two numbers and whichever is answered first is connected while the other is hung up. I would like to use this same method for a call file, but it doesn’t seem to work. I have tried it with the Channel: set to SIP/XXXXXXXXXX@voipms&SIP/YYYYYYYYYY@voipms, but I have also tried it with simple IAX2 soft phones, IAX2/100&IAX2/101. Both fail. Here is a snippet of my CLI output when I move the call file to the outgoing directory.
-- Attempting call on IAX2/100&IAX2/101 for s@outgoing:1 (Retry 1)
[Oct 31 08:44:14] ERROR: netsock2.c:245 ast_sockaddr_resolve: getaddrinfo(“100&IAX2”, “(null)”, …): Name or service not known
[Oct 31 08:44:14] WARNING: acl.c:569 resolve_first: Unable to lookup ‘100&IAX2’
[Oct 31 08:44:14] WARNING: chan_iax2.c:4554 create_addr: No such host: 100&IAX2
[Oct 31 08:44:14] NOTICE: channel.c:5167 __ast_request_and_dial: Unable to request channel IAX2/100&IAX2/101
Any help would be appreciated.