I can't see anything wrong with your dial plan.<div><br></div><div>The "User requested us to stop getting DNIS" basically means Asterisk says getting more DNIS is not useful. Each time I get a digit, I send the number to Asterisk and Asterisk checks the number against the dialplan, if adding more digits do not help to match extensions, then it will ask openr2 to stop getting DNIS.</div>
<div><br></div><div>So, if the telco tries to send 1234 as DNIS, but in the dialplan for that circuit you only have:</div><div><br></div><div>_XX,n, ...</div><div><br></div><div>_X,n, ...</div><div><br></div><div>Then Asterisk will see that only 1 and 2 digit numbers are valid dial plan numbers, as soon as receives DNIS 12 it will request to stop getting DNIS because adding another digit will not help to match any extension.</div>
<div><br></div><div>I suggest you to add a very simple dial plan with only</div><div><br></div><div>_X.,1,Answer and see if that way you can get DNIS, there is probably something in the extensions being included that is causing this.</div>
<div><br></div><div><br clear="all">Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><br>
<br><br><div class="gmail_quote">On Tue, May 25, 2010 at 5:19 PM, Arturo Ochoa <span dir="ltr"><<a href="mailto:arturo.era@gmail.com">arturo.era@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks Moy,<br><br>Well, I posted in pastebin: <a href="http://pastebin.com/ii737TtW" target="_blank">http://pastebin.com/ii737TtW</a><br><br>That's just part of the context that is in charge of receiving incoming calls from the card hooked to the PBX. Normally they dial 5 digits, and it can be some internall SIP Exten, or maybe another exten on different Asterisk.<br>
<br>What I don't understand is why in many other Asterisk systems plugged to Telcos for example, using OpenR2, I always received 4 digits for the incomming call (Telmex, Alestra). And it really is up to me, how to handle the incomming DID's, I always have at least one Incoming route configured to handle all the different DID's and send it to, for example some IVR or whatever. <br>
<br>Actually in this server, from the Telco perspective, I don't really care of the DNIS. The call is being answer and that's all they need. But on the other hand, incoming calls from the PBX, need to be routed to different places... that's the point I'm stuck with.<div class="im">
<br>
<br><br><br clear="all">Ing Arturo Ochoa <br>Network Admin at Electrosystems<br>Blog: <a href="http://arturoochoa.wordpress.com" target="_blank">http://arturoochoa.wordpress.com</a><br><br><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Tue, May 25, 2010 at 2:49 PM, Moises Silva <span dir="ltr"><<a href="mailto:moises.silva@gmail.com" target="_blank">moises.silva@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
This means the dialplan rules told us to stop getting DNIS. Pastebin the dialplan ( just the relevant context ).<br><br clear="all">Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>
t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a><br>
<br><br><div class="gmail_quote"><div><div></div><div>On Tue, May 25, 2010 at 4:33 PM, Arturo Ochoa <span dir="ltr"><<a href="mailto:arturo.era@gmail.com" target="_blank">arturo.era@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div>
Hi, <br><br>I'd like to know if someone can give some ideas on what's going on in here:<br><br>[15:52:50:188] [Thread: 3077299088] [Chan 62] - M - Getting DNIS digit 0<br>[15:52:50:188] [Thread: 3077299088] [Chan 62] - M - DNIS so far: 6, expected length: 5<br>
<b>[15:52:50:188] [Thread: 3077299088] [Chan 62] - M - User requested us to stop getting DNIS!</b><br>[15:52:50:188] [Thread: 3077299088] [Chan 62] - M - MF Tx >> 6 [ON]<br>[15:52:50:188] [Thread: 3077299088] [Chan 62] - M - scheduled timer id 2 (mf_back_cycle)<br>
<br><br>Openr2 1.3.0 with asterisk 1.4.31. <br><br>1 card connected to Alestra Telco<br>1 card connected to Ericsson PBX<br><br>Every incoming call, is recevied with only 1 DNIS digit. Doesn't matter what number of DNIS digits I configure.<br>
<br>Weird thing is that this server is being running since 3 years ago, but with the old mfcr2 release.<br><br>Any Ideas?<br><br>Thanks<br><br><br>Ing Arturo Ochoa <br>Network Admin at Electrosystems<br>Blog: <a href="http://arturoochoa.wordpress.com" target="_blank">http://arturoochoa.wordpress.com</a><br>
<br><br><br>
<br></div></div>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br></div>