I am running ser 0.9.4 on FC4 with MySQL and all is working.
I want to implement forking based on SIP URI.
When someone dials 004888(which is a SIP URI just used for this matching), I want to fork the call to 004990 and 004100 in parallel.
So I put this in my ser.cfg:
if (uri==myself) { if (uri=~"^sip:004888@~*") { rewriteuri("sip:004990@sip.tcto.net:49300"); append_branch("sip:004100@sip.tcto.net:49200"); route(1); break; }; }; Route[1] { if (!t_relay()) { sl_reply_error(); }; }
Can anyone tell me what I am doing wrong? Or point me to some documentation on forking. I have searched ONSIP and module documentation already.
Leo Papadopoulos leo@ltcjp.com