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:

  • playback-on-183-to-originator
  • playback-on-183-from-terminator
  • playback-on-refer
  • playback-on-header

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.

  1. Jakke says:

    Welcome back Mark !!!

  2. Steffen says:

    Hi Mark,
    interesting post. Many thanks.
    I have a interesting use case in this direction. Eventual you could give me some inputs:

    Call Scenario:

    User X on PBX makes an outside Call over the SBC to User B in PSTN

    SBC must check the number of User X and must play an Announcement to User B after he picks up the phone.

    User X are +/- 200 different phone numbers. These must be verified by the SBC.

    What do you think, is this possible ?

    Many thanks
    Steffen

  3. Mark says:

    You can create a single local-policy that uses an LRT file that contains the 200+ numbers where media playback is required. Because playback can be based on realms, session agents, or sip interfaces, you could have the next-hop realm for that local-policy trigger the media playback.