[Kamailio-Users] Question about redirect if user is not online

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 22 15:18:52 CEST 2008


Hello,

On 09/22/08 16:14, Ali Jawad wrote:
>
> Hi All
>
>
> I do forward calls to a DID number to my openser box, if my softphone 
> is online it rings directly because I am using the DID number as an 
> alias. However I want the call to be forwarded to my asterisk box if 
> the user is not online. What statement should I use ?
>
after doing lookup("location"), on the false branch rewrite the domain 
part of R-URI with the IP address of the asterisk box and relay.

Cheers,
Daniel

>  
>
> THanks
>
>  
>
> With Regards
>
>  
>
> Ali Jawad
>
> System Administrator
>
> Splendor Telecom (www.splendor.net)
>
> Beirut, Lebanon
>
> Phone: +961 1 373725
>
> Fax: + 961 1 375554
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the sr-users mailing list