<div>if you are dialing out from zap channel, you can set the caller id with before dialing out and then you can dial like,</div>
<div> </div>
<div>exten => Dial(Zap/2/${EXTEN},15)</div>
<div> </div>
<div>and if you are ringing an analog phone connected to fxs port, then you can set the caller id before dialing, then you can dial it like,</div>
<div> </div>
<div>exten => Dial(Zap/2,15)</div>
<div> </div>
<div>Hope this helps.</div>
<div> </div>
<div><span class="gmail_quote">On 11/19/05, <b class="gmail_sendername">asterisk user dupont</b> <<a href="mailto:astermail@gmail.com">astermail@gmail.com</a>> wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">>asterisk user dupont wrote:<br>>> Hello.<br>>><br>>> My dial timeout worked perfectly on the last asterisk but not on the new.
<br>>><br>>> Here is my extension.conf :<br>>><br>>> exten => s,1,Answer()<br>>> exten => s,2,noop(${CALLERID})<br>>> exten => s,3,Set(TIMEOUT(response)=20)<br>>> exten => s,4,Background(test)
<br>>> exten => s,5,Dial(Zap/2|${CALLERID},15)<br>>> exten => s,6,GoTo(personnedispo,s,1)<br>>> exten => s,106,GoTo(tousoccupe,s,1)<br>><br>>Ok problems with the above:<br>><br>>1) exten => s,5,Dial(Zap/2|${CALLERID},15) should not contain the | - that is
<br>>a separator for parameters, so you are setting a timeout of callerid and<br>>options of 15.<br><br>So what do i have to use instead of | ?<br><br>As i am not in office today, i can not test.. but it seem curios to write :
<br>exten => s,5,Dial(Zap/2${CALLERID},15)<br><br>no ?<br><br>I think i must use a separator ?<br><br>><br>>2) If you would like to have +101 bridging you need to use the j option to the<br>>dial command now.<br>
><br><br>I didn't know that.<br><br>Thank you.<br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list
<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>