I haven't tried serweb yet. So now only manually
update mysql database.
--- gaillac harry <gaillacharry(a)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"
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(a)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(a)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?
> >
> > 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
> >
> >
_______________________________________________
> > Serusers mailing list
> > serusers(a)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(a)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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs