[Users] Syntax Error

Brandon Armstead brandon.armstead at gmail.com
Fri Nov 3 23:27:49 CET 2006


Hello guys, I have been trying to get openser implemented with SEMS the past
day or so although I keep running into problems, any advice on setting up
openser with SEMS? (Sip Express Media Server).


Although here is a syntax error straight from the documentation:

...
modparam("tm","tw_append","append1:Email=avp[i:12];UA=hdr[User-Agent]")
modparam("tm","tw_append","append2:body=msg[body]")
...
t_write_fifo("voicemail/append1","/tmp/appx_fifo");
...
t_write_unix("logger/append2","/var/run/logger.sock");

Is the syntax for "t_write_unix".  Although in my code I have the following:

modparam("tm", "tw_append", "vm_email:P-Email-Address=avp[i:34]")

Just like the example..... although I get error:

 0(57475) ERROR:tm:parse_tw_append: parse error in
<vm_email:P-Email-Address=avp[i:34]> around position 25(a)

Any idea on what is going on?  Thanks, all help is appreciated!
-- 
Brandon Armstead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061103/0a843a5d/attachment.htm>


More information about the sr-users mailing list