Media injection may be configured on the Acme Packet SBC using the Local Media Playback SPL. An SPL is a plug-in on the SBC based on LUA scripting and each SPL on the SBC enhances its features and capabilities.
The Local Media Playback SPL is included in the base code of eCZ730m2 and later releases.
The following are the playback options and determine when it’s triggered:
Media files must be properly encoded in the expected codec then uploaded to the /code/media folder on the SBC.
The following example shows User A calling User B. The called party (B) responds with 183 Session Progress. Let us assume 183 is causing no ringback (common) and we want to use the SBC to insert the ringback tone. The SBC knows to stop playing media once 200 OK is received and it will proxy media from the endpoints.
Setting up the Playback Configuration
The next step is to enable the spl-config option in the session-agent configuration. It can be applied to multiple session-agents. Another alternative is set the spl-config on a Realm.
The SBC will send MAJOR alarms if there are issues with playback. The following commands show playback statistics and errors.
Acme Packet SBC documentation is publicly available here.