khomp gateway setup

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

khomp gateway setup

Postby dreedy » Tue Jul 28, 2020 11:54 am

Hello i have run through the walk through on the Khomp gateway pdf. i have setup my test server to run on this. I have everything set as according to the pdf. there is one step that i am not sure how to accomplish. The next to last steps states that
In the khomp_api_user setting change API_USER to the username of the API user you created
in KHOMP:


how do i go about setting up the khomp API user and password. also is the KHOMP server FQDN the webserver of vicidial or is that off site at KHOMPS servers?
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: khomp gateway setup

Postby carpenox » Tue Jul 28, 2020 1:49 pm

ok ive never used khomp, however you need to setup the api thru them, id imagine you have a login portal for them, and the fqdn would be the server for vicidial
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: khomp gateway setup

Postby Acidshock » Tue Sep 08, 2020 12:11 pm

Its just a login and password for the KHOMP device that is an API user. Good luck getting KHOMP to work though... worst experience ever. They are too busy trying to sell the device then set it up.
VERSION: 2.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
Acidshock
 
Posts: 430
Joined: Wed Mar 03, 2010 3:19 pm

Re: khomp gateway setup

Postby mflorell » Wed Sep 09, 2020 9:01 am

KHOMP AMD is a brand new product, it is very complicated, has a lot of settings and it is a very different experience compared to the old defunct Sangoma CPD product.

That said, it is much more configurable than the CPD used to be, and KHOMP is much more dedicated to it than SANGOMA was to CPD, so hopefully the support and configuration complications will get better over time as it matures. We just helped a client set it up last month and they are happy with the end result after a few configuration issues.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: khomp gateway setup

Postby carpenox » Wed Sep 09, 2020 1:13 pm

I noticed the khomp_admin page, is this to integrate it into vici?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: khomp gateway setup

Postby mflorell » Thu Sep 10, 2020 8:18 am

Yes, the VICIdial code to get it to work with KHOMP AMD is all built in to the svn/trunk codebase. If you want to use KHOMP then you have to contact them directly to get the software and a license for the hardware you install it on. We have helped a few companies to set it up on their systems, since it can be pretty complex, although there is a PDF document we wrote that goes over all of the necessary steps,
http://vicidial.org/docs/KHOMP_Documentation.pdf
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: khomp gateway setup

Postby carpenox » Thu Sep 10, 2020 11:10 am

ok and i only briefly looked into it before but the khomp is to actually be able to provide carrier service correct?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: khomp gateway setup

Postby mflorell » Thu Sep 10, 2020 2:35 pm

I'm not aware of KHOMP directly offering SIP termination services. They are a Brazilian company that primarily make SIP gateway devices.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: khomp gateway setup

Postby GenXOutsourcing » Mon Sep 06, 2021 7:23 pm

Matt, is the Khomp FastAGI_log.pl updated for use with Tiltx?

I was looking at the code and I dont see the Tiltx update.


cp /usr/src/astguiclient/trunk/extras/KHOMP/FastAGI_log.pl /usr/share/astguiclient/FastAGI_log.pl

If I copy the KhompFastAGI_log.pl, I will lose the Tiltx?



And also, the agi-VDAD_ALL_outbound.agi that is to be copied from Khomp is up to date also, looks like the original has newer coding.
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: khomp gateway setup

Postby mflorell » Tue Sep 07, 2021 6:27 am

We have not had the chance to update the KHOMP-specific scripts recently. It is on our list of unfunded projects, so hopefully we'll get to it in the next couple of months.

The KHOMP scripts do not have the TILTX features or most of the other enhancements we've made in the last 18 months included in them.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: khomp gateway setup

Postby mflorell » Tue Sep 07, 2021 6:27 am

We have not had the chance to update the KHOMP-specific scripts recently. It is on our list of unfunded projects, so hopefully we'll get to it in the next couple of months.

The KHOMP scripts do not have the TILTX features or most of the other enhancements we've made in the last 18 months included in them.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: khomp gateway setup

Postby GenXOutsourcing » Tue Sep 07, 2021 7:10 am

How much are we looking to fund it?

I have 3 clients that want to use it, and also Tiltx is going to start offering it as an add-on to their termination.
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: khomp gateway setup

Postby mflorell » Tue Sep 07, 2021 7:37 am

If you will do the testing of the new code, it would probably only take an hour of dev time to complete the updates on the two affected scripts.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: khomp gateway setup

Postby GenXOutsourcing » Tue Sep 07, 2021 8:32 am

