Erdem HAKİ
2005-Jun-22 01:58 UTC
[Asterisk-Users] call divert to TRUNK , if one number is unregistered?
I have a question. I have two numbers on Asterisk like 902121234567 and 902123645789 and i want to divert first number's call to Trunk if second number is unregistered. Is it possible? ?f yes, how? Flow Diagram: *Two numbers are registered on Asterisk 902121234567---------------------------- registered to Asterisk 902123645789---------------------------- registered to Asterisk *One number is registered, other one is not registered 902121234567---------------------------- registered to Asterisk 902123645789-------------x not registered to Asterisk *So first number want to make a call second one (desired situation) 902121234567----------------------------> Asterisk --> Trunk Thanks for your interest. Erdem HAKI - erdemh@tesas.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050622/0d5ccab6/attachment.htm
Mohamed A. Gombolaty
2005-Jun-22 04:26 UTC
[Asterisk-Users] call divert to TRUNK ,if one number is unregistered?
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <body link="#0000FF" vlink="#800080" lang="TR"> Hi Erdem, <p>Can you try to put another dial command that points to the trunk afetr the dial command to the SIP? <p>fro example: <p>exten => XXXXXXX,1, dial(sip/xxxx,20,r) <br>exten => XXXXXXX,2,dial(zap/XXXX) -----> note here that I am not sure if the order number should be 2 or 102 but if this didn't work try the other one. <p>Thx <br>MAG <br> <br> <br> <br> <p>Erdem HAKÝ wrote: <blockquote TYPE=CITE> <div class=Section1> <div class="MsoNormal"><font face="Arial"><font size=-1>I have a question.</font></font></div> <div class="MsoNormal"></div> <p class="MsoNormal"><font face="Arial"><font size=-1>I have two numbers on Asterisk like 902121234567 and 902123645789 and i want to divert first number's call to Trunk if second number is unregistered. Is it possible? Ýf yes, how?</font></font> <br> <div class="MsoNormal"></div> <p class="MsoNormal"><font face="Arial"><font size=-1>Flow Diagram:</font></font> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>*Two numbers are registered on Asterisk</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>902121234567---------------------------- registered to Asterisk</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>902123645789---------------------------- registered to Asterisk</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>*One number is registered, other one is not registered</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>902121234567---------------------------- registered to Asterisk</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>902123645789-------------x not registered to Asterisk</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>*So first number want to make a call second one (desired situation)</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font size=-1><font face="Arial">902121234567----------------------------> Asterisk </span><span style='font-size:10.0pt;font-family:Wingdings'></font><font face="Wingdings">à</span><span style='font-size:10.0pt;font-family:Arial'></font><font face="Arial"> Trunk</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>Thanks for your interest.</font></font><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><o:p></o:p></span> <p class="MsoNormal"><span style='font-size:10.0pt; font-family:Arial'><font face="Arial"><font size=-1>Erdem HAKI - erdemh@tesas.com</font></font><o:p></o:p></span></div> <pre> <hr WIDTH="90%" SIZE=4>_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com <a 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 href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre> </blockquote> <pre>-- Thx MAG</pre> </body> </html>