<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div>I have the following senerio.</div>
<div> </div>
<div>Call file calls 1st party.</div>
<div>When connected give called party option to connect to second party.</div>
<div> </div>
<div>Issue Dial to second party. Caller answers and the two are bridged together.</div>
<div>My issue is that 4 out of 5 calls fail to bridge the audio.</div>
<div> </div>
<div>Am I missing something or is there some kind of bug? Here is my test dialplan </div>
<div> </div>
<blockquote>
<div>
<p>;Dialer Base Code Files.<br />
;Variables are sent in from .call file<br />
[calluser-intake]<br />
exten => s,1,NoOp(Start Call Intake)<br />
exten => s,2,NoOp(Setup any vars)<br />
exten => s,n,Set(_g_pmtPath=/vapp/dialerprompts/)<br />
exten => s,n,NoOp(What is Path = ${g_pmtPath})<br />
exten => s,n,NoOp(Read Call File Vars)<br />
exten => s,n,NoOp(Dial To - ${l_DialTo})<br />
exten => s,n,NoOp(Proxy - Proxy.${l_Proxy})<br />
exten => s,n,NoOp(Carrier Trunk - ${l_Carrier})<br />
exten => s,n,Set(_l_CallerIDnum=${CALLERID(num)})<br />
exten => s,n,Set(CALLERID(num)=${g_SIPUser})<br />
exten => s,n,Dial(<a href="mailto:PJSIP/${l_DialTo}@proxy_${l_Proxy},30,b(dialer-header^s^1)G(dialer-playmsg^s^1">PJSIP/${l_DialTo}@proxy_${l_Proxy},30,b(dialer-header^s^1)G(dialer-playmsg^s^1</a>))</p>
<p>[dialer-header]<br />
exten => s,1,Set(PJSIP_HEADER(add,X-Carrier)=${l_Carrier})<br />
same => n,Set(PJSIP_HEADER(add,X-CallerID)=${l_CallerIDnum})<br />
same => n,NoOp(X-Carrier = ${PJSIP_HEADER(read,X-Carrier)})<br />
same => n,Set(CONNECTEDLINE(number,i)=vap_002)<br />
same => n,DumpChan(1)<br />
same => n,Return()</p>
<p>[dialer-playmsg]<br />
exten => s,1,Goto(hold,1)<br />
same => n,NoOp(Enter Play Message)<br />
same => n,NoOp(Path = ${g_pmtPath})<br />
same => n,SayAlpha(${g_SIPUser})<br />
same => n,BackGround(${g_pmtPath}Intro)<br />
same => n,WaitExten(60)</p>
<p>exten => 2,1,NoOp(Dial Through)<br />
same => n,Set(_l_CallerIDnum=6168310000)<br />
same => n,Set(_l_Carrier=0001)<br />
same => n,Set(l_DialTo=6167761066)<br />
same => n,Set(l_Proxy=002)<br />
same => n,Dial(<a href="mailto:PJSIP/${l_DialTo}@proxy_001,30,b(dialer-header^s^1">PJSIP/${l_DialTo}@proxy_001,30,b(dialer-header^s^1</a>))</p>
<p>exten => _X,1,NoOp(Digit Entry)<br />
exten => _X,n,NoOp(Log Response)<br />
exten => _X,n,Playback(${g_pmtPath}YouPressed)<br />
exten => _X,n,SayNumber(${EXTEN})</p>
<p>exten => hold,1,NoOp(Park Called)<br />
exten => hold,n,While($[1 < 5])<br />
exten => hold,n,Wait(90)<br />
exten => hold,n,EndWhile</p>
</div>
</blockquote>
<div> </div>
<div>Any ideas on why the media would not flowing after it sates they bridge has completed</div>
<div> </div>
<div>Another point. If I use a b option in the second dial. to call another context on connect of the second call. I get audio played on that both caller and callee channels.</div>
<div> </div>
<div>Thanks<br />
<br />
Bryant </div></span>