beroNet / Open-PBX

embedded PBX based on Asterisk, which runs on a beroNet Gateway
MIT License
5 stars 3 forks source link

Groups can't be reached from external trunks #25

Open crich opened 10 years ago

crich commented 10 years ago

A Callgroup can't be reached from external trunks. Let's say the Group Number is 120, then the SIP Peer SIP/120 is dialed instead of the members of this group.

sebastianertz commented 10 years ago

I do not understand you. The number 120 can still be assigned only once (see db table sip_extensions)

crich commented 10 years ago

the problem is that callgroups can't be called if the call comes from a trunk. When the call comes in from an internal extension the callgroup can be called.

let's say there are 3 Users: 101,102 and 103 and a callgroup 120 which contains users 101 and 102.

when 103 dials 120 internally, the callgroup rings the users 101 and 102 but if from an external trunk the callgroup 120 is called, the pbx tries to call the user 120 and not the callgroup 120. I think it's a bug in the macro for incoming trunk calls.