I've got my MSN's going, I'll just share how I did it below: My initial assumption was wrong. I'm supposed to have one section per ISDN channel listing all the MSN's chan_misdn is responsible for. When one of those MSN's is detected chan_misdn is supposed to jump into the dialplan in the specified context at the extension specified in the MSN.
What I did was fairly simple. First of all I had to set "immediate=yes". Unless I had that option chan_misdn would not pick up incoming ISDN calls. With that option set to "yes" chan_misdn did exactly what the documentation sad: It jumped in the specified context at the "s" extension. So my dialplan would receive no info on the called MSN. Next I entered the directory where I had the sources for chan_misdn and griped for "Starting Ast ctx". It only appears in one file. Three lines lower in the source file is a line that changes the extension to "s". I simply commented out that line, rebuilt chan_misdn and voila: I've got my MSN's in the dialplan! Finally I'm not sure I found a small compatibility problem between chan_misdn and the Romanian implementation of ISDN or I simply solved a configuration problem with a huge hammer but I'm happy it works! > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Cosmin Prund > Sent: Tuesday, April 25, 2006 10:41 PM > To: [email protected] > Subject: [Asterisk-Users] Help on chan_misdn and MSN's > > Quick question: > Is there a way to distinguish between calling MSN's when using chan_misdn? > > More info: > I've got my ISDN2 (EuroISDN) up and running here in Romania with 1 base > number plus 5 MSN's. Now I want to my * to do different things when > receiving a call on from different MSN's (like forwarding the call to my > FAX > machine or forwarding the call to my mobile). > > The obvious way of doing this would be to set up different "sections" in > the > misdn.conf file for the same port (I only have one port), using different > settings for the msns. Unfortunately it seems that the channel driver will > only remember the last section it sees for a given channel so I can only > use > "*" as the msn - and that defeats the purpose. > > If any other info is required I'll happily provide it. I'm not including > any > other info at the moment because I'm unable to "filter" the list myself > and > the list of things I've been doing today is veeeeery long (starts with > downloading kernel 2.6.16.11 off kernel.org, patching for mISDN, > downloading > chan_misdn, compiling everything... waaay too long list, most of it > irrelevant) > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
