Change FROM address

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
joelle
Posts: 1
Joined: Wed Nov 05, 2008 3:33 am

Change FROM address

Post by joelle »

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/ ... terns.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?
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

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.
Post Reply