joelle Brekeke Newbie
Joined: 05 Nov 2008 Posts: 1
|
Posted: Wed Nov 05, 2008 6:54 am Post subject: Change FROM address |
|
|
1. Brekeke Product Name and version:Brekeke SIP Server , Version 2.1.0.4 Standard
2. Java version:1.6.0
3. OS type and the version:Windows 2003 ver 5.2
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem:
i am trying to change the FROM address, but somehow it is not working.
the rule i am using is as follows:
Matching patterns:
------------------------
$request=^INVITE
$geturi(From)=sip:0(.+)@(.+)
$geturi(To)=sip:(123456789)@(.+)
Deploy Patterns:
----------------------
From=sip:%1@xxx.xxx.xxx.xxx
To=sip:%3@yyy.yyy.yyy.yyy
$target=yyy.yyy.yyy.yyy
$replaceurl=true
the To address is changing as set in the deploy pattern, but the FROM address is not. it is still sending the original one.
is there any other way to do it?
or am i doing anything wrong? |
|