Change CALLER info before connection (chan_sip.so)

hi

is it possible to change the callers’s data at a call after it’s being connected

For example a call (transfer) with the parameters “Alex <1234>”, and after/before the connection, change to the caller’s data, for example, to “Stan <5678>”

thanks

https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information

Thanks for answer.

I read this document, but I could not change the caller data before connecting.

For example

make transfer from Alex to Inoy

before connect asterisk make UPDATE and send REAL caller data

Which do you want, before or after? Your title said before, your answer said after.

Which channel driver are you using? Does the peer support UPDATE?

If the driver is chan_sip, what is rpid_update set to?

I’m can’t remember whether Dial actually forwards connected line before answer. If it doesn’t, you can’t do it.

probably after. this should happen at the time of the transfer.

Call from spa502g to spa502g

Server: Cisco/SPA502G-7.5.5
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE

sendrpid = yes
rpid_update = yes