[Asterisk-Users] new minor bug in CVS

Gregg Lebovitz gregg at lebovitz.net
Tue Mar 11 16:19:18 MST 2003


Hi everyone,

Has anyone else noticed that in the recent CVS builds that during
asterisk startup, the function build_peer now complains about the entry
"type=peer" or "type=friend" saying it will be ignored. 

Looks like someone added a catchall else statement to build_peer, but
never added a case to catch "type" (it's actually read and processed in
the set_config function).

I am seeing the same issue with build_peer in chan_iax.c, chan_sip.c,
and others.

In chan_iax.c, the build_user function doesn't exhibit the same behavior
because no one added the same catchall "else" clause to build_user as
they did in build_peer.

Gregg




More information about the asterisk-users mailing list