Jump to content
2600Hz Community

E.164 caller ID format for outgoing calls


Recommended Posts

Hi there, 

I have a SIP trunk (offnet) configured for outbound calls.

I want to configure it in a way, when I have local outbound calls (Belgium) to send local DID (0123456789) and when the call is an international one, I want it to send e.164 format +32123456789

For information, Belgian DID are:

9 digits for Fixed DID  (including zero)
10 digits for Mobile DID (including zero)

I configured the offnet as following:

   "formatters": {
       "request": [
           {
               "regex": "^(\\d{9,10})$",
               "prefix": ""
           }
       ],
       "caller_id_number": [
           {
               "regex": "^(\\d{9,10})$",
               "prefix": "+32"
           }

But when I make a call, the caller ID sent is always local one 0123456789 rather than sending +32123456789.

I guess, I'm missing another settings but couldn't find where and which one.
Can you please advise what should be set for sending e.164 format when making international call?

Regards,
 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...