Local Presence JSON Code
# support
s
Is there a json code so mycalls get forwarded to a phone od matching the area code?
v
I've looked into your question about JSON code for forwarding calls to phone numbers matching the caller's area code, but I don't have a complete solution for this specific implementation. While I found several building blocks that could help create this functionality, including: - Using the
transferCall
function with
{{customer.number}}
for caller ID - Using regex for phone number formatting - Dynamically setting forwarding numbers with variables - Parsing phone numbers to extract area codes I couldn't find a complete JSON code example that directly implements area code-based call forwarding. I've escalated your question to our technical team who can provide you with a more specific implementation. They'll get back to you with a complete solution soon! 👍
p
Yes
s
But this is for outbound calls tho... Like I want to use a different phone number id for each area code.
p
Sorry, didn't understand your question. Mind rephrasing it?