1. Brekeke Product Name and version:2.1.6.6 Personal
2. Java version:JRE 1.5.0_06
3. OS type and the version:Windows XP Home Edition Ver.2002 SP2
4. UA (phone), gateway or other hardware/software involved:VoIP gateway
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :1 *) SIP Server - L2SW - two VoIP gateways (#A and #B)
6. Your problem:
VoIP gateway #A WAN IP : 10.10.10.61
VoIP gateway #B WAN IP : 10.10.10.62
Dial plan as follows:
[Routing 1]
matching patterns:
$request=^INVITE
$addr=10\.10\.10\.61$
deploy patterns:
$target=10.10.10.62
[Routing 2]
matching patterns:
$request=^INVITE
$addr=10\.10\.10\.62$
deploy patterns:
$target=10.10.10.61
We called, but a call was not connected.
Why? How to set Dial plan?
Thank you.
How to set dial plan
Moderator: Brekeke Support Team
Hi
Use "To=" instead of "$target=" in the Matching Patterns.
With "$target=", the SIP Server sends a SIP packet to the destination but To header and request-line are not changed.
With "To=", the SIP Server sends a SIP packet to the destination and To header and request-line are replaced with a new URI.
Here is an example.
-------
[Routing 1]
matching patterns:
$request = ^INVITE
$addr = 10\.10\.10\.61$
To = sip:(.+)@
deploy patterns:
To = sip:%1@10.10.10.62
[Routing 2]
matching patterns:
$request=^INVITE
$addr=10\.10\.10\.62$
To = sip:(.+)@
deploy patterns:
To = sip:%1@10.10.10.61
----------
Use "To=" instead of "$target=" in the Matching Patterns.
With "$target=", the SIP Server sends a SIP packet to the destination but To header and request-line are not changed.
With "To=", the SIP Server sends a SIP packet to the destination and To header and request-line are replaced with a new URI.
Here is an example.
-------
[Routing 1]
matching patterns:
$request = ^INVITE
$addr = 10\.10\.10\.61$
To = sip:(.+)@
deploy patterns:
To = sip:%1@10.10.10.62
[Routing 2]
matching patterns:
$request=^INVITE
$addr=10\.10\.10\.62$
To = sip:(.+)@
deploy patterns:
To = sip:%1@10.10.10.61
----------