mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Add callbackextension matching & realtime callbackextensions
This patch is based on the one by David Vossel, developer extrodinaire, at https://reviewboard.asterisk.org/r/344/. If multiple peers are defined with the same host/port, but differing callbackextensions, it chooses the peer with the matching callbackextension. Since callbackextension creates an outbound registration with the callbackextension as the Contact address, matching an incoming request by that (in addition to the host/port) makes a lot of sense. This patch also adds support for callbackextension to realtime by querying all peers with callbackextensions on reload and adding registrations for them. (closes issue ASTERISK-13456) Review: https://reviewboard.asterisk.org/r/344/ Review: https://reviewboard.asterisk.org/r/1717/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -71,7 +71,8 @@ lastms integer DEFAULT 0 NOT NULL,
|
||||
defaultuser character varying(80),
|
||||
fullcontact character varying(80),
|
||||
regserver character varying(30),
|
||||
useragent character varying(40)
|
||||
useragent character varying(40),
|
||||
callbackextension character varying(40)
|
||||
);
|
||||
|
||||
drop table voicemail_users;
|
||||
|
Reference in New Issue
Block a user