Jump to content

Recommended Posts

Posted

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,
 

 

  • 4 months later...
×
×
  • Create New...