Outbound call switches to hold music and then drops

I am getting an error consistently with certain numbers being dialed out to a sip trunk. It has happened with 4 numbers out of hundreds, but is consistent when redialed.

When the number dials, it rings fine, but when it goes to the dialed person’s voicemail, instead it switches to our hold music and plays an IVR of ours before disconnecting.

I have found related a forum post at:http://www.vicidial.org/VICIDIALforum/viewtopic.php?p=37913&sid=ea5884c70ee6e97d0f72b84ce965f0d2

…but it did not say what the resolution was, in the end.

Any ideas?


CLI:

-- SIP/theprovidername-0962d310 answered SIP/101-b7c0c178                                                                         
-- Started music on hold, class 'default', on SIP/101-b7c0c178                                                           
-- Stopped music on hold on SIP/101-b7c0c178                                                                             
-- Started music on hold, class 'default', on SIP/101-b7c0c178                                                           
-- Stopped music on hold on SIP/101-b7c0c178

== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/101-b7c0c178’ in macro ‘dialout-trunk’
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/101-b7c0c178’
– Executing [[email protected]:1] Macro(“SIP/101-b7c0c178”, “hangupcall|”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/101-b7c0c178”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] GotoIf(“SIP/101-b7c0c178”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,5)
– Executing [[email protected]:5] GotoIf(“SIP/101-b7c0c178”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] Hangup(“SIP/101-b7c0c178”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/101-b7c0c178’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/101-b7c0c178’