[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Partysip-dev] tel uri to partysip
From: |
Aymeric Moizard |
Subject: |
Re: [Partysip-dev] tel uri to partysip |
Date: |
Tue, 13 May 2003 11:10:42 +0200 (CEST) |
On Tue, 13 May 2003, Ulrik Lind (EAB) wrote:
> Hi,
>
> Have been trying to call PartySIP with tel Uri. The response back has
> been 416 Unsupported Uri Scheme. Can PartySIp handle it?
partysip has limited support for "tel" urls:
First, allow the "tel" url to be accepted by partysip:
<syntax>
allowed_schemes sip,tel
</syntax>
Then add rules in the filter plugin to manage those urls:
<filter>
mode statefull
# record-route on
forward ^tel:07([0-9]+)|sip:address@hidden;user=phone
forward ^tel:0[89]([0-9]+)|sip:address@hidden;user=phone
forward ^tel:(.+)|sip:address@hidden;user=phone
</filter>
Note that the last line (always matching) is mandatory because
other plugins after the filter one may not handle correctly
"tel" urls. It would be great to extend the filter plugin to
define "reject" rules...
Hope this fit you.
Aymeric
> / Ulrik Lind
>
>
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>