Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Change FROM address
Author Message
joelle
Brekeke Newbie


Joined: 05 Nov 2008
Posts: 1

PostPosted: Wed Nov 05, 2008 6:54 am    Post subject: Change FROM address Reply with quote

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?
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Thu Nov 06, 2008 12:02 pm    Post subject: Reply with quote

Are you sure the above DialPlan is used?
You can check it in the [Session Details] page .

I recommend you to move the above DialPlan rule to the top in the list.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1