[Serusers] append_rpid_hf

Sebastian Kühner skuehner at veraza.com
Wed Sep 14 21:12:27 CEST 2005


Hi!

I made a silly error. I double apprechiate your help because of that!!

It's very important that ser makes a proxy_authorize before the t_relay on
any INVITE to be able to append the rpid.

I did that, but I had an error in my IF clause before...

OK, the result is very easy. Without avp_ops and consume_credentials...

Sebastian




----- Original Message ----- 
From: "Sebastian Kühner" <skuehner at veraza.com>
To: <serusers at lists.iptel.org>
Sent: Wednesday, September 14, 2005 3:59 PM
Subject: Re: [Serusers] append_rpid_hf


> Hmm, something like that.
>
> I used:
>
> modparam("auth", "rpid_prefix", "<sip:")
> modparam("auth",
>
"rpid_suffix","@xxx.xxx.xxx.xxx>;party=calling;id-type=subscriber;screen=yes
> ;privacy=off")
>
> I tried it once more with
>
> modparam("auth",
>
"rpid_suffix","@xxx.xxx.xxx.xxx;user=phone>;party=calling;id-type=subscriber
> ;screen=yes;privacy=off")
>
> and
>
> modparam("auth",
>
"rpid_suffix",";user=phone>;party=calling;id-type=subscriber;screen=yes;priv
> acy=off")
>
>
> ... without result.
>
> The user is registered. I stop/start ser and retry it. This is the correct
> way?
>
> Thanks!
>
> Sebastian
>
> ----- Original Message ----- 
> From: "Steve Blair" <blairs at isc.upenn.edu>
> To: "Sebastian Kühner" <skuehner at veraza.com>
> Cc: <serusers at lists.iptel.org>
> Sent: Wednesday, September 14, 2005 3:36 PM
> Subject: Re: [Serusers] append_rpid_hf
>
>
> >
> > Do you use something like:
> >
> >   modparam("auth", "rpid_prefix", "<sip:")
> >   modparam("auth", "rpid_suffix",
> >
> ";user=phone>;party=calling;screen=yes;id-type=subscriber;privacy=full")
> >
> > -Steve
> >
> > Sebastian Kühner wrote:
> >
> > >Hi!
> > >
> > >I authenticate all users to my proxy, but the append_rpid_hf doesn't
have
> > >any affect to my header.
> > >
> > >I tried it like this:
> > >
> > >avp_db_load("$from/username", "s:rpid/$scheme1");
> > >consume_credentials();
> > >append_rpid_hf();
> > >
> > >... without result. Has someone of you a complete example for me?
> > >
> > >Thanks!
> > >
> > >Sebastian
> > >
> > >
> > >----- Original Message ----- 
> > >From: "Steve Blair" <blairs at isc.upenn.edu>
> > >To: "Sebastian Kühner" <skuehner at veraza.com>
> > >Cc: <serusers at lists.iptel.org>
> > >Sent: Wednesday, September 14, 2005 2:42 PM
> > >Subject: Re: [Serusers] append_rpid_hf
> > >
> > >
> > >
> > >
> > >>  The rpid header will only be appended for authenticated subscribers
> > >>to your proxy as I remember.
> > >>
> > >>
> > >>Sebastian Kühner wrote:
> > >>
> > >>
> > >>
> > >>>Hello,
> > >>>
> > >>>I tried to use the append_rpid_hf command. I read in the internet
that
> > >>>
> > >>>
> > >the
> > >
> > >
> > >>>value is saved in the subscriber table in the column rpid. Is that
all
> I
> > >>>have to do? I noticed that there's no information in the header (with
> > >>>ngrep).
> > >>>
> > >>>Thanks!
> > >>>
> > >>>Sebastian
> > >>>
> > >>>_______________________________________________
> > >>>Serusers mailing list
> > >>>serusers at lists.iptel.org
> > >>>http://lists.iptel.org/mailman/listinfo/serusers
> > >>>
> > >>>
> > >>>
> > >>>
> > >>-- 
> > >>
> > >>ISC Network Engineering
> > >>The University of Pennsylvania
> > >>3401 Walnut Street, Suite 221A
> > >>Philadelphia, PA 19104
> > >>
> > >>
> > >>voice: 215-573-8396
> > >>
> > >>       215-746-8001
> > >>
> > >>fax: 215-898-9348
> > >>
> > >>sip:blairs at upenn.edu
> > >>
> > >>
> > >>
> > >>
> > >
> > >_______________________________________________
> > >Serusers mailing list
> > >serusers at lists.iptel.org
> > >http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> >
> > -- 
> >
> > ISC Network Engineering
> > The University of Pennsylvania
> > 3401 Walnut Street, Suite 221A
> > Philadelphia, PA 19104
> >
> >
> > voice: 215-573-8396
> >
> >        215-746-8001
> >
> > fax: 215-898-9348
> >
> > sip:blairs at upenn.edu
> >
> >
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list