I understand the “ex-girlfriend” situation, in fact I want to do that, the problem is when I don´t put the last line and call from 92 or 91 this don´t work.
I put the ex-girlfriend exception because without this, calls from 91 and 92 don´t match their extensions. On Mon, Mar 8, 2010 at 4:52 PM, Danny Nicholas <da...@debsinc.com> wrote: > You made the troncal-sip context into a “ex-girlfriend” situation where > only calls from extensions 91 and 92 would process. When you added the last > line, that made it an open context with two egf exceptions. > > > ------------------------------ > > *From:* asterisk-users-boun...@lists.digium.com [mailto: > asterisk-users-boun...@lists.digium.com] *On Behalf Of *equis software > *Sent:* Monday, March 08, 2010 1:46 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* [asterisk-users] Dialplan behaviour > > > > I have this > > [TRONCAL-SIP] > exten=>225/91,1,Answer > exten=>225/91,2,Echo > exten=>225/91,3,Hangup > > exten=>225/92,1,Answer > exten=>225/92,2,Playback(conf-invalid) > exten=>225/92,3,Hangup > > When I make a call > > CLI> -- Recv IAM CIC=8 ANI=91 DNI=225 RNI= redirect=no/0 complete=1 > > Dont work > > > If I add this rule > exten=>225,1,Answer > > Works ok > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users