<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
But what happens when the channel is busy etc?<br>
<br>
It does not seem to drop the "Attempt a naitive bridge". I saw this in
the commented out section and thought that it'll work but well it still
hangs at "Attempting a naitive bridge".<br>
<br>
[outgoing] ;Dial
"0" on the phone for external line<br>
<br>
exten => _0,1,Dial(Zap/g2/$EXTEN)<br>
exten => _0,2,Goto(_0-${DIALSTATUS},1)
;Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)<br>
<br>
exten => _0-ANSWER,1,Goto(_0,102)<br>
exten => _0-.,1,Goto(_0,1) ;Try
another line<br>
<br>
exten => _0,102,Congestion<br>
exten => _0,103,Hangup<br>
<br>
<br>
Hints?<br>
<pre class="moz-signature" cols="72">Kind Regards
Etienne
Technical Support
Kingsley Technologies
</pre>
Etienne Pretorius wrote:
<blockquote cite="mid424ED061.8000709@kingsley.co.za" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thank you very much, that sorted out the problem.<br>
<pre class="moz-signature" cols="72">Kind Regards
Etienne
</pre>
<br>
Steven Critchfield wrote:
<blockquote cite="mid1112460862.20453.6.camel@critch" type="cite">
<pre wrap="">On Sat, 2005-04-02 at 18:39 +0200, Etienne Pretorius wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Never Mind..... oops.
I just needed to play around with some syntax.
Zap/1,2,3,4/$EXTEN
Ps: Is there a better santax because 1-4 doesn't work.
</pre>
</blockquote>
<pre wrap=""><!---->
Look at groups in the /etc/asterisk/zaptel.conf
Once you define your groups, you can just
exten => _0,1,Dial(Zap/g1/$EXTEN)
And asterisk will pick some available channel out of the channels
defined in group 1 to use for dialing out.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Hi All * users...
Question:
In extensions.conf - I am awaire that you can use macro's but what
I am wondering about.. is that can you create a macro to do dynamic
Zap channel allocation for a out going call?
I don't want to reserve a channel/port in the TDM400P card for "Out
break" calls, so i was just wandering if some1 could help me a bit
over here.
[outgoing] ;Dial
"0" on the phone for external line
exten => _0,1,Dial(Zap/4/$EXTEN) ;<======= statically
allocated to Zap/4 needs to be dynamic
exten => _0,2,Goto(102)
exten => _0,102,Congestion
exten => _0,103,Hangup
I'll apreciate any help in this regard.
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>