- Joined
- Mar 22, 2025
- Messages
- 15
- Reaction score
- 1
Hello all, this is my first post here (yay).
I am setting up a CFD for our business and would love to mainly do two things - transfer a call and send an http request to twilio to send a message to the caller for after hours solution. Neither of those things were currently accomplished and i am losing my will to turn on my PC with the increasing DAYS I have been battling with this.
When it comes to transfer, the call just drops as soon as the request comes. I am assuming it is coming from the main reason, which is my session.ani is being fetched wrong.
How did I find that my session.ani is fetched wrong? Because I used a simple message.json invocation for my http request that goes through twilio. In the content body I have hardcoded both "To" and "From" and my message went through without issues. However If i did something like "To=$(session.ani)&From=+18888888888&Body=Hello+from+3CX" I got a log on twilio showing a completely different number. I am too many hours deep on trying to troubleshoot as to why the callerID became a completely different number. Any help would be greatly appreciated. Let me know if you need more details.
Edit: I have checked the SIP trunking and do not see any way that this would be thwarted. We are on the enterprise plan if it matters.
I am setting up a CFD for our business and would love to mainly do two things - transfer a call and send an http request to twilio to send a message to the caller for after hours solution. Neither of those things were currently accomplished and i am losing my will to turn on my PC with the increasing DAYS I have been battling with this.
When it comes to transfer, the call just drops as soon as the request comes. I am assuming it is coming from the main reason, which is my session.ani is being fetched wrong.
How did I find that my session.ani is fetched wrong? Because I used a simple message.json invocation for my http request that goes through twilio. In the content body I have hardcoded both "To" and "From" and my message went through without issues. However If i did something like "To=$(session.ani)&From=+18888888888&Body=Hello+from+3CX" I got a log on twilio showing a completely different number. I am too many hours deep on trying to troubleshoot as to why the callerID became a completely different number. Any help would be greatly appreciated. Let me know if you need more details.
Edit: I have checked the SIP trunking and do not see any way that this would be thwarted. We are on the enterprise plan if it matters.