- add support for SCCP phones
- adds dial_suffix to allow some tweaking for SCCP phones
- move menu entry of asterisk servers to Settings >Configuration > Asterisk servers
- strip (0) from phone number in all scenarios
Added by me : re-org of res.users form view, to separate standard parameters from advanced/optional ones.
help="User-specific dial suffix such as aa=2wb for SCCP auto answer."),
'callerid':fields.char('Caller ID',size=50,
help="Caller ID used for the calls initiated by this user."),
# You'd probably think : Asterisk should reuse the callerID of sip.conf !
@ -372,6 +378,7 @@ class res_users(osv.osv):
('MGCP','MGCP'),
('mISDN','mISDN'),
('H323','H323'),
('SCCP','SCCP'),
],'Asterisk channel type',
help="Asterisk channel type, as used in the Asterisk dialplan. If the user has a regular IP phone, the channel type is 'SIP'."),
'alert_info':fields.char('User-specific Alert-Info SIP header',size=255,help="Set a user-specific Alert-Info header in SIP request to user's IP Phone for the click2dial feature. If empty, the Alert-Info header will not be added. You can use it to have a special ring tone for click2dial (a silent one !) or to activate auto-answer for example. If you want to have several variable headers, separate them with '|'."),