Ok, that would definitely make things easier/better - thanks!!
//Anders
On Thu, Jun 10, 2010 at 8:24 AM, Iñaki Baz Castillo wrote:
> 2010/6/10 Klaus Darilion :
>> somewhere between normal routing decisions and t_relay(), e.g.
>>
>> route {
>> ...sanity checks
>> ...authentication
>> ...NAT tr
2010/6/10 Klaus Darilion :
> somewhere between normal routing decisions and t_relay(), e.g.
>
> route {
> ...sanity checks
> ...authentication
> ...NAT traversal
> ...routing decisions
>
> if ($rd = "1.2.3.4") { #ip address of gateway
> $rd = "domain.com";
> }
>
> t_relay();
> exit;
> }
Hi Anders!
Am 09.06.2010 19:00, schrieb Anders:
thanks!
...but does it even make sense what I'm trying to do?
yes.
> I mean, at what
point in the cfg would I tell it that if it's choosing a specific gw,
it needs to substitute the IP with a domain name...a new $rd?
somewhere between normal
thanks!
...but does it even make sense what I'm trying to do? I mean, at what
point in the cfg would I tell it that if it's choosing a specific gw,
it needs to substitute the IP with a domain name...a new $rd?
//Anders
On Wed, Jun 9, 2010 at 12:28 PM, Klaus Darilion
wrote:
> $d_ means destinati
$d_ means destination URI (DURI). The DURI is used only for routing
purposes and ist not reflected in the SIP message. You want to use $d_
which means the request URI (RURI).
$rd = "domain.com"
regards
klaus
PS: both, ruri and duri are read/write
Am 09.06.2010 18:23, schrieb Anders:
Hi,
I