<br><br><div class="gmail_quote">2009/12/15 Olivier <span dir="ltr"><<a href="mailto:oza-4h07@myamail.com">oza-4h07@myamail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote">2009/12/15 Steve Howes <span dir="ltr"><<a href="mailto:steve-lists@geekinter.net" target="_blank">steve-lists@geekinter.net</a>></span><div class="im"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
On 15 Dec 2009, at 10:42, Olivier wrote:<br>
> Unfortunately, it seems macro expansion doesn't occur in Line1 tab :<br>
> when I type $A or $(A) or ${A} or $GPP_A or $UID1 in User ID field<br>
> (in Line1 tab), asterisk receives a REGISTER message like :<br>
> handle_request_register: Registration from '${A} <sip:$<br>
> {<a href="mailto:A%7D@172.16.2.1" target="_blank">A}@172.16.2.1</a>>' failed for '172.16.2.12' - No matching peer found<br>
<br>
</div>Why not just set the User ID field in the XML?<br></blockquote></div><div><br>I could successfully set this value using :<br><User_ID_1_>myid</User_ID_1_><br><br>But, I'm still fighting to set parameters from PSTN Line tab. I tried many combinations with tags like :<br>
<User_ID_PSTN_1_> or <User_ID_Line_1_><br></div></div></blockquote><div><br>In XML config file, PSTN Line tab is referred to as "Line 2", so the line bellow works<br><User_ID_2_>myid</User_ID_2_> <br>
</div><div><br>Cheers<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div> </div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Steve<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div></div><br>
</blockquote></div><br>