[Spce-user] Custom ringback tones from sound set

Andreas Granig agranig at sipwise.com
Wed Sep 4 17:47:05 EDT 2013


Hi,

On 09/03/2013 02:35 PM, Francisco Franco Gallego wrote:
> Is possible to use Sound Set to create custom ringback tones for domains
> and users?
>
> I know need to use sems and add code in proxy.cfg file but i not know
> how to call media server to play files in early media

Not easily, honestly.

 From a proxy perspective, you do it similar to ROUTE_EARLY_REJECT with 
the mandatory options set before calling this route (search for that 
route name in proxy.cfg.tt2 to see some examples).

However the sems app used in this call scenario 
(/etc/ngcp-config/templates/etc/sems/dsm/early_dbprompt.dsm.tt2) and the 
corresponding proxy config are designed to reject the call afterwards. 
What you'd need though is some adapted sems app which is called by the 
sems sbc module to generate a 183 and start playing media back to the 
calling party, continue establishing the call as usual, and subsequently 
drop any 180/183 coming from the called party. It's probably best to ask 
on the sems-users list how to accomplish that with sems on top of the 
sbc module.

Andreas




More information about the Spce-user mailing list