inject in of a new message with add-message works,...
# support
s
Hey! I used the logic to add-message , so that I can add role : system to give the call_id to the assistant, using webhook in-progress -> add to the messages role system the obtained call_id because I desesparately want the assistant to know the call_id, so that it can use it while calling my custom tool backend server methods, that trigger chain of actions so far, I was not able to obtain it I aimed for this that does not seem too farfetched it works, in the messages I do see the added message role system containing my call id, using the webhook updates, that I see dispalyed in my server. And getting the call with call.get I do see it too in the messages YET, during the call, the assistant has no idea of it, at all, I tried to wait during the call a bit, it does not seem to get it at all. but vapi returns me that it does, when I get the data of the call in my server during it. so all in all, not sure IF its supposed to know the update or not, I put the flag to triggerResponseEnabled to true yet.. no success any idea if I'm doing something wrong? or else how I can have the call id call id is strictly for an inbound call made by a phone. I could think about using the phone that called (because we can have that) and instantly trigger a method that finds in the list of calls the last call made where customer phone is it that's an idea yes but can't we just give it directly (or obtain it ourselves somehow, since vapi knows the call id) that owuld help me a lot here is my method in my vapi backend code below https://cdn.discordapp.com/attachments/1428729057268334642/1428729538526842970/carbon_4.png?ex=68f38f92&is=68f23e12&hm=3cb5252026845c0598a63183505babd69949c61f0c8b8c4d782eedca3ce18a45& https://cdn.discordapp.com/attachments/1428729057268334642/1428729539407777924/CleanShot_2025-10-17_at_15.00.512x.png?ex=68f38f92&is=68f23e12&hm=8a2db319b641cf0ffc203deb3942605f343376a5662cc5325ec5829ae628b09d&
3 Views