Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all 12590 articles
Browse latest View live

FreePBX 13 Responsive Firewall Blacklist attackers forever

$
0
0

@jerryriggin wrote:

I would like to blacklist IPs flagged as attackers multiple times, but I don’t see a way to do this with the firewall GUI, and I know the firewall writes the fail2ban rules so I don’t want to mess with them directly if possible. Is there any way to automatically block repeat offenders forever without cutting and pasting into blacklist?

Thanks!

Posts: 4

Participants: 3

Read full topic


Polycom phone not registering - No matching endpoint found

$
0
0

@windswept321 wrote:

Hi,

I am attempting to set up a freshly updated and reset Polycom IP 5000 but cannot get it to register with FreePBX.

Port 0 defaults to 5060. I did try changing to that also.
User ID is set to 100 which matches the endpoint and I have tested with a shorter secret with no success.
The endpoint page shows that the pjsip port is set to 5050.

The asterisk log:

Posts: 2

Participants: 1

Read full topic

Swap CALLERID(name) with CALLERID(number)

$
0
0

@msheshi wrote:

Hello,
I have a FreePBX server configured and running.
I have a problem when receiving Inbound Calls.
On the CALLERID(name) I receive the number instead of the name and on the CALLERID(number) i receive the name

-- Executing [s@macro-user-callerid:30] Set("SIP/OUT-00000053", "CALLERID(number)=test") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/OUT-00000053", "CALLERID(name)=06970xxxxx") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/OUT-00000053", "CDR(cnum)=test") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/OUT-00000053", "CDR(cnam)=06970xxxxx") in new stack

How could I swap this configuration ?

Thanks
Mikeli

Posts: 2

Participants: 2

Read full topic

Zulu Login Works but UCP does not after update

$
0
0

@SimonEng wrote:

Hello All,

After updating all components to the latest versions and also changing my Active Directory connection from Legacy to “New”, my users are no longer able to login to UCP. After the directory change I made sure to go into the appropriate groups to re-activate and re-check all of the options, especially to enable, both UCP and ZULU. Zulu logins work but the UCP logins do not. In trying to diagnose, I don’t have much to go on apart from these entries in the freepbx_security.log

[2018-10-26 08:30:40] Authentication failure for se182 from 10.2.1.130
[2018-10-26 08:30:42] Authentication failure for se182 from 10.2.1.130
[2018-10-26 10:36:22] Authentication failure for se182@xxxxpbx.xxxx.com from 10.2.1.130

And this in ucp_err.log:

Error: ENOENT, stat ‘/var/www/html/admin/modules/ucpnode/node/lib/public/index.html’
Error: ENOENT, stat ‘/var/www/html/admin/modules/ucpnode/node/lib/public/index.html’

I think the process is running:

[root@XXXXPBX asterisk]# ps -ef | grep ucpnode
asterisk 4315 4094 0 08:21 ? 00:00:09 node /var/www/html/admin/modules/ucpnode/node/index.js
root 22115 23496 0 10:43 pts/0 00:00:00 grep ucpnode
[root@XXXXPBX asterisk]# fwconsole ma list | grep ucpnode
| ucpnode | 13.0.34.9 | Enabled | Commercial |

[root@XXXXPBX asterisk]# tail ucp_out.log
AMPDBNAME: ‘asterisk’,
AMPDBENGINE: ‘mysql’,
datasource: ‘’ }
Starting FreePBX…Starting FreePBX…FreePBX is Ready!
Asterisk version is: 13.13.1
Loading all UCP Modules…
Loading…conferencespro.js
Loading…xmpp.js
Done!
Server up and running at 8001 port

Is there a way to dial up the logging to see where it is failing?

Thanks!

Posts: 1

Participants: 1

Read full topic

Restrict Inbound Calls on Inbound Route

$
0
0

@dsetech wrote:

On our PBX server, we have some extensions which are linked to inbound routes. We want to restrict who is able to call those inbound routes, but I have not been able to find a way to do so. We already use Extension routes to restrict the outbound calls they can make, but I want to do this for the inbound calls too.

Posts: 2

Participants: 2

Read full topic

Problem with outbound call to alarm number

$
0
0

@jaymef wrote:

Config:

FreePBX 14.0.3.25 (everything updated to latest versions)
Provider: Vitelity

I rebuilt an old trixbox system on FreePBX, it’s a basic setup with light use. All regular personal extensions are working as intended inbound/outbound.

We had an alarm system using an extension (I know this is generally not recommended, but it had been working for years). The phone system plugs in to a cisco spa112 phone adapter (no settings on it have been changed).