mflorell wrote:If you will do the testing of the new code, it would probably only take an hour of dev time to complete the updates on the two affected scripts.


email sent to support
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: khomp gateway setup

Postby GenXOutsourcing » Fri Oct 01, 2021 10:59 am

We have updated the system to svn 3527, followed the steps in /docs/KHOMP_Documentation.pdf, and have removed the #UC# from both /usr/share/astguiclient/FastAGI_log.pl and /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi

Manual dials work, calls seem normal.

With Autodial, the calls go out, the calls are answered by 3rd party, the calls show on the realtime screen as waiting but are never sent to an agent.



testing*CLI>
== Manager 'sendcron' logged on from 127.0.0.1
-- Called 3813528161728@default
-- Executing [3813528161728@default:1] AGI("Local/3813528161728@default-00000006;2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TESTCAMP))
-- AGI Script Executing Application: (EXEC) Options: (SIPAddHeader(X-KHOMP-Vicidial-ID: V0011154290000001854_TESTCAMP_198.251.78.69))
-- <Local/3813528161728@default-00000006;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [3813528161728@default:2] Dial("Local/3813528161728@default-00000006;2", "SIP/khomp1/13528161728,,tTo") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/khomp1/13528161728
-- SIP/khomp1-00000009 is ringing
-- Local/3813528161728@default-00000006;1 is ringing
> 0x7f79ac022de0 -- Strict RTP learning after remote address set to: 3.227.17.39:12482
-- SIP/khomp1-00000009 is making progress passing it to Local/3813528161728@default-00000006;2
-- Local/3813528161728@default-00000006;1 is making progress
> 0x7f79ac022de0 -- Strict RTP switching to RTP target address 3.227.17.39:12482 as source
> 0x7f79ac022de0 -- Strict RTP learning complete - Locking on source address 3.227.17.39:12482
-- SIP/khomp1-00000009 answered Local/3813528161728@default-00000006;2
-- Local/3813528161728@default-00000006;1 answered
-- Executing [138368@default:1] AGI("Local/3813528161728@default-00000006;1", "agi-VDAD_local_optimize.agi,V0011154290000001854") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_local_optimize.agi
-- Channel SIP/khomp1-00000009 joined 'simple_bridge' basic-bridge <31bcee90-b1d0-48b6-b189-834d32880708>
-- Channel Local/3813528161728@default-00000006;2 joined 'simple_bridge' basic-bridge <31bcee90-b1d0-48b6-b189-834d32880708>
-- <Local/3813528161728@default-00000006;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
-- Executing [138368@default:2] Wait("Local/3813528161728@default-00000006;1", "2") in new stack
== Manager 'sendcron' logged on from 127.0.0.1
-- Channel SIP/khomp1-00000009 left 'simple_bridge' basic-bridge <31bcee90-b1d0-48b6-b189-834d32880708>
-- Executing [8368@default:1] AGI("SIP/khomp1-00000009", "agi://127.0.0.1:4577/call_log") in new stack
-- Channel Local/3813528161728@default-00000006;2 left 'simple_bridge' basic-bridge <31bcee90-b1d0-48b6-b189-834d32880708>
== Spawn extension (default, 3813528161728, 2) exited non-zero on 'Local/3813528161728@default-00000006;2'
-- Executing [h@default:1] AGI("Local/3813528161728@default-00000006;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----10-----0-----SIP 200 OK)") in new stack
-- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TESTCAMP))
-- <SIP/khomp1-00000009>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [8368@default:2] AGI("SIP/khomp1-00000009", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB-----V0011154290000001854") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
-- <Local/3813528161728@default-00000006;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -0-----SIP 200 OK) completed, returning 0
== Spawn extension (default, 138368, 2) exited non-zero on 'Local/3813528161728@default-00000006;1'
[Oct 1 11:54:40] WARNING[3808][C-0000000e]: func_hangupcause.c:138 hangupcause_read: Unable to find information for channel
-- Executing [h@default:1] AGI("Local/3813528161728@default-00000006;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
-- <Local/3813528161728@default-00000006;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
-- <SIP/khomp1-00000009>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
-- Executing [8368@default:3] Hangup("SIP/khomp1-00000009", "") in new stack
== Spawn extension (default, 8368, 3) exited non-zero on 'SIP/khomp1-00000009'
-- Executing [h@default:1] AGI("SIP/khomp1-00000009", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------SIP 200 OK)") in new stack
-- <SIP/khomp1-00000009>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -------SIP 200 OK) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
testing*CLI>
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 45 guests