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@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@aliax.net>

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users