2009/12/15 Olivier <oza-4...@myamail.com> > > > 2009/12/15 Steve Howes <steve-li...@geekinter.net> > > >> On 15 Dec 2009, at 10:42, Olivier wrote: >> > Unfortunately, it seems macro expansion doesn't occur in Line1 tab : >> > when I type $A or $(A) or ${A} or $GPP_A or $UID1 in User ID field >> > (in Line1 tab), asterisk receives a REGISTER message like : >> > handle_request_register: Registration from '${A} <sip:$ >> > {...@172.16.2.1 <a...@172.16.2.1>>' failed for '172.16.2.12' - No >> matching peer found >> >> Why not just set the User ID field in the XML? >> > > I could successfully set this value using : > <User_ID_1_>myid</User_ID_1_> > > But, I'm still fighting to set parameters from PSTN Line tab. I tried many > combinations with tags like : > <User_ID_PSTN_1_> or <User_ID_Line_1_> >
In XML config file, PSTN Line tab is referred to as "Line 2", so the line bellow works <User_ID_2_>myid</User_ID_2_> Cheers > > >> >> Steve >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> 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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users