[Kamailio-Users] kamailio 1.4 cpc

Asim Riaz ariaz78 at gmail.com
Mon Feb 1 12:25:58 CET 2010


you mean adding the required parameters in AVP? is it possible to to emplain
how can i add diffrent cpc into p-asserted-id based on calling party number?
e.g if the calling party is mobile then cpc is mobile

Thanks,

Asim

On Mon, Feb 1, 2010 at 10:44 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> El Lunes, 1 de Febrero de 2010, Asim Riaz escribió:
> > Yes its valid to add such parameter into Remote-part-ID and
> > P-Asserted-Identity heade, do I need to use Textops ?
> > I also need to add diffrent cpc for diffrent calling party types e.g
> >  mobile, landline etc.
>
> Remote-Party-ID can be added using some functions in textops module (I
> think,
> or perhaps they are in other module). However it's easier just to create P-
> Asserted-Identity (which is the real standard rather than Remote-Party-Id)
> from scrath:
>
>  append_hf("P-Asserted-Identity: <sip:$AVP(SOME_AVP)@MY_DOMAIN>\r\n");
>
> You can add there the required parameters.
>
>
> --
> Iñaki Baz Castillo <ibc at aliax.net>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100201/498e18e2/attachment.htm>


More information about the Users mailing list