diff options
author | spag <spag@golwen.net> | 2013-02-21 14:03:47 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-21 14:03:47 +0100 |
commit | aee59991ee59c6b3a49133ca1afa080d0ead6440 (patch) | |
tree | e3c388e620f334851d9bd35aa5083b235f531f66 /misc/freeswitch/scripts/dialplan/dialplan.lua | |
parent | 4d73d669131d06e6a4827b70de037ab2c2c65b1b (diff) |
pickup groups support added
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/dialplan.lua')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/dialplan.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua index b27bb9d..d82e6c0 100644 --- a/misc/freeswitch/scripts/dialplan/dialplan.lua +++ b/misc/freeswitch/scripts/dialplan/dialplan.lua @@ -375,6 +375,7 @@ function Dialplan.dial(self, destination) if destination.account.class == 'sipaccount' then destination.callee_id_name = destination.account.record.caller_name; self.caller:set_callee_id(destination.number, destination.account.record.caller_name); + destination.pickup_groups = { 's' .. destination.account.id }; end end |