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! bye Ronald Wiplinger
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) HTH Pete
Ronald Wiplinger
2006-Jan-28 08:23 UTC
[Asterisk-Users] Name/username (sip show peers) - ok in sip.conf, but how in REAL-TIME?
Pete Barnwell wrote:> On Sat, 2006-01-28 at 22:32 +0800, Ronald Wiplinger wrote: > > [snip] > > > > asterisk*CLI> sip show peers > Name/username Host Dyn Nat ACL Port Status > PeteB/peteb (Unspecified) D 0 UNKNOWN > > > > The username is the username the sip device registered with, the name is > the start of the definition (not sure what the official name for it is!) > > This is the def in sip.conf:- > > [PeteB] > type=friend > careinvite=no > qualify=yes > username=peteb > secret=123456 > host=dynamic > context=internal > dtmfmode=rfc2833 > > Think that covers it ;) >Thanks Pete, this works now well if it is in sip.conf, but I had no success with it if I use it in Real-time. What do I need to do there? bye Ronald Wiplinger