Thanks, yes it helped a lot. I didn't understand the sense of contexts in such cases.
Thanks and regards, Jean-Christophe ----- Original Message ----- From: "WipeOut" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 20, 2003 3:33 PM Subject: Re: [Asterisk-Users] Playing around MSNs > Jean-Christophe Heger wrote: > > > Let's say I have 3 IP phones (A, B, C) and 3 MSNs (1, 2, 3). > > > > How can I define that the incoming MSN 1 is redirected to A, 2 to B > > and 3 to C ? > > And how can I define that the A phone uses the outgoing MSN 1, etc ? > > > > Actually, I'm using the CAPI channel driver, but any help is welcome. > > > > Jean-Christophe > > The MSN will be passed to Asterisk when the call comes in, so in the > context where you send the inbound call create an entry similar to this.. > > exten => msn1,1,GoTo(context,exten,priority) > > So if your MSN was 555 and the extension was 22 in the [users] context > the line would be.. > > exten => 55,1,GoTo(users,22,1) > > Hope that helps.. > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
