Hi,
I have a few questions about multiple domains and call from/to pstn. I don't want to change the ser.cfg script everytime a new domain is added. How can I support the following features?
1. Every domain has their own 3 or 4 digit dial plan. When they call PSTN, their caller id should be the either a prefix plus their internal number or a generic receptionist number, but not the 3/4 digit internal number. Different domains have different prefix. Is there a way to do this without changing the script for every domain?
2. Should interdomain calls be prohibited? Is it preferred to send the call to PSTN and hairpin back? I know it consumes more resources but would it provide better privacy? If that's the case, how to prevent interdomain calls, i.e. how to verify from and to URI have the same host parts?
3. When PSTN calls come in, should I use prefix2domain in pdt module to convert the PSTN number to a local domain number? Any pitfalls?
This list has been great! Thanks for all your help.
Best Regards, Richard
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Think I got the answer for question 1. Use rpid stored in each subscriber in the database before forwarding the call to PSTN gateway.
--- Richard mypop3mail@yahoo.com wrote:
Hi,
I have a few questions about multiple domains and call from/to pstn. I don't want to change the ser.cfg script everytime a new domain is added. How can I support the following features?
- Every domain has their own 3 or 4 digit dial
plan. When they call PSTN, their caller id should be the either a prefix plus their internal number or a generic receptionist number, but not the 3/4 digit internal number. Different domains have different prefix. Is there a way to do this without changing the script for every domain?
- Should interdomain calls be prohibited? Is it
preferred to send the call to PSTN and hairpin back? I know it consumes more resources but would it provide better privacy? If that's the case, how to prevent interdomain calls, i.e. how to verify from and to URI have the same host parts?
- When PSTN calls come in, should I use
prefix2domain in pdt module to convert the PSTN number to a local domain number? Any pitfalls?
This list has been great! Thanks for all your help.
Best Regards, Richard
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
The rpid doesn't seem to be in the document. Anyway, I dig into the source file. Here is what I found, rpid is stored in ser database in mysql server. It is in the subsriber table and rpid column.
You need modparam("auth_db", "use_rpid", 1), because the default value is 0 and not using rpid.
Optional modparam("auth_db","rpid_column", "rpid"), which is default.
There are other params documented in the README file in modules/auth directory.
rpid is retrieved during proxy authentication.
Function append_rpid_hf() adds the rpid value into the header field "Remote-Party-ID".
rpid doesn't have to be number only. It can be any format.
Here is an example, rpid columns has "test" 8005551212
The header has a header Remote-Party-ID: "test" 8005551212;party=calling;id-type=subscriber;screen=yes
It should give the caller name as test and id as 8005551212, hopefully. ;) I should have a rpid capable PSTN gateway next week and let you posted.
Thanks, Richard
--- Richard mypop3mail@yahoo.com wrote:
Think I got the answer for question 1. Use rpid stored in each subscriber in the database before forwarding the call to PSTN gateway.
--- Richard mypop3mail@yahoo.com wrote:
Hi,
I have a few questions about multiple domains and call from/to pstn. I don't want to change the ser.cfg script everytime a new domain is added. How can I support the following features?
- Every domain has their own 3 or 4 digit dial
plan. When they call PSTN, their caller id should be the either a prefix plus their internal number or a generic receptionist number, but not the 3/4 digit internal number. Different domains have different prefix. Is there a way to do this without changing the script for every domain?
- Should interdomain calls be prohibited? Is it
preferred to send the call to PSTN and hairpin
back?
I know it consumes more resources but would it
provide
better privacy? If that's the case, how to prevent interdomain calls, i.e. how to verify from and to URI have the same host parts?
- When PSTN calls come in, should I use
prefix2domain in pdt module to convert the PSTN number to a
local
domain number? Any pitfalls?
This list has been great! Thanks for all your
help.
Best Regards, Richard
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
I am in the process of implementing a similar sort of thing except I'm using RADIUS instead of MySQL for authentication.
I've found that some SIPUA will add the Remote-Party-ID field, and in this case when you add an additional one the first will take precedence. We have remote sip domains that use extension numbers, and when they place calls out to the PSTN via us we require them to present us with their PSTN number. This is taken care of via the remote proxy by means of the RPID attribute in the RADIUS database. To remove an existing Remote-Party-ID header use the following
if (is_present_hf("Remote-Party-ID")) { remove_hf("Remote-Party-ID"); }; # Do the auth append_rpid_hf();
An example RPID value would be "01234567890" sip:01234567890@sip.mydomain.com
Cisco provide some documentation on the matter http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122 t/122t13/ftsipext.htm
Regards,
Alan
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of Richard Sent: 29 April 2004 09:32 To: serusers@lists.iptel.org Subject: Re: [Serusers] multiple domains and pstn
The rpid doesn't seem to be in the document. Anyway, I dig into the source file. Here is what I found, rpid is stored in ser database in mysql server. It is in the subsriber table and rpid column.
You need modparam("auth_db", "use_rpid", 1), because the default value is 0 and not using rpid.
Optional modparam("auth_db","rpid_column", "rpid"), which is default.
There are other params documented in the README file in modules/auth directory.
rpid is retrieved during proxy authentication.
Function append_rpid_hf() adds the rpid value into the header field "Remote-Party-ID".
rpid doesn't have to be number only. It can be any format.
Here is an example, rpid columns has "test" 8005551212
The header has a header Remote-Party-ID: "test" 8005551212;party=calling;id-type=subscriber;screen=yes
It should give the caller name as test and id as 8005551212, hopefully. ;) I should have a rpid capable PSTN gateway next week and let you posted.
Thanks, Richard
--- Richard mypop3mail@yahoo.com wrote:
Think I got the answer for question 1. Use rpid stored in each subscriber in the database before forwarding the call to PSTN gateway.
--- Richard mypop3mail@yahoo.com wrote:
Hi,
I have a few questions about multiple domains and call from/to pstn. I don't want to change the ser.cfg script everytime a new domain is added. How can I support the following features?
- Every domain has their own 3 or 4 digit dial
plan. When they call PSTN, their caller id should be the either a prefix plus their internal number or a generic receptionist number, but not the 3/4 digit internal number. Different domains have different prefix. Is there a way to do this without changing the script for every domain?
- Should interdomain calls be prohibited? Is it
preferred to send the call to PSTN and hairpin
back?
I know it consumes more resources but would it
provide
better privacy? If that's the case, how to prevent interdomain calls, i.e. how to verify from and to URI have the same host parts?
- When PSTN calls come in, should I use
prefix2domain in pdt module to convert the PSTN number to a
local
domain number? Any pitfalls?
This list has been great! Thanks for all your
help.
Best Regards, Richard
------------------------------------------------------------------------------------------------------- This email, and any files transmitted with it, is copyright and may contain confidential information. The contents are intended for the use of the addressee(s) only. Unauthorized use may be unlawful. If you receive this email by mistake, please advise sender immediately. The views of the author may not necessarily constitute the views of Telco Electronics Limited. Nothing in this mail shall bind Telco Electronics Limited in any contract or obligation.
Telco Electronics Limited 6-8 Oxford Court Brackley Northants NN13 7XY
Tel 07000 701999 Fax 07000 701777
Hi
rpid field is not include in subscriber table from serweb-2004 tarball but CVS serweb . Which ser_mysql.sh serweb release have you installed ?
I'm very interesting in your problem
Gaillac harry
Le jeu 29/04/2004 à 10:31, Richard a écrit :
The rpid doesn't seem to be in the document. Anyway, I dig into the source file. Here is what I found, rpid is stored in ser database in mysql server. It is in the subsriber table and rpid column.
You need modparam("auth_db", "use_rpid", 1), because the default value is 0 and not using rpid.
Optional modparam("auth_db","rpid_column", "rpid"), which is default.
There are other params documented in the README file in modules/auth directory.
rpid is retrieved during proxy authentication.
Function append_rpid_hf() adds the rpid value into the header field "Remote-Party-ID".
rpid doesn't have to be number only. It can be any format.
Here is an example, rpid columns has "test" 8005551212
The header has a header Remote-Party-ID: "test" 8005551212;party=calling;id-type=subscriber;screen=yes
It should give the caller name as test and id as 8005551212, hopefully. ;) I should have a rpid capable PSTN gateway next week and let you posted.
Thanks, Richard
--- Richard mypop3mail@yahoo.com wrote:
Think I got the answer for question 1. Use rpid stored in each subscriber in the database before forwarding the call to PSTN gateway.
--- Richard mypop3mail@yahoo.com wrote:
Hi,
I have a few questions about multiple domains and call from/to pstn. I don't want to change the ser.cfg script everytime a new domain is added. How can I support the following features?
- Every domain has their own 3 or 4 digit dial
plan. When they call PSTN, their caller id should be the either a prefix plus their internal number or a generic receptionist number, but not the 3/4 digit internal number. Different domains have different prefix. Is there a way to do this without changing the script for every domain?
- Should interdomain calls be prohibited? Is it
preferred to send the call to PSTN and hairpin
back?
I know it consumes more resources but would it
provide
better privacy? If that's the case, how to prevent interdomain calls, i.e. how to verify from and to URI have the same host parts?
- When PSTN calls come in, should I use
prefix2domain in pdt module to convert the PSTN number to a
local
domain number? Any pitfalls?
This list has been great! Thanks for all your
help.
Best Regards, Richard
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I haven't tried serweb yet. So now only manually update mysql database.
--- gaillac harry gaillacharry@yahoo.fr wrote:
Hi
rpid field is not include in subscriber table from serweb-2004 tarball but CVS serweb . Which ser_mysql.sh serweb release have you installed ?
I'm very interesting in your problem
Gaillac harry
Le jeu 29/04/2004 à 10:31, Richard a écrit :
The rpid doesn't seem to be in the document.
Anyway, I
dig into the source file. Here is what I found,
rpid
is stored in ser database in mysql server. It is
in
the subsriber table and rpid column.
You need modparam("auth_db", "use_rpid", 1),
because
the default value is 0 and not using rpid.
Optional modparam("auth_db","rpid_column",
"rpid"),
which is default.
There are other params documented in the README
file
in modules/auth directory.
rpid is retrieved during proxy authentication.
Function append_rpid_hf() adds the rpid value into
the
header field "Remote-Party-ID".
rpid doesn't have to be number only. It can be any format.
Here is an example, rpid columns has "test" 8005551212
The header has a header Remote-Party-ID: "test"
8005551212;party=calling;id-type=subscriber;screen=yes
It should give the caller name as test and id as 8005551212, hopefully. ;) I should have a rpid
capable
PSTN gateway next week and let you posted.
Thanks, Richard
--- Richard mypop3mail@yahoo.com wrote:
Think I got the answer for question 1. Use rpid stored in each subscriber in the database before
forwarding
the call to PSTN gateway.
--- Richard mypop3mail@yahoo.com wrote:
Hi,
I have a few questions about multiple domains
and
call from/to pstn. I don't want to change the
ser.cfg
script everytime a new domain is added. How
can I
support the following features?
- Every domain has their own 3 or 4 digit
dial
plan. When they call PSTN, their caller id should be
the
either a prefix plus their internal number or
a
generic receptionist number, but not the 3/4
digit
internal number. Different domains have
different
prefix. Is there a way to do this without
changing
the script for every domain?
- Should interdomain calls be prohibited? Is
it
preferred to send the call to PSTN and hairpin
back?
I know it consumes more resources but would it
provide
better privacy? If that's the case, how to
prevent
interdomain calls, i.e. how to verify from and
to
URI have the same host parts?
- When PSTN calls come in, should I use
prefix2domain in pdt module to convert the PSTN number to a
local
domain number? Any pitfalls?
This list has been great! Thanks for all your
help.
Best Regards, Richard
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo!
HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover