[asterisk-users] OT - SPA3102 - Provisioning with config file [SOLVED]

Olivier oza-4h07 at myamail.com
Tue Dec 15 08:07:35 CST 2009


2009/12/15 Olivier <oza-4h07 at myamail.com>

>
>
> 2009/12/15 Steve Howes <steve-lists at 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:$
>> > {A}@172.16.2.1 <A%7D at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091215/b39ac429/attachment.htm 


More information about the asterisk-users mailing list