The GOIP single server mode will help in supporting the multiple tenants. The call within the GOIP trunk will be randomly assigned to the any of the available channel. However, as for the incoming, we will have to configure the PSTN to VOIP forwarding. The good thing is that the GOIP allows you to specify the call group ext number. hence, I defined a generic call group no. 991 for all the SIM.
As for the 991, I customised the "extensions_custom.conf" and the 991 will call the agi in the "callgroup_mapping.agi" /var/lib/asterisk/agi-bin/
within this agi, it will select the last extension e.g 7109 which calls the caller id. the script will then check on the "goip_callgroup" table. in this table, you shall define which call group that the call shall route to for incoming. e.g if any of the caller calling 7109, it will route to the same ext. or you have an option to divert the call to another ext or even to a group of ext e.g 7109-6012xxxxx#-2701
With the above, I can upsell the sim base trunk to customer with more attractive rate.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment