1. Brekeke Product Name and version: Sip Server Advanced 2.4.8.6/286.3
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:
The header needs to look as follows:
Our PBX determines what extension to send the call to based on the To field. So we need the alias to be displayed in the to field and the registered number to be displayed in the INVITE request-uri. Does anyone know of a way to do this?
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]
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:
INVITE: sip:1112223333@xxx.xxx.xxx.xxx:5060
TO: <sip:1112223333@xxx.xxx.xxx.xxx:5060>Code:
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]