Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all 228100 articles
Browse latest View live

Multiple teams, outbound CID by country/area code

$
0
0

Yes, a team member can only be part of a single team. Will something like this work then to incorporate accountcode?

[custom-variables]
exten => s,1,Set(RecruitingCA=12345678911)   ; Canadian CID for Recruiting
exten => s,n,Set(RecruitingUS=98765432111)   ; US CID for Recruiting
exten => s,n,Set(SupportCA=9999999999)      ; Canadian CID for Support
exten => s,n,Set(SupportUS=8888888888)      ; US CID for Support
exten => s,n,Set(CSCA=7777777777)          ; Canadian CID for CS
exten => s,n,Set(CSUS=6666666666)          ; US CID for CS

[macro-dialout-trunk-predial-hook]
exten => s,1,NoOp(Entering user defined outbound macro)
exten => s,n,GotoIf($["${OUTBOUND_GROUP_ID}" != ""]?dialout-group-${OUTBOUND_GROUP_ID}-predial-hook,s,1)

; Ontario Area Codes
exten => _437XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _647XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _905XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _249XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _343XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _416XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _519XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _705XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _365XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _548XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _613XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _807XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _226XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _289XXXXXXXX,1,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
;...repeat for each Ontario Area Code and Support, CS

; Prince Edward Island Area Codes
exten => _902XXXXXXX,14,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _782XXXXXXX,14,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?canadian_recruiting)
exten => _902XXXXXXX,15,GotoIf($["${ACCOUNTCODE}" = "Support"]?canadian_support)
exten => _782XXXXXXX,15,GotoIf($["${ACCOUNTCODE}" = "Support"]?canadian_support)
exten => _902XXXXXXX,16,GotoIf($["${ACCOUNTCODE}" = "CS"]?canadian_cs)
exten => _782XXXXXXX,16,GotoIf($["${ACCOUNTCODE}" = "CS"]?canadian_cs)
;...will add Quebec and Saskatchewan below

; Set Canadian CID for each team
exten => s,n(canadian_recruiting),Set(CALLERID(number)=${RecruitingCA})
exten => s,n(canadian_support),Set(CALLERID(number)=${SupportCA})
exten => s,n(canadian_cs),Set(CALLERID(number)=${CSCA})
exten => s,n,Goto(default_cid)


; Default to US CID if not a Canadian call
exten => s,n(default_cid),GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?us_recruiting) 
exten => s,n,GotoIf($["${ACCOUNTCODE}" = "Support"]?us_support)         
exten => s,n,GotoIf($["${ACCOUNTCODE}" = "CS"]?us_cs)       


; Set US CID for each team
exten => s,n(us_recruiting),Set(CALLERID(number)=${RecruitingUS})
exten => s,n(us_support),Set(CALLERID(number)=${SupportUS})
exten => s,n(us_cs),Set(CALLERID(number)=${CSUS})

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

yes, it’s turned on.

ws - 0.0.0.0 - All = yes

wss - 0.0.0.0 - All = yes

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

I’m not familiar with Odoo but if it’s installed on your FreePBX server then what you have should work. If it’s a separate server, then it wouldn’t be localhost but the IP of your FreePBX server.

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

I am looking for the url which need to be entered in the WebSocket.

ws://localhost ?

What’s that for my PBX?

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

See previous reply.

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

setting is turned on but there is no url there.

image

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

I don’t know how else I can explain it to you. If the FreePBX server is separate from Odoo, put the IP address of the FreePBX server instead of localhost.

VoIP Server configuration in odoo 17 for Freepbx 16

$
0
0

yes, odoo server is separate.

and what’s the default port for the websocket.


Multiple teams, outbound CID by country/area code

$
0
0

Perhaps this is shorter with a canadian number flag:

[custom-variables]
exten => s,1,Set(RecruitingCA=12345678911)   ; Canadian CID for Recruiting
exten => s,n,Set(RecruitingUS=98765432111)   ; US CID for Recruiting
exten => s,n,Set(SupportCA=9999999999)      ; Canadian CID for Support
exten => s,n,Set(SupportUS=8888888888)      ; US CID for Support
exten => s,n,Set(CSCA=7777777777)          ; Canadian CID for CS
exten => s,n,Set(CSUS=6666666666)          ; US CID for CS

[macro-dialout-trunk-predial-hook]
exten => s,1,NoOp(Entering user defined outbound macro)
exten => s,n,GotoIf($["${OUTBOUND_GROUP_ID}" != ""]?dialout-group-${OUTBOUND_GROUP_ID}-predial-hook,s,1)

; Function to Check if a Number is Canadian
exten => s,n,Set(IsCanadian=0) ; Default to not Canadian
exten => s,n,GotoIf($["${OUTNUM:0:3}" = "204"]?set_canadian:check_next_area_code) ; Manitoba
exten => s,n(check_next_area_code),GotoIf($["${OUTNUM:0:3}" = "226"]?set_canadian:check_next_area_code) ; Ontario
exten => s,n,GotoIf($["${OUTNUM:0:3}" = "236"]?set_canadian:check_next_area_code) ; British Columbia
exten => s,n,GotoIf($["${OUTNUM:0:3}" = "249"]?set_canadian:check_next_area_code) ; Ontario
exten => s,n,GotoIf($["${OUTNUM:0:3}" = "250"]?set_canadian:check_next_area_code) ; British Columbia
;... (NEED TO ADD all other area codes) ...
exten => s,n,GotoIf($["${OUTNUM:0:3}" = "905"]?set_canadian:default_cid) ; Ontario - last one

