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

CLI way of getting bulk handler information

$
0
0

Sorry, I think there might be some confusion. I understand that mac-address is baked into the device itself and that DHCP is handing out IP. What I am trying to gather is this information from the CLI instead of using the Bulk Handler Exports.

image

Clearly, I am using the ClearyIP module which I understand might not be supported on this forum, but the endpoint manager extension mapping is the one that is built into FreePBX v15, and I am hoping there is an easy from the CLI to gather that information

This command shows me the extension under Extension Mapping.

SHOW CREATE TABLE `asterisk`.`endpoint_extensions`;
SELECT * FROM `asterisk`.`endpoint_extensions` LIMIT 1000;

image

I just need how to figure out how to connect SQL using PowerShell and importing this data. Unless there is a Linux command that will get similar info.


Critical Information for all DPMA users

$
0
0

So phones need firmware updates as well?

CLI way of getting bulk handler information

$
0
0

You can gather the current state of sip phones with sip show peers and pjsip show endpoints./aors but if a phone ‘goes away’ there is only historical evidence of where it was in the log files . Further you can never presume it will reappear at that same address, although most likely it will.

I’m not a windoze user but I suspect that the Windows subsystem for Linux is a precursor to windows actualy going to Linux and currently exposes a full on linux shell for you guys.

For linux , apart from the mysql client over ssh, if you want a gooey there is always mysql-workbench which I believe runs on Windoze also.

Upload recorded call via ftp using macro?

$
0
0

after a call recording how do i upload the recorded audio file to another server via ftp?

exten => s,n,Record(${CALLERID(number)}.wav,10,90,ky)

No Cdr records

$
0
0

MariaDB, something is mixed up with the libraries?

No Cdr records

$
0
0

Not mixed up, just in abstentia as yet

CLI way of getting bulk handler information

$
0
0

I am storing historical information when I’m parse the actual switches for the Mac table I am storing all mac addresses and what ports they are connected to in a simply file (not database or anything fancy). Getting MAC address from Freepbx will allow me to determine what port on the switch that certain extension was connect to.

pjsip show endpoints | egrep 1001

Will ensure that the phone comes back up up and registers properly.

I have some other use case of this too. Sometimes my techs will install a phone but not enter it into Freepbx, this will allow me to tell how many phone are just sitting at the provision screen waiting for registration.

Override caller ID

$
0
0

Prepend a text on a inbound caller ID does not work when the call is routed to a cell phone. I’m trying to discern calls on my cell phone that the call is coming from the inbound route.

I’m routing all inbound calls to my cell phone using with the “Misc Destination” feature. I enabled the CID prefix feature with the intention to alert me of the call is routed from my server. I prepend a text before the caller ID with the CID prefix feature. However, my cell phone show no discern-able difference from the routed calls to the regular calls.

Is there a way I can do this? I just wanted to see the calls are coming from the inbound route of my FreePBX.


Upload recorded call via ftp using macro?

$
0
0

Have you tried the ‘advanced settings-> post call recording script’ hook?

Upload recorded call via ftp using macro?

CLI way of getting bulk handler information

$
0
0

Hmm, maybe I’m missing something but please explain how a passive “pjsip show endpoints | egrep 1001” would ensure anything?

Override caller ID

$
0
0

If the outbound caller id name shows in the CDR correctly, it’s leaving the system as expected. If the name is altered at the far end, the terminating provider is probably doing that, and is prob beyond your control. It’s also possible that the originating provider is stripping and substituting it’s own cid name for outbound calls.

Override caller ID

$
0
0

I’ve tested the CID Prefix feature on an extension. The prepended text does show up on display. It’s likely the cell phone provider is stripping the prefix off the caller ID. Is there other trip I can do this?

Upload recorded call via ftp using macro?

$
0
0

looks like thats not what i want to. i can see that there is a script to email audio recording. is it possible to upload via ftp instead?

CLI way of getting bulk handler information

$
0
0

Maybe I wasn’t clear, the full command I am using this
asterisk -rx 'pjsip show endpoints' | egrep '1000|6200'

image

In this case, x1000 is currently “offline” or not registered. x6200 (is my extension) is register from 2 locations my desk phone and my softphone.


Override caller ID

$
0
0

No. The provider of the destination has final say before sending to the user.

No Cdr records

$
0
0

Ok, I found the solution…

[root@localhost lib64]# cat /etc/odbcinst.ini
> [MySQL]
> Description=ODBC for MySQL
> Driver=/usr/lib/libmyodbc5.so  
> Setup=/usr/lib/libodbcmyS.so  
> Driver64=/usr/lib64/libmyodbc8w.so    <--change this!!!!!
> Setup64=/usr/lib64/libodbcmyS.so     
> FileUsage=1

Besides the fact that CDR works fine now, ! am not sure if this is the right solution…

CLI way of getting bulk handler information

$
0
0

Exactly, please remind me what we are trying to do here, I thought we are trying to map all MAC’s to the last IP they used , at this point in time, you can only map active endpoints that are available.

Are these phones to be considered ‘local’ or ‘external’ ?

Override caller ID

$
0
0

I’m switching to use the Follow-me feature instead…

Override caller ID

$
0
0

The result will still be the same. Doesn’t matter what method you use to make the outbound call, the other side will determine what caller name is displayed to their user.

Viewing all 225809 articles
Browse latest View live


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