<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Stefan,<br>
<br>
I have done what you told me to do, but nothing changed. Always the
same problem.<br>
<br>
Here my extensions.conf<br>
<br>
[originating_hind]<br>
; Anonymous call<br>
exten => _55tel_SIP.,1,Answer()<br>
exten => _55tel_SIP.,2,SetCallerPres(prohib)<br>
exten => _55tel_SIP.,3,Dial(SIP/${<a class="moz-txt-link-abbreviated" href="mailto:EXTEN:2}@openims.fr">EXTEN:2}@openims.fr</a>)<br>
exten => _55tel_SIP.,4,Hangup()<br>
<br>
[terminating_hind]<br>
; Deny anonymous call<br>
exten => _tel_SIP.,1,Goto(ivr_context,s,1)<br>
<br>
[ivr_context]<br>
exten => s,1,Answer()<br>
exten => s,2,Set(caller={CALLERID(name)})<br>
exten => s,n,GotoIf($["${caller}" = "Unknown"]?deny:allow)<br>
exten => s,n(allow),Dial(SIP/${<a class="moz-txt-link-abbreviated" href="mailto:EXTEN}@openims.fr">EXTEN}@openims.fr</a>)<br>
exten => s,n,Hangup()<br>
exten => s,n(deny),Hangup()<br>
<br>
Is there a problem in my file ?<br>
<br>
Regards<br>
<br>
Stefan Gofferje a écrit :
<blockquote cite="mid:48D3CF7A.50406@gofferje.homelinux.org" type="cite">
<pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:remi.druilhe@orange-ftgroup.com">remi.druilhe@orange-ftgroup.com</a> schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for help, but I don't understand what you say. How is it
possible to handle the error in the dialplan if my request return a 482
after entering Asterisk, but before accessing the dialplan ?
</pre>
</blockquote>
<pre wrap=""><!---->
Ok :). I meant, you should handle the whole thing in the dialplan
without creating a loop.
A loop is when a request is originating from the same PBX as it is
directed to.
Example:
Your Asterisk is at IP 192.168.1.1.
You have a phone context and an IVR context
[phones]
exten => 1234,1,Dial(<a class="moz-txt-link-abbreviated" href="mailto:SIP/ivr@192.168.1.1">SIP/ivr@192.168.1.1</a>) ;Loop, VERY BAD!
exten => 4321,1,Goto(ivr_context,s,1) ;This is how it should be
[ivr_context]
exten => s,1,Background (welcome)
...
Terve,
Stefan
</pre>
</blockquote>
--<br>
Rémi Druilhe<br>
<div class="moz-signature"><font face="TIMES"><font size="2"><br>
<br>
<br>
</font></font></div>
</body>
</html>