[asterisk-users] why does users.conf generate SIP peer and SIP user?
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Jan 7 06:32:56 CST 2009
There is also type=[user|peer|friend] in chan_iax and chan_h323
there is also type=h323|alias in chan_h323
maybe it is better to use in users.conf another variable, e.g.
siptype=....
or
h323type=....
regards
klaus
Tzafrir Cohen schrieb:
> On Tue, Dec 23, 2008 at 10:35:19AM +0100, Klaus Darilion wrote:
>> Hi!
>>
>> I wonder why users.conf generates a SIP user and a SIP peer? Why is it
>> not possible to set type=... in users.conf? (Asterisk 1.4.22)
>
> users.conf is a hack to generate a "typical" Asterisk configuration
> easily.
>
> So I figure that patches are welcomed. Assuming that the "type" won't
> have any strange ill-effects on any other module that parses that file:
>
> A quick grep in trunk gives:
>
> apps/app_directory.c
> apps/app_voicemail.c
> channels/chan_agent.c
> channels/chan_dahdi.c
> channels/chan_h323.c
> channels/chan_iax2.c
> channels/chan_sip.c
> main/manager.c
> pbx/pbx_config.c
> res/res_phoneprov.c
>
More information about the asterisk-users
mailing list