Yes indeed it is everything that I wanted to get. Thanks alot for the quick
route.
On Sun, Aug 25, 2013 at 10:13 PM, Vitaliy Aleksandrov <
vitalik.v...@gmail.com> wrote:
> AFAIK there is no any single pv that provides a destination for both sip
> message types (request/reply).
> As you can see
AFAIK there is no any single pv that provides a destination for both sip
message types (request/reply).
As you can see from my example $sel(next_hop.host) contains dst only for
sip requests. To know where kamailio is going to send
a reply you can check the second VIA header parameters like receiv
Thanks Vitaliy,
That seems working, I am testing with it..it's great.
Can I ask if there is any psuedo variable for this thing !
Best Regards,
Sammy
On Sat, Aug 24, 2013 at 3:10 PM, Vitaliy Aleksandrov wrote:
> How about next config snippet:
>
> *route[GET_NEXT_HOP]**
> **{**
> **$var(ne
How about next config snippet:
/route[GET_NEXT_HOP]//
//{//
//$var(next_hop) = $null;//
//if (is_request()) {//
//$var(next_hop) = $sel(next_hop.host);//
//} else if (is_reply()) {//
// if ($sel(via[2].received) != $null)//
//$var(next_hop) = $sel(via[
Dear list,
Its just a little thing to ask but I somehow can't seem to figure out which
psuedo variable to use to find out where a particular 200 OK is destined to
go.
the scenario is I've multiple media servers in dispatcher and calls are
distributed. I need to capture a 200OK that is destined to