Solved the problem by dialing the local channel with music and then subsequently dialing pjsip channels, but now occasionally I encounter the message “Exceptionally long voice queue length queuing” when ANSWER occurs and asterisk tries to merge channels.