Moderator: Brekeke Support Team
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Tue Sep 14, 2010 7:54 pm
1. Brekeke Product Name and version: BSS Version 2.2.6.2
2. Java version: 1.5.0_14
3. OS type and the version: Windows 2003
4. UA (phone), gateway or other hardware/software involved: X-Lite
5. Select your network pattern from
http://www.brekeke-sip.com/bbs/network/ ... terns.html : 8
6. Your problem:
Would like to strip '55' from 'From' field . Already tried to use below dialplan w/o success:
MATCHING PATTERN
$request=^INVITE
$addr=^192\.168\.200\.254
To=sip:11077611562@
$geturi(From)=sip:55(.+)@
DEPLOY PATTERN
$replaceuri=true
From=sip:%1@192.168.200.254
$target=sip.example.net
To=sip:
8008880102@sip.example.net
$auth=false
Any help deeply appreciated.
taitan
Posts: 237 Joined: Sat Mar 15, 2008 10:39 pm
Post
by taitan » Wed Sep 15, 2010 5:59 pm
do you have any other DialPlan rules?
If so put the above rule in the top.
Does the SIP server forward a call to sip.example.net successfully?
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Thu Sep 16, 2010 2:51 am
Yes calls are being fowarded sucessfully but no URI modification.
taitan
Posts: 237 Joined: Sat Mar 15, 2008 10:39 pm
Post
by taitan » Thu Sep 16, 2010 10:53 am
it seems you are using a kind of old version...
I recommend you use the latest one.
anyway.. let you put "$replaceuri = true" in the DeployPatten.
I hope it solves your problem.
taitan
Posts: 237 Joined: Sat Mar 15, 2008 10:39 pm
Post
by taitan » Thu Sep 16, 2010 10:55 am
I think.. newer versions (2.4.x) don't have such a problem.
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Thu Sep 16, 2010 11:24 am
"$replaceuri = true" is in the DeployPatten already.
janP
Posts: 336 Joined: Sun Nov 25, 2007 2:55 pm
Post
by janP » Mon Sep 20, 2010 12:34 pm
the version 2.2 may not meet your requirement..
try 2.4.
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Wed Sep 22, 2010 7:40 am
Tried with version 2.4.7.0 w/o success either
hope
Posts: 862 Joined: Tue Jan 15, 2008 4:08 pm
Post
by hope » Wed Sep 22, 2010 10:17 am
is the dial plan in use for the call?
is the dial plan name shown at "active sessions"/this calll details/rule?
are you going to change callerID?
if so, set From in deploy pattern as
From = "%1"<sip:%1@192.168.200.254>
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Wed Sep 22, 2010 10:41 am
No success either...
james
Posts: 501 Joined: Mon Dec 10, 2007 12:56 pm
Post
by james » Thu Sep 23, 2010 12:46 pm
I don't have same issue.
I think your other rules or the provider cause the problem..
Can you paste all of your rules here?
Otherwise, let you contact Brekeke's support team
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Thu Sep 23, 2010 2:06 pm
Running a test proxy just to work on this so, there are no other rules.
hope
Posts: 862 Joined: Tue Jan 15, 2008 4:08 pm
Post
by hope » Fri Sep 24, 2010 1:55 pm
did you click "apply rule" button?
Capture packets with wireshark on sip server pc,
check if the From is changed in the INVITE sent from brekeke to sip.example.net
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Sat Sep 25, 2010 2:41 pm
Analysing captured packets we noticed that indeed 'from' field was successfully modified but what we really need to modify is 'remote party-id' field. Sorry for the mistake and thanks for help.
james
Posts: 501 Joined: Mon Dec 10, 2007 12:56 pm
Post
by james » Mon Sep 27, 2010 10:16 am
so.. did you modify 'Remote-Party-ID' successfully?
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Mon Sep 27, 2010 10:33 am
Not at all. Just 'From' field. Please inform how to modify it successfully. Thanks.
hope
Posts: 862 Joined: Tue Jan 15, 2008 4:08 pm
Post
by hope » Mon Sep 27, 2010 12:41 pm
how about set Remote-Party-ID in dial plan deploy patterns?
like:
Remote-Party-ID = sip:%1@192.168.200.254
damatta
Posts: 227 Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil
Post
by damatta » Mon Sep 27, 2010 1:38 pm
Solved, many thanks