Hello, [EMAIL PROTECTED] wrote: > Hi > > I am running SEMS-1.0.0 stand-alone with sipctrl. > > Expected to use a URI in the format > sip:[EMAIL PROTECTED];play=file://myannouncement.wav to play an > announcement. > > Changed the config to use mapping. > Added a line in mapping: ^sip:annc=>announcement following > ^sip:101=>announcement statement > > All I get is the default message played. > Enabling Debug indicates that it is looking for files: > server_IP/annc.wav and annc.wav > > Renaming files to annc.wav and 101.wav means it plays the renamed files > ok. > > How do I get it to play announcements in the URI format that matches the > RFC? annc_service from the application development tutorial (apps/tutorial/annc_service/) implements RFC4240 announcement service as python (ivr) application. use ^sip:101=>annc_service or application=annc_service, load the ivr plug-in and do $ make -C apps/tutorial/annc_service/ install or point script_path in ivr.conf to the path of apps/tutorial/annc_service/. As I am reading in http://ftp.iptel.org/pub/sems/doc/current/ModuleDoc_annc_service.html : supported parameters: play, repeat, duration, delay
> Will I have to run SEMS with SER/OPENSER SIP stack if all I need are > basic announcements? no, you can run it standalone or with SER/OPENSER SIP stack. But, if you have a SER or OpenSER somewhere in the path, then manipulating the message (e.g. setting r-uri user) becomes very easy, so usually we use the user part as designation of the message to be played; in multi-domain setups dependent on the r-uri domain. Thus the standard announcement application has this behaviour. BTW, at http://ftp.iptel.org/pub/sems/doc/current/AppDoc.html and http://ftp.iptel.org/pub/sems/doc/current/AppDocExample.html you can find further documentation on included applications, e.g. the various types of announcement applications (pre-call/ early media, b2b, refer etc.) hth Stefan Sayer > > Roger Leitch | BT Design - Platform Development > > _______________________________________________ > Sems mailing list > [email protected] > http://lists.iptel.org/mailman/listinfo/sems > -- Stefan Sayer VoIP services iptego GmbH Am Borsigturm 40 13507 Berlin Germany [EMAIL PROTECTED] www.iptego.com _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
