I have two SIP clients defined in sip.conf, as follows:
 
    [dave]
    username=dave
    type=friend
    secret=dave
    host=dynamic
    context=local
    accountcode=deskoptional
 
    [dave-laptop]
    username=dave
    type=friend
    secret=dave
    host=dynamic
    context=local
    accountcode=deskoptional
 
I want to refer to the username field in extensions.conf, but cannot find a function to do it.  I know Asterisk can see this value, because both "SIP SHOW PEER dave" and "SIP SHOW PEER dave-laptop" display the desired value under "Def. Username".
 
PS: I am new to Asterisk and this newsgroup, so a cc to my email address (nntp at deskoptional.com) would be appreciated.
 
 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to