On Apr 22, 2010, at 3:38 PM, John Reynolds wrote: > > > On Thu, Apr 22, 2010 at 1:25 PM, Lonnie Abelbeck <[email protected]> > wrote: > > On Apr 22, 2010, at 3:19 PM, John Reynolds wrote: > > > Thanks to both Lonnie and David. I understand what your are saying. > > > > I set the values in the macro to: > > exten => s,n,Set(CALLERID(num)=${CALLERID(NUM)}) > > exten => s,n,Set(CALLERID(name)=${CALLERIE(NAME)}) > > Well, that just makes those lines NOP's, you could comment them out with the > same effect. > > I'd define the globals as suggested, you will find them handy as you add more > features to your extensions.conf . > > Lonnie > > The problem I'm working through on this is that I have more than one phone > number and name associated with the phone(s). CallerID and Name are set for > each of these line apperances, but from what I understand thus far, setting > the global variables to a single value would defeat this. > > ... perhaps I set the variables within the context for the different lines?
Yes, that would work if you want different external numbers associated with specific internal extensions. Or test for a specific local extension and set it properly for the corresponding outbound extension. I think we got the AstLinux questions answered. Lonnie > I think I need to study dial plans again/more, and rewrite my existing one. > It's basic and not really changed in the last 4 years. > > John R. > ------------------------------------------------------------------------------ > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. ------------------------------------------------------------------------------ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
