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

Endpoint Setup has Vanished

$
0
0

Thanks. Interesting and possibly useful but doesn’t answer why my EP has recently stopped functioning.


Endpoint Setup has Vanished

$
0
0

Another user already answered you for that.

Run script when no one pick up incoming call

$
0
0

There are a couple of things we need to talk about:

  1. You can’t make changes to the queues_additional.conf file. They will get over-written when you Apply Changes on the system. Only use the “Queues” screen to manage your queues.
  2. On the Queues screen, there is a destination you can use when someone drops off the end of the queue (they time-out of the queue). This destination can be almost anything - what it does will be limited by your imagination and what you can do with the call.
  3. It sounds like you want to run a script when someone is just waiting in the queue. I’m not sure that that’s a thing, but there are lots of options in the queues module that you can invoke.

How do i save preferences in Zulu?

$
0
0

Hi, we know about this issue, we opened an internal ticket with our developers in order to solve this.
I will let you know when this is done.

Thanks!

How do i save preferences in Zulu?

$
0
0

Sergio, thanks for the update!!! I await your fix…

How can I pass a variable to the trunk monitor agi script

$
0
0

You tried dumping the environment at the beginning of your AGI already, right? That would be the easiest way to see what you have to work with.

I would be astounded if the trunk module didn’t manage the trunk name somewhere. There’s already quite a bit of environment information that’s available in the parent context, so getting one of those variables should make it a little easier.

The code detective in me would search through the AGI interface and see what I could add to the code and make a change and submit that. Finally, if none of that helps, you could try submitting a Feature Request that the trunk name get passed to the Monitor script automatically. It should be a one or two line change.

Is there a way to adjust or disable maxptime?

$
0
0

We have a client with Freepbx 14.0.13.26 with Asterisk 13.22.0 installed.

Their TELCO insist that we have to adjust maxptime value to 20 or to a multitude of 20, instead of the default 150. If we cannot they want us to completely disable maxptime.

Is there a way to adjust maxptime or disable it?

Thanks

Endpoint Setup has Vanished

$
0
0

Is Rest Apps actually called “Phone Apps”? In that case the module is not loaded. No error messages. EP seems to be able to be used but lost settings.

Was working fine after upgrading to V15.


Is there a way to adjust or disable maxptime?

$
0
0

There’s no built in mechanism in either chan_sip or chan_pjsip to disable the setting of maxptime. Doing so would require code modification to remove it.

Is there a way to adjust or disable maxptime?

$
0
0

Not to split hairs, but isn’t there a way to set it on the PJ-SIP side in the *_custom.conf file? I vaguely remember this coming up and someone figuring out a [some_context] (+) section to fix it…

How can I pass a variable to the trunk monitor agi script

$
0
0

This is what the log looks like as it happens.

