[OpenSIPS-Users] which modules for ddi
Uwe Kastens
kiste at kiste.org
Tue May 26 11:47:20 CEST 2009
Hi,
>
>
> Outgoing calls:
> ******************
>
> - You must not perform "check_from" since credentials username (1234)
> will not be the same as From user (1234-0 or 1234-1).
> - You can ask for authentication and after it, check if the credential
> username (1234) matches a regular expression with the From username:
> if $fU =~ "$(aU)-[0-9]+" <--- not tested
Is it possible to load such an regexp in an AVP and use it?
>
>
> Inbound calls:
> ****************
>
> - You should do nothig. The phone A is registered with AoR "1234-0" so
> when a INVITE arrives with RURI 1234-0 just perform "lookup(location)"
> and the call will be redirected to phone A.
Ok. my inbound example was not very clever :-)
Another example:
If I will not have a phone but an asterisk. It should get any number
within a the range 12340 until 12341 - even if the pstn sends something
like 12340-0000 or 12341-234 to the opensips.
BR
Uwe
--
kiste lat: 54.322684, lon: 10.13586
More information about the Users
mailing list