We decided that it would be better to add a new mechanism that only serves the purpose of changing the caller-ID on the display of the user agent. The user agent must indicate that it is able to receive these updates with a "Supported: callerid" in the INVITE request or a response to the INVITE. If this is the case, the system will send a INFO message in the dialog that has the format like in the example below:
INFO sip:[EMAIL PROTECTED] SIP/2.0 From: <sip:[EMAIL PROTECTED]>;tag=123 To: <sip:[EMAIL PROTECTED]>;tag=456 Call-ID: 123456789 CSeq: 1234 INFO Content-Length: ... Content-Type: message/sipfrag From: "A" <sip:[EMAIL PROTECTED]> To: "B" <sip:[EMAIL PROTECTED]> The body of the message contains a SIP message fragment (RFC3420) that contains the To- and From-headers as they should look like if it was possible to change the headers in a dialog (as if they had been received in the INFO request, so that the From/To direction is clear). Tags and other parameters should not be changed. The user agent should update the display and may change the local call history. However, it should not change the To- and From-headers of the dialog. User agents that do not show the Supported header will not receive the INFO messages, because some user agents terminate the call upon receipt of a unknown media type. CS > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Olle E. Johansson > Sent: Tuesday, August 16, 2005 10:01 PM > To: [email protected] > Subject: [Sip-implementors] Changing Caller ID name during a call > > I am wondering if anyone knows a way to change a caller ID > name during a SIP call? > > I have one dialog to a b2bua and the call is transferred, so > the other end changes. I tried sending a re-invite with a new > From: header, but haven't been successful updating the > display on any phone. > > If it's possible, I would be grateful for any advice. > > /Olle E. Johansson > Asterisk developer > _______________________________________________ > Sip-implementors mailing list > [email protected] > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors > > > _______________________________________________ Sip-implementors mailing list [email protected] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
