TUTORIAL Caller-ID provider diff. - Flowroute

Joined
Nov 14, 2008
Messages
1,401
Reaction score
319
Location
Warwick, NY
I'm familiar with the issues involved with the caller-id that is passed from various providers and the need to strip off or add leading digits.

I've changed providers a few times recently, the latest being to Flowroute. Changes in callers-id format will cause issues with existing blacklist or Asterisk phone book entries that you have or with return calls from your phones. Unless you want to change them all here is a quick fix.

In case you need it the lines below can be placed in your extensions_custom.conf file and adjusted for your particular needs. These lines reset the caller-id variable to include digits 2 through 11 deleting the leading plus sign and 1 from Flowroutes caller-id. It does this before the normal Trunk processing vs. the post Trunk level that the Set Caller ID Freepbx, third party module implements.

In your Trunk change Peer details section context to from-flowroute-com or whatever you want the name to be as long as it agrees with your new context. After the change the call processing will continue to the from-trunk context.

Hope this helps you out...

[from-flowroute-com]
exten => _X!,1,Set(CALLERID(num)=${CALLERID(num):2:12})
exten => _X!,n,Goto(from-trunk,${EXTEN},1)
 
  • Like
Reactions: rjaiswal

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
543
Reaction score
77
Brian,

7 years later, I'm still referring back to this little tidbit each time I reinstall a flowroute-using system.
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,371
Messages
137,398
Members
14,576
Latest member
emmonks