https://retellai.com/?utm_source=discord&utm_medium=seo logo
Local VOIP Provider not giving E.164 Format
# ❓・bug-report
b
Hi there, Currently located in New Zealand, I was using Telnyx and it was giving me the E.164 format which is fine. However, when I am using a local provider, It is giving me the inbound number for the caller as the local number (021 123 1234, instead of +64 21 123 1234) I have contacted them and they have said that I have to contact you to
c
where are you seeing this number being displayed like that?
Then when i swapped to a local VOIP provider for latency reasons, the inbound number (same phone number) starts with 021 instead of +64 (local for New Zealand)
@Colin - Integrations @ Retell AI
c
it sounds like it’s the local voip provider displaying the number wrong, have you tried parsing it?
b
How do ido that?
c
can you share a screenshot of how it looks there so i can potentially help with it
The inbound number is in +64 format
Im not sure if this plays a part into this
c
is it properly connecting without?
b
Yes
But when i add + infront it doesnt work
c
hmm that’s interesting
does your voip provider give you any pcap logs?
b
Let me check
c
actually, can you test something for me. can you replace the sip to to sip:sip.retellai.com
b
sure
Do you mean for the SIP URI Address in my VOIP?
c
yes the one that has the livekit domain
This also gives the same local number
just tried it ^
c
nope, just the format i showed you
no number or anything
sip:sip.retellai.com
shoyld automatically put the number in the uri
It says SIP URI must be in the following format: @: Example: 61399997999@sipserver.com:5060 or 61399997999@111.22.33.44:5060.
c
that’s interesting, i think the voip provider has a limitation then
can you try using the update call api to modify the from number?
b
The problem i am having is that when I am trying to book with cal.com using phone number it doesnt accept thje local format, this is why i am asking. I dont think doing the update call will do anything for this?
Is that this? can you explain what i need to do
c
what you can do instead is asking the caller for the correct number during the call
then passing the parameters
you might have to use custom functions to perform this
b
I am using the same voip for outbound calls and it gives 642222222 (without the +)
Is there not a way to easily do this with my voip provider
Is there a reason why i cant add the number +64xxxxxx in Retell?
For this specific VOIP
@Colin - Integrations @ Retell AI
This is what I got from my VOIPLINe team You will need to handle normalization on the remote side of your SIP trunk, for example with a PBX dialplan or SBC rule. You can refer to our Retell setup guide here - https://www.voipline.co.nz/support/article/13857275633935-how-to-configure-retell-ai-sip-trunk Please note: For support and assistance, please contact Retell AI directly
@Colin - Integrations @ Retell AI I managed to get the 'To' Address to work, However, when I call this inbound agent. The number im calling from is still a local number, not a E.164 number https://cdn.discordapp.com/attachments/1444865486499221588/1444934549883850763/image.png?ex=692e83aa&is=692d322a&hm=0f228aa1aec4007b32694241ab53ea4900b086cbedecdca1ea0133edfb202391&