[SR-Users] caller id display through pstn

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 9 13:29:06 CEST 2017


Hello,

there are couple of ways to achieve it, depending on the gateway to pstn.

1) update the From header username -- probably the safest way

  * see uac_replace_from(...) from uac module

2) add P-Asserted-Identity/P-Preferred-Identity headers

  * see append_hf()/insert_hf()/remove_hf() functions from textops module

3) set Remote-Party-Id headers -- only for old gateways -- same
functions as for 2)

Cheers,
Daniel


On 09.06.17 13:13, 赵国杰 wrote:
> Hello all.
>      I have a kamailio server routing request to a pstn gw and I want
> to change the number displayed on callee side. Say the caller's user
> name is "test", and it calls the number 18512345678, and I want the
> incoming all number displayed on callee side to be 13587654321. How
> can I achieve this?
>
> Thanks,
> Jesse
>
>
>  
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170609/29dd0350/attachment.html>


More information about the sr-users mailing list