[Users] INVITE Direction

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jul 25 13:42:20 CEST 2006


Kelvin Williams wrote:
> Can anyone advise on the easiest way to know from which direction an 
> INVITE is coming (ie.  From my user to the world, or >From the world to 
> my user)? 

in case of multidmoain support:
if (is_from_local()) ...
http://www.openser.org/docs/modules/1.1.x/domain.html#AEN87

or in case of a single domain you can use from_uri
http://openser.org/dokuwiki/doku.php?id=openser_v1.1.0_core_cookbook#from_uri

regards
klaus

regards
klaus


>  
> 
> Thanks in advance.
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users





More information about the Users mailing list