[Kamailio-Users] call forward problem

Iñaki Baz Castillo ibc at in.ilimit.es
Thu Sep 4 10:20:55 CEST 2008


El Wednesday 03 September 2008 19:34:40 muhammad akl escribió:
> thx miconda for you reply but as am still new to these stuff could you
> explain more and how to do this check ?

Showing all the config and asking "please fix it for me" is not the best way 
to get help.

You already have the solution:

> just check if the origin is the same as destination and reply something 
> like not found or so.

Well:

1) ¿What is the origin? the "From" URI.

2) ¿What is the destination? the RURI (no the "To" URI).

3) How to do a comparision? Using
        if A "==" B

4) How to reply something? Commonly using "sl" module.


All is here:
  http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.4.x
  http://www.kamailio.org/docs/modules/1.4.x/sl.html




-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list