We’ve noticed that the alarm system is reporting a problem connecting to the number. The SIP status is good, connected/registered. I can plug a landline in to it and dial out without a problem.

I look at the asterisk logs and can see the extension trying to dial the alarm company number which is a toll free 1844xxx-xxx number. It’s just not answering. If I call this number from my cell phone I get an answer similar to a fax machine. If I try calling it directly from a sip phone/software I just hear silence for 10-20 seconds or so and a message “number is not answering”

I’m not really sure why the number does not pick up when called from asterisk. I’m thinking potentially some sort of problem with codecs but I don’t get any indication of that from the logs. Here is an example log of me trying to dial this number from a sip extension:

Any help or further troubleshooting tips would be greatly appreciated. Thanks!

[2018-10-26 20:06:38] VERBOSE[21551][C-00000092] netsock2.c: Using SIP RTP TOS bits 184
[2018-10-26 20:06:38] VERBOSE[21551][C-00000092] netsock2.c: Using SIP RTP CoS mark 5
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [1844XXXXXXX@from-internal:1] Macro(“SIP/199-0000005f”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/199-0000005f”, “TOUCH_MONITOR=1540595198.95”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/199-0000005f”, “AMPUSER=199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“SIP/199-0000005f”, “0?report”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“SIP/199-0000005f”, “1?Set(REALCALLERIDNUM=199)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/199-0000005f”, “AMPUSER=199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“SIP/199-0000005f”, “0?limit”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:7] Set(“SIP/199-0000005f”, “AMPUSERCIDNAME=test”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“SIP/199-0000005f”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“SIP/199-0000005f”, “0?report”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/199-0000005f”, “AMPUSERCID=199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:11] Set(“SIP/199-0000005f”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/199-0000005f”, “CALLERID(all)=“test” <199>”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“SIP/199-0000005f”, “0?limit”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“SIP/199-0000005f”, “1?Set(GROUP(concurrency_limit)=199)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“SIP/199-0000005f”, “0?Set(CHANNEL(language)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“SIP/199-0000005f”, “Macro Depth is 1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“SIP/199-0000005f”, “1?report2:macroerror”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“SIP/199-0000005f”, “1?continue”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:37] Set(“SIP/199-0000005f”, “CALLERID(number)=199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:38] Set(“SIP/199-0000005f”, “CALLERID(name)=test”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“SIP/199-0000005f”, “0?cnum”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:40] Set(“SIP/199-0000005f”, “CDR(cnam)=test”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:41] Set(“SIP/199-0000005f”, “CDR(cnum)=199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-user-callerid:42] Set(“SIP/199-0000005f”, “CHANNEL(language)=en”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [1844XXXXXXX@from-internal:2] Gosub(“SIP/199-0000005f”, “sub-record-check,s,1(out,1844XXXXXXX,dontcare)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/199-0000005f”, “0?initialized”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/199-0000005f”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/199-0000005f”, “NOW=1540595198”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/199-0000005f”, “__DAY=26”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/199-0000005f”, “__MONTH=10”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/199-0000005f”, “__YEAR=2018”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/199-0000005f”, “__TIMESTR=20181026-200638”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/199-0000005f”, “__FROMEXTEN=199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/199-0000005f”, “__MON_FMT=wav”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/199-0000005f”, “Recordings initialized”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/199-0000005f”, “0?Set(ARG3=dontcare)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/199-0000005f”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/199-0000005f”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/199-0000005f”, “3?checkaction”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (sub-record-check,s,17)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/199-0000005f”, “1?sub-record-check,out,1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (sub-record-check,out,1)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/199-0000005f”, “Outbound Recording Check from 199 to 1844XXXXXXX”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/199-0000005f”, “RECMODE=dontcare”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/199-0000005f”, “1?Goto(routewins)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (sub-record-check,out,7)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/199-0000005f”, “recordcheck,1(dontcare,out,1844XXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/199-0000005f”, “Starting recording check against dontcare”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/199-0000005f”, “dontcare”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [1844XXXXXXX@from-internal:3] ExecIf(“SIP/199-0000005f”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [1844XXXXXXX@from-internal:4] Set(“SIP/199-0000005f”, “MOHCLASS=default”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [1844XXXXXXX@from-internal:5] Set(“SIP/199-0000005f”, “_NODEST=”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [1844XXXXXXX@from-internal:6] Macro(“SIP/199-0000005f”, “dialout-trunk,1,1844XXXXXXX,off”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/199-0000005f”, “DIAL_TRUNK=1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/199-0000005f”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/199-0000005f”, “0?sub-pincheck,s,1()”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERID(num)=199)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/199-0000005f”, “0?disabletrunk,1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/199-0000005f”, “DIAL_NUMBER=1844XXXXXXX”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“SIP/199-0000005f”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“SIP/199-0000005f”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“SIP/199-0000005f”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/199-0000005f”, “0?nomax”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf(“SIP/199-0000005f”, “0?chanfull”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/199-0000005f”, “0?skipoutcid”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“SIP/199-0000005f”, “outbound-callerid,1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“SIP/199-0000005f”, “199”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“SIP/199-0000005f”, “off”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“SIP/199-0000005f”, “0?Set(REALCALLERIDNUM=199)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf(“SIP/199-0000005f”, “0?Set(AMPUSER=199)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf(“SIP/199-0000005f”, “1?normcid”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“SIP/199-0000005f”, "USEROUTCID=“test” ") in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“SIP/199-0000005f”, “EMERGENCYCID=”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:14] Set(“SIP/199-0000005f”, “TRUNKOUTCID=”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf(“SIP/199-0000005f”, “1?trunkcid”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERID(all)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“SIP/199-0000005f”, “1?Set(CALLERID(all)=“test” )”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERID(all)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“SIP/199-0000005f”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:25] Set(“SIP/199-0000005f”, “CDR(outbound_cnum)=XXXXXXXXXX”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“SIP/199-0000005f”, “CDR(outbound_cnam)=test”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/199-0000005f”, “1?sub-flp-1,s,1()”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-flp-1:1] ExecIf(“SIP/199-0000005f”, “0?Return()”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@sub-flp-1:2] Return(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/199-0000005f”, “OUTNUM=1844XXXXXXX”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“SIP/199-0000005f”, “custom=SIP/vitel-outbound”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/199-0000005f”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/199-0000005f”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“SIP/199-0000005f”, “dialout-trunk-predial-hook,”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/199-0000005f”, “0?bypass,1”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/199-0000005f”, “1?Set(CONNECTEDLINE(num,i)=1844XXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf(“SIP/199-0000005f”, “1?Set(CONNECTEDLINE(name,i)=CID:XXXXXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/199-0000005f”, “1?Set(CONNECTEDLINE(num,i)=1844XXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf(“SIP/199-0000005f”, “1?Set(CONNECTEDLINE(name,i)=CID:XXXXXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:23] ExecIf(“SIP/199-0000005f”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)XXXXXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/199-0000005f”, “0?customtrunk”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:25] Dial(“SIP/199-0000005f”, “SIP/vitel-outbound/1844XXXXXXX,300,Tb(func-apply-sipheaders^s^1)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] netsock2.c: Using SIP RTP TOS bits 184
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] netsock2.c: Using SIP RTP CoS mark 5
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_stack.c: SIP/vitel-outbound-00000060 Internal Gosub(func-apply-sipheaders,s,1) start
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp(“SIP/vitel-outbound-00000060”, “Applying SIP Headers to channel”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:2] Set(“SIP/vitel-outbound-00000060”, “SIPHEADERKEYS=”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:3] ExecIf(“SIP/vitel-outbound-00000060”, “0?Set(Rheader=1)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:4] While(“SIP/vitel-outbound-00000060”, “0”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_while.c: Jumping to priority 8
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf(“SIP/vitel-outbound-00000060”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“SIP/vitel-outbound-00000060”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:11] Return(“SIP/vitel-outbound-00000060”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_stack.c: Spawn extension (from-trunk, 1844XXXXXXX, 1) exited non-zero on ‘SIP/vitel-outbound-00000060’
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_stack.c: SIP/vitel-outbound-00000060 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_dial.c: Called SIP/vitel-outbound/1844XXXXXXX
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“SIP/199-0000005f”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/199-0000005f”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/199-0000005f”, “RC=18”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/199-0000005f”, “18,1”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-dialout-trunk,18,1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [18@macro-dialout-trunk:1] Goto(“SIP/199-0000005f”, “s-NOANSWER,1”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-dialout-trunk,s-NOANSWER,1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp(“SIP/199-0000005f”, “Dial failed due to trunk reporting NOANSWER - giving up”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:2] Progress(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:3] Playback(“SIP/199-0000005f”, “number-not-answering,noanswer”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] file.c: <SIP/199-0000005f> Playing ‘number-not-answering.ulaw’ (language ‘en’)
:1
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:23] ExecIf(“SIP/199-0000005f”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)XXXXXXXXXX)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/199-0000005f”, “0?customtrunk”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:25] Dial(“SIP/199-0000005f”, “SIP/vitel-outbound/1844XXXXXXX,300,Tb(func-apply-sipheaders^s^1)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] netsock2.c: Using SIP RTP TOS bits 184
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] netsock2.c: Using SIP RTP CoS mark 5
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_stack.c: SIP/vitel-outbound-00000060 Internal Gosub(func-apply-sipheaders,s,1) start
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp(“SIP/vitel-outbound-00000060”, “Applying SIP Headers to channel”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:2] Set(“SIP/vitel-outbound-00000060”, “SIPHEADERKEYS=”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:3] ExecIf(“SIP/vitel-outbound-00000060”, “0?Set(Rheader=1)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:4] While(“SIP/vitel-outbound-00000060”, “0”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_while.c: Jumping to priority 8
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf(“SIP/vitel-outbound-00000060”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“SIP/vitel-outbound-00000060”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] pbx.c: Executing [s@func-apply-sipheaders:11] Return(“SIP/vitel-outbound-00000060”, “”) in new stack
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_stack.c: Spawn extension (from-trunk, 1844XXXXXXX, 1) exited non-zero on ‘SIP/vitel-outbound-00000060’
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_stack.c: SIP/vitel-outbound-00000060 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2018-10-26 20:06:38] VERBOSE[26467][C-00000092] app_dial.c: Called SIP/vitel-outbound/1844XXXXXXX
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“SIP/199-0000005f”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/199-0000005f”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/199-0000005f”, “RC=18”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/199-0000005f”, “18,1”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-dialout-trunk,18,1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [18@macro-dialout-trunk:1] Goto(“SIP/199-0000005f”, “s-NOANSWER,1”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx_builtins.c: Goto (macro-dialout-trunk,s-NOANSWER,1)
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp(“SIP/199-0000005f”, “Dial failed due to trunk reporting NOANSWER - giving up”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:2] Progress(“SIP/199-0000005f”, “”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:3] Playback(“SIP/199-0000005f”, “number-not-answering,noanswer”) in new stack
[2018-10-26 20:07:09] VERBOSE[26467][C-00000092] file.c: <SIP/199-0000005f> Playing ‘number-not-answering.ulaw’ (language ‘en’)

Posts: 2

Participants: 2

Read full topic

PJSIP over TLS not working with non-standard port

$
0
0

@vianneyjs wrote:

I’m running FreePBX 14 with Asterisk 13 (fully patched).

This FreePBX appliance is behind a Cisco ASA with the latest OS image.

Here are the setups that work.

1- SIP over TLS with standard port (5061)
2- SIP over TLS with non-standard port (31967*).
Initially there was an one-way audio issue, but after adding “externtlsport = 31967” under Asterisk Settings ==> Chan SIP Settings ==> Other SIP Settings, it worked wonders.
3- PJSIP over TLS with port 5161.

What does not work, where the endpoint won’t even register:

  • PJSIP over TLS with non-stardard port (31968*).

*Any random port.

Tested with a Sangoma Phone and Bria Mobile for iOS as remote/over the Internet endpoints.

Any thoughts?

Thank you

Posts: 2

Participants: 2

Read full topic

FreePBX stuck on reboot for a long time

$
0
0

@aristosv wrote:

I’ve just set up a new installation of FreePBX (SNG7-PBX-64bit-1805-1). When I restart the machine either with the reboot command from CLI or from the FreePBX web interface, the shutdown process stays stuck for about 5-10 minutes at the following step.

Stopping Logout of all iSCSI sessions on shutdown…
Stopped Logout of all iSCSI sessions on shutdown.

I’m guessing it’s waiting for a timeout but it’s a problem to wait this long for a reboot.
Anyone faced this issue before?

Posts: 2

Participants: 1

Read full topic


Queue Related Issue

$
0
0

@asifahmed009 wrote:

Hello,

My scenario is that caller should not charge in queue until our agent answer their call.
This scenario is perfectly working with ring group. If i route my calls to ring group with any ring strategy it works.
But our requirement is “Queue” because of agent/queue real time monitoring, detailed reports, agent login/logout etc.
Other queue options not soo much required like Music on Hold , Join announcement.
Please suggest me if any configuration required or tools for ring group options detail.

Thanks In Advance
Need Expert Advice.

Posts: 1

Participants: 1

Read full topic

Outbound call on PJSIP showing anonymous with no CID

$
0
0

@milauria wrote:

Hello - I read read lots of threads on missing outbound CID but I have not been able to get to anything to solve it. I am on FreePBX14/Asterisk13.

Below the trace of a test call to number +61xxxxx, where the trunk is set to pass its CID +39055xxxxxxx.

  • If I make the call from a SIP client connected straight to the SIP provider, with no Asterisk, all works good and the call receiver sees the CID
  • If I make the call from FreePBX the call receiver sees anonymous caller no matter the trunk settings I have including “force CID”
  • what I noticed is a “CID:(hidden)” and “customtrunk” tag that made be worried of something wrong going on:

– Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/99-0000001e”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/99-0000001e”, “1?Set(CONNECTEDLINE(num,i)=+61xxxxxxxxx)”) in new stack
– Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/99-0000001e”, “1?Set(CONNECTEDLINE(name,i)=CID:+39055yyyyyy)”) in new stack
– Executing [s@macro-dialout-trunk:23] ExecIf(“PJSIP/99-0000001e”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)+39055yyyyyy)”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/99-0000001e”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:25] Dial(“PJSIP/99-0000001e”, “SIP/messagenet/+61xxxxxxxxx,300,Tb(func-apply-sipheaders^s^1)”) in new stack

I would appreciate any hint you can provide

Call trace:

-- Executing [+61xxxxxxxxx@from-internal:1] Macro("PJSIP/99-0000001e", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/99-0000001e", "TOUCH_MONITOR=1540643169.50") in new stack
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/99-0000001e", "AMPUSER=99") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/99-0000001e", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/99-0000001e", "1?Set(REALCALLERIDNUM=99)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/99-0000001e", "AMPUSER=99") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/99-0000001e", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("PJSIP/99-0000001e", "AMPUSERCIDNAME=Michele") in new stack
    -- Executing [s@macro-user-callerid:8] ExecIf("PJSIP/99-0000001e", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("PJSIP/99-0000001e", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("PJSIP/99-0000001e", "AMPUSERCID=99") in new stack
    -- Executing [s@macro-user-callerid:11] Set("PJSIP/99-0000001e", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:12] Set("PJSIP/99-0000001e", "CALLERID(all)="Michele" <99>") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/99-0000001e", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/99-0000001e", "1?Set(GROUP(concurrency_limit)=99)") in new stack
    -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/99-0000001e", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:16] NoOp("PJSIP/99-0000001e", "Macro Depth is 1") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/99-0000001e", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [s@macro-user-callerid:18] GotoIf("PJSIP/99-0000001e", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,37)
    -- Executing [s@macro-user-callerid:37] Set("PJSIP/99-0000001e", "CALLERID(number)=99") in new stack
    -- Executing [s@macro-user-callerid:38] Set("PJSIP/99-0000001e", "CALLERID(name)=Michele") in new stack
    -- Executing [s@macro-user-callerid:39] GotoIf("PJSIP/99-0000001e", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:40] Set("PJSIP/99-0000001e", "CDR(cnam)=Michele") in new stack
    -- Executing [s@macro-user-callerid:41] Set("PJSIP/99-0000001e", "CDR(cnum)=99") in new stack
    -- Executing [s@macro-user-callerid:42] Set("PJSIP/99-0000001e", "CHANNEL(language)=it") in new stack
    -- Executing [+61xxxxxxxxx@from-internal:2] Gosub("PJSIP/99-0000001e", "sub-record-check,s,1(out,+61xxxxxxxxx,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("PJSIP/99-0000001e", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("PJSIP/99-0000001e", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("PJSIP/99-0000001e", "NOW=1540643169") in new stack
    -- Executing [s@sub-record-check:4] Set("PJSIP/99-0000001e", "__DAY=27") in new stack
    -- Executing [s@sub-record-check:5] Set("PJSIP/99-0000001e", "__MONTH=10") in new stack
    -- Executing [s@sub-record-check:6] Set("PJSIP/99-0000001e", "__YEAR=2018") in new stack
    -- Executing [s@sub-record-check:7] Set("PJSIP/99-0000001e", "__TIMESTR=20181027-142609") in new stack
    -- Executing [s@sub-record-check:8] Set("PJSIP/99-0000001e", "__FROMEXTEN=99") in new stack
    -- Executing [s@sub-record-check:9] Set("PJSIP/99-0000001e", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("PJSIP/99-0000001e", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("PJSIP/99-0000001e", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("PJSIP/99-0000001e", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("PJSIP/99-0000001e", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("PJSIP/99-0000001e", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/99-0000001e", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("PJSIP/99-0000001e", "Outbound Recording Check from 99 to +61xxxxxxxxx") in new stack
    -- Executing [out@sub-record-check:2] Set("PJSIP/99-0000001e", "RECMODE=dontcare") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("PJSIP/99-0000001e", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [out@sub-record-check:7] Gosub("PJSIP/99-0000001e", "recordcheck,1(dontcare,out,+61xxxxxxxxx)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/99-0000001e", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/99-0000001e", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/99-0000001e", "") in new stack
    -- Executing [out@sub-record-check:8] Return("PJSIP/99-0000001e", "") in new stack
    -- Executing [+61xxxxxxxxx@from-internal:3] ExecIf("PJSIP/99-0000001e", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [+61xxxxxxxxx@from-internal:4] Set("PJSIP/99-0000001e", "MOHCLASS=default") in new stack
    -- Executing [+61xxxxxxxxx@from-internal:5] Set("PJSIP/99-0000001e", "_NODEST=") in new stack
    -- Executing [+61xxxxxxxxx@from-internal:6] Macro("PJSIP/99-0000001e", "dialout-trunk,2,+61xxxxxxxxx,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/99-0000001e", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/99-0000001e", "0?Set(DIAL_OPTIONS=tr)") in new stack
    -- Executing [s@macro-dialout-trunk:3] GosubIf("PJSIP/99-0000001e", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/99-0000001e", "0?Set(CALLERID(num)=99)") in new stack
    -- Executing [s@macro-dialout-trunk:5] GotoIf("PJSIP/99-0000001e", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("PJSIP/99-0000001e", "DIAL_NUMBER=+61xxxxxxxxx") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("PJSIP/99-0000001e", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/99-0000001e", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/99-0000001e", "DIAL_TRUNK_OPTIONS=T") in new stack
    -- Executing [s@macro-dialout-trunk:10] GotoIf("PJSIP/99-0000001e", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/99-0000001e", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:12] GotoIf("PJSIP/99-0000001e", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:13] Macro("PJSIP/99-0000001e", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/99-0000001e", "99") in new stack
    -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/99-0000001e", "") in new stack
    -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/99-0000001e", "all") in new stack
    -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/99-0000001e", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/99-0000001e", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:6] ExecIf("PJSIP/99-0000001e", "0?Set(REALCALLERIDNUM=99)") in new stack
    -- Executing [s@macro-outbound-callerid:7] ExecIf("PJSIP/99-0000001e", "0?Set(AMPUSER=99)") in new stack
    -- Executing [s@macro-outbound-callerid:8] GotoIf("PJSIP/99-0000001e", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] Set("PJSIP/99-0000001e", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:13] Set("PJSIP/99-0000001e", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:14] Set("PJSIP/99-0000001e", "TRUNKOUTCID=+39055599999") in new stack
    -- Executing [s@macro-outbound-callerid:15] GotoIf("PJSIP/99-0000001e", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,20)
    -- Executing [s@macro-outbound-callerid:20] ExecIf("PJSIP/99-0000001e", "1?Set(CALLERID(all)=+39055599999)") in new stack
    -- Executing [s@macro-outbound-callerid:21] ExecIf("PJSIP/99-0000001e", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/99-0000001e", "1?Set(CALLERID(all)=+39055599999)") in new stack
    -- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/99-0000001e", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/99-0000001e", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:25] Set("PJSIP/99-0000001e", "CDR(outbound_cnum)=+39055599999") in new stack
    -- Executing [s@macro-outbound-callerid:26] Set("PJSIP/99-0000001e", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/99-0000001e", "1?sub-flp-2,s,1()") in new stack
    -- Executing [s@sub-flp-2:1] ExecIf("PJSIP/99-0000001e", "0?Return()") in new stack
    -- Executing [s@sub-flp-2:2] Return("PJSIP/99-0000001e", "") in new stack
    -- Executing [s@macro-dialout-trunk:15] Set("PJSIP/99-0000001e", "OUTNUM=+61xxxxxxxxx") in new stack
    -- Executing [s@macro-dialout-trunk:16] Set("PJSIP/99-0000001e", "custom=SIP/messagenet") in new stack
    -- Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/99-0000001e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
    -- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/99-0000001e", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:19] Macro("PJSIP/99-0000001e", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/99-0000001e", "") in new stack
    -- Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/99-0000001e", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/99-0000001e", "1?Set(CONNECTEDLINE(num,i)=+61xxxxxxxxx)") in new stack
    -- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/99-0000001e", "1?Set(CONNECTEDLINE(name,i)=CID:+39055599999)") in new stack
    -- Executing [s@macro-dialout-trunk:23] ExecIf("PJSIP/99-0000001e", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)+39055599999)") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/99-0000001e", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:25] Dial("PJSIP/99-0000001e", "SIP/messagenet/+61xxxxxxxxx,300,Tb(func-apply-sipheaders^s^1)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- SIP/messagenet-00000014 Internal Gosub(func-apply-sipheaders,s,1) start
    -- Executing [s@func-apply-sipheaders:1] NoOp("SIP/messagenet-00000014", "Applying SIP Headers to channel") in new stack
    -- Executing [s@func-apply-sipheaders:2] Set("SIP/messagenet-00000014", "SIPHEADERKEYS=") in new stack
    -- Executing [s@func-apply-sipheaders:3] ExecIf("SIP/messagenet-00000014", "0?Set(Rheader=1)") in new stack
    -- Executing [s@func-apply-sipheaders:4] While("SIP/messagenet-00000014", "0") in new stack
    -- Jumping to priority 8
    -- Executing [s@func-apply-sipheaders:9] ExecIf("SIP/messagenet-00000014", "0?SIPRemoveHeader(Alert-Info:)") in new stack
    -- Executing [s@func-apply-sipheaders:10] ExecIf("SIP/messagenet-00000014", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
    -- Executing [s@func-apply-sipheaders:11] Return("SIP/messagenet-00000014", "") in new stack
  == Spawn extension (from-trunk-sip-messagenet, +61xxxxxxxxx, 1) exited non-zero on 'SIP/messagenet-00000014'
    -- SIP/messagenet-00000014 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    -- Called SIP/messagenet/+61xxxxxxxxx
  == Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'PJSIP/99-0000001e' in macro 'dialout-trunk'
  == Spawn extension (from-internal, +61xxxxxxxxx, 6) exited non-zero on 'PJSIP/99-0000001e'
    -- Executing [h@from-internal:1] Macro("PJSIP/99-0000001e", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/99-0000001e", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/99-0000001e", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] NoOp("PJSIP/99-0000001e", "SIP/messagenet-00000014 monior file= ") in new stack
    -- Executing [s@macro-hangupcall:5] AGI("PJSIP/99-0000001e", "attendedtransfer-rec-restart.php,SIP/messagenet-00000014,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- <PJSIP/99-0000001e>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [s@macro-hangupcall:6] Hangup("PJSIP/99-0000001e", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/99-0000001e' in macro 'hangupcall'

Posts: 1

Participants: 1

Read full topic

Seemingly incompatible outbound trunks

$
0
0

@smokinjo wrote:

Hello,

We are setting up FreePBX to use 2 different outbound trunks.

We have 2 channels outbound that we use with one supplier but the calls in excess of 2 calls will falll over to second supplier.

In the main trunk, we limit the trunk to 2 outgoing calls.

When missing, we need to add a “1” to outgoing calls for the first trunk provider.

The second provider requires a 5 number prepend.

So, when we make the rule, we are stuck because we do not know which trunk will be used, so we do not know which prepend will be needed.

I am still learning my way around toubound call rles, so I need so ehelp.

To get around this, can we make two seperate rules?
1st -the man trunk with up to 2 channels, otherwise it will not work
2nd - this rule will be set after the first one, and when the first rule can not be used, it will pass on to the second rule.

Thanks for any feedback that will work this out, or show me where my outbound rules do nto work.

Joseph

Posts: 2

Participants: 2

Read full topic

Backup/restore from FreePBX 14.0.1alpha34 to 14.0.1alpha34

$
0
0

@jameeldroid wrote:

Hi,

so this is my first post on this forum. I have tried to setup freepbx first time and restored a backup taken from version FreePBX 14.0.1alpha34 to the new server FreePBX 14.0.1alpha34. it should have gone fine but my new server is broken with the restore. any idea?

this is how the webpage looks after restore.

Posts: 3

Participants: 2

Read full topic

Issue SIP Trunk

$
0
0

@jonjoe wrote:

Hi,

I don’t know how to configure or integrate the SIP Trunk with Freepbx. My idea is do a IVR using SIP trunk.

Please, can someone help me?

Thanks.

Posts: 3

Participants: 3

Read full topic

Are backups compatible with a different deployment?

$
0
0

@travis_farmer wrote:

i have a different server that i would like to move my system to, mainly because it is more power and space efficient (4U server to 1U). i have scheduled full backups, and i was wondering if i could simply do a fresh install on the other server, activate it, and then restore the backup to it to save configuration time? i would probably do a up-to-the second backup first.
i realize the deployment ID would be different, and the extra modules i have installed will have to be re-installed. so far, i have only installed free modules.

~Travis

Posts: 3

Participants: 2

Read full topic

freePBX & Asterisk export/import from an older version to a newer version?

$
0
0

@tazugre wrote:

Hello everyone,

currently we are using free PBX 10.13.66-2 & Asterisk 13.12.2.
Our plan is to upgrade to a newer freePBX/Asterisk Version probably the latest suggested version:
FreePBX 14 • Linux 7.5 • Asterisk 13 or 15

Are there any known problems doing the move to a new vm with the latest versions? I was going to export the data via my freePBX GUI & do some configuration/files backups manually.

Or is it better to move to a vm with the same freePBX/Asterisk Versions and try to upgrade from that state? Because our current distro won’t be able to handle the new freePBX/Asterisk version.

Posts: 1

Participants: 1

Read full topic


IVR distribution

$
0
0

@datalinq wrote:

Customer has an afterhours ivr. Press 1 for on-call mobile and press 2 to leave a voicemail. This works fine but when they press 1 to dial the on-call mobile phone the call is directed out the wrong trunk. How do a force an ivr to use the same outbound route or trunk?

Posts: 2

Participants: 2

Read full topic

Blind transfer to voicemail for extension that starts with 69

$
0
0

@lgraham wrote:

FreePBX 13.0.195.1 with Polycom IP670 Reception phone

Blind transfers directly to voicemail work for all other extensions but newly created extensions 691 and 692. My guess is that the traditional *69 feature code for number callback is causing the problem, even though I manually customized the Call Trace feature code from 69 to 61. Can anyone help?

Posts: 3

Participants: 2

Read full topic

Trainer/Trainee team Ring Group Auto Conference setup - Need help pointing me into the right direction

$
0
0

@affa wrote:

Hi,

We just upgraded to the current distro with a few commercial modules. all the basic and easy stuff are working fine. But as part of the rollout I have a tough customer request and after searching everywhere I hope the community can help me out…

Lets say a call comes in via a SIP Trunk on a particular DID, we want it to ring John and Ben (x801 and x802) simultaneously, so use Ring Group you say? wrong, read on…

John is training Ben so when either of them picks up the phone, we want the extension that’s still on-hook to be able to join the call if required. so use Call Barge you say? wrong, read on…

With call barge the extension that picked up the outside caller will have control of the call. Lets say John x801 picked up the call, John tells Ben x802 to join, so Ben does so via barging, 3-way conversation happens, everybody is happy for now. But now John would like to tell Ben to continue and finalize things with the caller and ideally John himself can now hang up or take another call. But he can’t because if he does the call will terminate.

Similarly if another caller calls in while the 3-way call is in progress, John can’t leave the call and pick up the new call. if he hangs up the call in progress will terminate. if he go on hold the current call will get hold music while the caller and Ben is still having a conversation…

On top of all these. We would like to be able to set a BLF for other similar teams/cells to be able to pick up John/Ben’s call when they are unable to and vice versa.

Yeah they don’t want much…

So the ideal behavior is a little like 2 dumb POTS phone wired in parallel. either can pick up, either can hang up and only the last extension that hangs up actually terminates the call… That’s how they explained it to me (!) of course they conveniently left out little details like they might actually like to be on calls to different parties, multiple incoming lines and BLF etc that a dumb POTS phone don’t do…

So what should I do? I was thinking towards virtual extensions and conference rooms for incoming calls (but how to handle the second outside caller while a call is ongoing?, last thing we want is to put 2 outside callers into the same call))… If someone can help pointing me to the right direction I’d be much obliged…

Once this is solved we can look at the BLF as it kinda depends on what we come up with at the end for the main requirement.

If you have read this far I thank you for your interest. All offer of help will be appreciated.

thanks,
affa

Posts: 1

Participants: 1

Read full topic

Transfer to voicemail invalid extension

$
0
0

@sentinelace wrote:

I am using DTMF with ##* then the extension. If you dial ##* then the extension, it says that is not a valid extension. I’m pretty sure this worked fine in freepbx 13. I’m on 14 now

Posts: 3

Participants: 2

Read full topic

Relay Media SIP Trunk Setting?

$
0
0

@mvogel4949 wrote:

A company we use for some SIP trunks has told us we can get some very useful information in our SIP trunk portal if we turn on “Relay Media” in the PBX. Any idea what setting they might be speaking of?

Posts: 1

Participants: 1

Read full topic

Viewing all 12590 articles
Browse latest View live


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