Yes, this is fine in SER.
You would use the strip() command to remove the 99999.
For instance:
if(uri =~ "^sip99999.*")
{
strip(5);
etc;
};
Ò¶½¨·å wrote:
Hi. I have a question.
I use x_lite do client,and ser server do route. if user1 is 1001 and
user2 is 1002,
assumes i used 1001 to dial 999991002, I thinking in the ser.conf,
first to remove the
prefix(99999),then route to 1002. if used asterisk the idea is ok but
I don't know ser whether to achieve?
thanks
yjftwo
ÏÖÔÚ¹ºÂò21CNÆóÒµÓÊÏä,¼´¿ÉÓÃ100Ôª»»5000Ôª!
<http://mail.21cn.com/huodong/0704/index.html>
ÖíÄêÐдóÔË£¬²ÂͼӮ»°·Ñ£¡
<http://v.21cn.com/tvb/tvb.html?rcc_id=5c450d3206cbbc3f1f7e28e36d19aee5>
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers