2. Java version: 1.7.0
3. OS type and the version: Centos 5.6 (Linux 2.6.18-238.19.1.el5
4. UA (phone), gateway or other hardware/software involved: PBXNSIP IP_PBX
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
Hello,
I just started using SIP Server, coming from OpenSIPS. I'm running into a problem where I need to setup an alias, have it forward to a registered user, but keep the to field as the alias.
Example:
Call comes in to 444-555-6666 which is an alias for 111-222-3333
The header currently reads as follows:
Code: Select all
INVITE: sip:1112223333@xxx.xxx.xxx.xxx:5060
TO: <sip:1112223333@xxx.xxx.xxx.xxx:5060>
Code: Select all
INVITE: sip:1112223333@xxx.xxx.xxx.xxx:5060
TO: <sip:4445556666@xxx.xxx.xxx.xxx:5060>
The current dial plan rule is as follows:
Matching Pattern:$request=^INVITE
To=sip:(.+)@
$alias.lookup("%1")=(.+)
Deploy Pattern:
To=sip:%2@
Thanks,
Brian[/u]