Change outbound caller number

Status
Not open for further replies.

Ebe

New Member
Mar 13, 2017
3
0
1
35
Our outbound caller number is in the following format defined in the extension: 025122145

When we make an outbound call with one gateway I want to change that outbound caller number to +3225122145. Is that possible with Fusionpbx?
 

ElecBoy

New Member
Sep 10, 2017
15
2
3
39
Yes you can.

What I do is create the number in "Dialplan->Destination" after that I go to the extension and in "Outbound Caller ID Number" select that particular number, and if you SIP Provider allows it, you should see the number calling.
 

ElecBoy

New Member
Sep 10, 2017
15
2
3
39
Depending on the provider, you have to a few things to get this going. Some providers are ok with the effective_caller_id whereas some others expect sip_from_uri


Please note I use this to allow multiple providers for fail-over.

https://www.pbxforums.com/threads/didlogic.21/ Normally you don't have to go this extreme as the first option works most of the time.

Off-Topic, What is that email option that you have there, looks interesting. :)
 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
Off-Topic, What is that email option that you have there, looks interesting.

I use 2 or 3 providers per outbound route. Out of these providers the last one is usually most reliable but most expensive; so I add that provider as the last one. When other providers fail for whatever reason, calls fail-over to the next provider and the email line is triggered before invoking the last bridge; I investigate the reason if I get a couple of such emails in succession.

Keeps my wallet healthy and I don't have to sleep in the garden shed :p
 
  • Like
Reactions: tag915

ElecBoy

New Member
Sep 10, 2017
15
2
3
39
I use 2 or 3 providers per outbound route. Out of these providers the last one is usually most reliable but most expensive; so I add that provider as the last one. When other providers fail for whatever reason, calls fail-over to the next provider and the email line is triggered before invoking the last bridge; I investigate the reason if I get a couple of such emails in succession.

Keeps my wallet healthy and I don't have to sleep in the garden shed :p

Yeah I also use different providers, can you provide that "lua" line? I would like to test it out, I already have smtp enabled. Thanks!
 

ElecBoy

New Member
Sep 10, 2017
15
2
3
39
Please take a look at email.lua at Advanced-> Script Editor. There is a usage example shown in the file. If you are stuck post back with the issue.


I hope you mean Advanced->Default Settings->Email

Found it! Let me check and yes SMTP in Default settings, I already have Voicemail via email, Thanks!
 
Status
Not open for further replies.