partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Partysip-dev] filter plugin split?


From: Aymeric Moizard
Subject: RE: [Partysip-dev] filter plugin split?
Date: Fri, 25 Apr 2003 16:09:26 +0200 (CEST)

forward    ^sip:(.+)@(.+)|sip:address@hidden

sip:address@hidden will become sip:address@hidden
and will be sent to b2bua.org

The limitation is that you cannot forward the
message without rewritting the URI of the request.

Aymeric

On Fri, 25 Apr 2003, Joseph Chooracken John-A19500 wrote:

> Hi ,
>
>    I am supposed to forward all the calls that the proxy receives to a
> B2B. Is it possible using the forward pluggin provided by the
> partysip. My sip URL might contain names like sip:address@hidden
> or it may contain something like sip:address@hidden .
>
> Thankx in advamce,
> John
>
>
>
> -----Original Message-----
> From: Marian Durkovic [mailto:address@hidden
> Sent: Friday, April 25, 2003 4:34 PM
> To: address@hidden
> Subject: [Partysip-dev] filter plugin split?
>
>
> Hi all,
>
>    I'm trying to implement forwarding to local PBX gateways using the filter 
> plugin. I'd like to have it working like this:
>
>    user dials    2xxx        => call is forwarded to PBX gateway.
>
> I've set up the following filter rule:
>
> forward   ^sip:2([0-9][0-9][0-9])@|sip:address@hidden
>
> However, the above rule also matches when user calls e.g. address@hidden and 
> incorrectly forwards the call to the local PBX gateway.
>
>   In principle I'd need the forwarding to be performed only when the host 
> part of the URL matches serverip or servername, but not otherwise.
>
>   One possible approach would be to split filter plugin into two - 
> filter_local and filter_external and use the former only for requests 
> matching serverip or servername and the later for anything else. This will 
> allow to perform separate actions for local numbers - e.g. forwarding them to 
> predefined gateways and different for external URLs (e.g. expand 
> address@hidden into address@hidden)
>
>
>
>      What do you think?
>
>
>       Thanks,
>
>
>
>
> --------------------------------------------------------------------------
> ----                                                                  ----
> ----   Marian Durkovic                       network  manager         ----
> ----                                                                  ----
> ----   Slovak Technical University           Tel: +421 2 524 51 301   ----
> ----   Computer Centre, Nam. Slobody 17      Fax: +421 2 524 94 351   ----
> ----   812 43 Bratislava, Slovak Republic    E-mail: address@hidden        
> ----
> ----                                                                  ----
> --------------------------------------------------------------------------
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden http://mail.nongnu.org/mailman/listinfo/partysip-dev
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]