; Set the Canadian flag if the number is Canadian
exten => s,n(set_canadian),Set(IsCanadian=1)
exten => s,n,Goto(default_cid)


; Default CID logic based on team and IsCanadian flag
exten => s,n(default_cid),GotoIf($["${ACCOUNTCODE}" = "Recruiting" & ${IsCanadian} = 1]?canadian_recruiting)
exten => s,n,GotoIf($["${ACCOUNTCODE}" = "Recruiting"]?us_recruiting) 

exten => s,n,GotoIf($["${ACCOUNTCODE}" = "Support" & ${IsCanadian} = 1]?canadian_support)
exten => s,n,GotoIf($["${ACCOUNTCODE}" = "Support"]?us_support) 

exten => s,n,GotoIf($["${ACCOUNTCODE}" = "CS" & ${IsCanadian} = 1]?canadian_cs)
exten => s,n,GotoIf($["${ACCOUNTCODE}" = "CS"]?us_cs) 

; Set the final CallerID based on team and country
exten => s,n(canadian_recruiting),Set(CALLERID(number)=${RecruitingCA})
exten => s,n(us_recruiting),Set(CALLERID(number)=${RecruitingUS})
exten => s,n(canadian_support),Set(CALLERID(number)=${SupportCA})
exten => s,n(us_support),Set(CALLERID(number)=${SupportUS})
exten => s,n(canadian_cs),Set(CALLERID(number)=${CSCA})
exten => s,n(us_cs),Set(CALLERID(number)=${CSUS})

Freebpx V17 at Debian 12: lets encrypt generation failure

$
0
0

we are having the same issue.
we set the Admin to 8080 and LetsEncrypt to port 80, ran the New Let’s Encrypt Certificate and get the error Unable to update challenge :: authorization must be pending

  • lechecker: Pest_Curl_Exec - Operation timed out after 30001 milliseconds with 0 out of -1 bytes received
    Local IP: 127.0.0.1, Public IP: dns error

I am using a nat and haven’t had any issues other than getting the letsencrypt to work.

Account recovery to request zend reset

$
0
0

Previous msp gave me local login creds but nothing for Sangoma. I THINK i have my new server configured properly, all thats left is transferring the registered modules. This seems easy enough but I’m new here. I would like to request additional resets in case this migration fails. Is there any way to figure out the account this deployment ID is registered to?

Is there an easier way to request additional resets? this is in case I need to transfer thing back to the old server.

PBX VPN tunnel - connect but no audio

$
0
0

Hi All,

I have the following setup:

Pfsense firewall with public IP in cloud > NAT port forward to FreePBX IP address via Tailscale VPN.

I am using Groundwire softphones on the public internet. I am trying to proxy almost through the cloud firewall for added security.

The soft phone works and can make calls, however when connected the audio channel does not work despite the fact the ports are correctly configured. I can see in pfsense that the audio ports are open, so the connection is obviously correct at least to establish a connection.

If I am connected to the local LAN, everything works fine. This is looking like a NAT issue.

Any ideas? I have tried to play around with the asterisk settings and adjusting the LAN to the public IP of the cloud firewall and also the IP of the Tailscale client.

Nothing appears to work. Any ideas?

Thanks.

PBX VPN tunnel - connect but no audio

$
0
0

Have you added the VPN subnet to Settings > Asterisk SIP Settings > Local Networks?

Account recovery to request zend reset

$
0
0

You may need to reach out through customer service through your new Sangoma account and check with them what the process for transferring a deployment to a completely new Sangoma account would be.

PBX VPN tunnel - connect but no audio

$
0
0

To be more specific, because others have made this mistake, not the subnet of the VPN tunnel network but the subnet of the network that the phone is plugged into.


PBX VPN tunnel - connect but no audio

$
0
0

Thanks.

To the PBX the traffic looks like it’s coming from 192.168.10.1, which is the IP of the firewall at the PBX site.

The WAN site, has a local IP of 10.0.0.0/24, however looking at PfTop in PfSense, this subnet doesn’t appear?

PfSense box 1 WAN = soft phone connection point.

PfSense box 1 > NAT to PfSense box 2 (100.x.x.x > 100.x.x.x - Tailscale addresses).

PfSense box 2 > PBX (192.168.10.1 > 192.168.10.28).

No external access to extensions

Hide/Disable Recording for CDR Reports

$
0
0

Hello. I would like to hide or disable the recording that would be appear within the module “CDR Reports”.

Is it any method for me to fulfill the requirement above? Thank you.

Freepbx 17 and Zulu?

$
0
0

I just installed Freepbx 17 on a couple VMs and I cannot find Zulu anywhere. Is Zulu being deprecated? I have been trying to move users to Sangoma Connect but most simply refuse to learn a new softphone after using zulu for years. I have to replace an old server in the next few weeks and would love to user Freepbx 17 and not have to deal with migrating from 16 after CentOS/SangomaOS 7 is EoL in a few months.

Freepbx 17 and Zulu?

$
0
0

Zulu is dead, the only software supported on both desktop and mobile is Sangoma Connect, which isn’t all that difficult… usual user excuse…

Viewing all 228100 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>