[Asterisk-Users] Name/username (sip show peers)

Ronald Wiplinger ronald at elmit.com
Sat Jan 28 07:32:27 MST 2006


Pete Barnwell wrote:
> On Sat, 2006-01-28 at 13:13 +0800, Ronald Wiplinger wrote:
>   
>> How can I make it more readable?
>>
>> Name/username
>> 601/601
>> 123456789/123456789
>> voipbuster/abcd
>>
>>
>> 601 = hotline
>> 123456789 = Peter Pan
>>
>> only voipbuster/abcd  is easy read/understandable!
>>
>>
>>     
>
> I'm not entirely sure what you want here, but something like this might
> be easier to read:
>
> [globals]
> hotline=SIP/601
>
>
> [local-sip]
> exten => 601,Dial(${hotline},30,r)
>   

That still will give you   with sip show peers  (as mentioned in the 
Subjectline) still:

601/601

But I would like something:
hotline/601    or    601/hotline
123456789/Peter_Pan   or  Peter_Pan/123456789
.....


bye

Ronald Wiplinger




More information about the asterisk-users mailing list