[2020-06-24 11:42:36] VERBOSE[15230][C-00000555] pbx.c: Executing [s@func-apply-sipheaders:12] EndWhile("PJSIP/Skyetel-00000b32", "") in new stack
[2020-06-24 11:42:36] VERBOSE[15230][C-00000555] pbx.c: Executing [s@func-apply-sipheaders:4] While("PJSIP/Skyetel-00000b32", "0") in new stack
[2020-06-24 11:42:36] VERBOSE[15230][C-00000555] pbx.c: Executing [s@func-apply-sipheaders:13] Return("PJSIP/Skyetel-00000b32", "") in new stack
[2020-06-24 11:42:36] VERBOSE[15230][C-00000555] app_stack.c: Spawn extension (from-pstn-e164-us, 6604894282, 1) exited non-zero on 'PJSIP/Skyetel-00000b32'
[2020-06-24 11:42:36] VERBOSE[15230][C-00000555] app_stack.c: PJSIP/Skyetel-00000b32 Internal Gosub(func-apply-sipheaders,s,1(2)) complete GOSUB_RETVAL=
[2020-06-24 11:42:36] VERBOSE[15230][C-00000555] app_dial.c: Called PJSIP/16604894282@Skyetel
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp("PJSIP/103-00000b31", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf("PJSIP/103-00000b31", "1?continue,1:s-CONGESTION,1") in new stack
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [continue@macro-dialout-trunk:1] GotoIf("PJSIP/103-00000b31", "0?noreport") in new stack
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [continue@macro-dialout-trunk:2] AGI("PJSIP/103-00000b31", "testalert.agi,Skyetel") in new stack
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/testalert.agi
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] res_agi.c: <PJSIP/103-00000b31>AGI Script testalert.agi completed, returning 0
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [continue@macro-dialout-trunk:3] NoOp("PJSIP/103-00000b31", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [continue@macro-dialout-trunk:4] ExecIf("PJSIP/103-00000b31", "1?Set(CALLERID(number)=103)") in new stack
[2020-06-24 11:42:55] VERBOSE[15230][C-00000555] pbx.c: Executing [6604894282@from-internal:14] Macro("PJSIP/103-00000b31", "dialout-trunk,9,16604894282,,on") in new stack

dumping all of the AGI arguments

# initializing agi variables
DUMPARG="Begin Argument dump:\n"
while read -e ARG && [ "$ARG" ] ; do
 DUMPARG="$DUMPARG $ARG\n"
done

results in this.

Begin Argument dump:
 agi_request: testalert.agi
 agi_channel: PJSIP/103-00000b31
 agi_language: en
 agi_type: PJSIP
 agi_uniqueid: 1593016956.5260
 agi_version: 17.3.0
 agi_callerid: 1636NXXXXXX
 agi_calleridname: Bundy Assoc Inc
 agi_callingpres: 0
 agi_callingani2: 0
 agi_callington: 0
 agi_callingtns: 0
 agi_dnid: 6604894282
 agi_rdnis: unknown
 agi_context: macro-dialout-trunk
 agi_extension: continue
 agi_priority: 2
 agi_enhanced: 0.0
 agi_accountcode: JB103
 agi_threadid: 140423022749440
 agi_arg_1: Skyetel

Is there a way to adjust or disable maxptime?

$
0
0

I suppose it is possible that the use of “allow=ulaw:20” may force the max packet size down to 20… but I haven’t tested it so don’t know if it would for sure.

Run script when no one pick up incoming call

$
0
0

The queues is setup that when the callers is in queue hi will be waiting as long as anyone pick up the phone or he hang up. And I’m interested to start the script and pass as a parameter the caller phone number when caller don’t want to wait anymore in queue and hung up. I check in FreePBX queue but i don’t find option which do any action when someone hang up.

Is there a way to adjust or disable maxptime?

$
0
0

Ok, I’ll try that and get back to you.

How can I pass a variable to the trunk monitor agi script

$
0
0

At the point that the agi is called by the process, there are no channel variables available.
You can use global variables, but nothing from the channel.

image

Also not all global variables are passed to AGI.

# initializing agi variables
DUMPARG=" Begin Argument dump:\n"
declare -a array
while read -e ARG && [ "$ARG" ] ; do
 array=(` echo $ARG | sed -e 's/://'`)
 export ${array[0]}=${array[1]}
 DUMPARG="$DUMPARG $ARG\n"
done

DUMPARG="$DUMPARG Direct: SIPLANG = $SIPLANG\n"
DUMPARG="$DUMPARG Direct: AST_CONFIG_DIR = $AST_CONFIG_DIR\n"

image


Slow CDR Queries With More than 3M Rows

$
0
0

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

Desktop Cliet

$
0
0

Okay. Thanks. Any recommendations for a soft SIP client? I’ve used Zoiper as it’s a free client. Are there any other free clients you can recommend? I believe Counterpaths X-Lite has been retired.

Thanks

International SIP trunk providers - NZ

$
0
0

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.

Error writing to `\/home\/asterisk\/.gnupg\

$
0
0

I rebooted by pbxact and got this

[root@uc-8****** ~]# fwconsole ma listonline
No repos specified, using: [commercial,unsupported,standard,extended] from last GUI settings

In GPG.class.php line 397:

Unable to trust the FreePBX Key! – {“stdout”:"",“stderr”:“gpg: error writi
ng to \/home\/asterisk\/.gnupg\/.#lk0x1******.uc-84******.12377': No space left on device\ngpg: Fatal: can't create lock for/home/asterisk/.gnup
g/trustdb.gpg’\n”,“status”:[],“exitcode”:2}

moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–col or] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–fo rmat FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] []…
[root@uc-84****** ~]# moduleadmin -f|–force
-bash: --force: command not found
-bash: moduleadmin: command not found

~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/SangomaVG-root 108G 108G 20K 100% /
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.8G 0 1.8G 0% /dev/shm
tmpfs 1.8G 8.7M 1.8G 1% /run
tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
/dev/sda1 1.9G 106M 1.7G 6% /boot
tmpfs 369M 0 369M 0% /run/user/0

fdisk -l

Disk /dev/sda: 128.0 GB, 128035676160 bytes, 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000e8eca

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 4098047 2048000 83 Linux
/dev/sda2 4098048 250068991 122985472 8e Linux LVM

Disk /dev/mapper/SangomaVG-root: 115.7 GB, 115678904320 bytes, 225935360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/SangomaVG-swaplv1: 4160 MB, 4160749568 bytes, 8126464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I have 120gb hd and it is not filled. what do i do, what commands to type. i can SSH into the device. thanks for any help you can give

Run script when no one pick up incoming call

$
0
0

The event is handled in the logs, so there are options, but they aren’t part of the Queue module. The commercial Queue Reports module has a report that can get you that information, you can also periodically run selects against the CEL and CDR databases to do things to capture the information.

Viewing all 228243 articles
Browse latest View live


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