Page 1 of 1

khomp gateway setup

PostPosted: Tue Jul 28, 2020 11:54 am
by dreedy
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?

Re: khomp gateway setup

PostPosted: Tue Jul 28, 2020 1:49 pm
by carpenox
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

Re: khomp gateway setup

PostPosted: Tue Sep 08, 2020 12:11 pm
by Acidshock
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.

Re: khomp gateway setup

PostPosted: Wed Sep 09, 2020 9:01 am
by mflorell
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.

Re: khomp gateway setup

PostPosted: Wed Sep 09, 2020 1:13 pm
by carpenox
I noticed the khomp_admin page, is this to integrate it into vici?

Re: khomp gateway setup

PostPosted: Thu Sep 10, 2020 8:18 am
by mflorell
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

Re: khomp gateway setup

PostPosted: Thu Sep 10, 2020 11:10 am
by carpenox
ok and i only briefly looked into it before but the khomp is to actually be able to provide carrier service correct?

Re: khomp gateway setup

PostPosted: Thu Sep 10, 2020 2:35 pm
by mflorell
I'm not aware of KHOMP directly offering SIP termination services. They are a Brazilian company that primarily make SIP gateway devices.

Re: khomp gateway setup

PostPosted: Mon Sep 06, 2021 7:23 pm
by GenXOutsourcing
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.

Re: khomp gateway setup

PostPosted: Tue Sep 07, 2021 6:27 am
by mflorell
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.

Re: khomp gateway setup

PostPosted: Tue Sep 07, 2021 6:27 am
by mflorell
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.

Re: khomp gateway setup

PostPosted: Tue Sep 07, 2021 7:10 am
by GenXOutsourcing
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.

Re: khomp gateway setup

PostPosted: Tue Sep 07, 2021 7:37 am
by mflorell
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.

Re: khomp gateway setup

PostPosted: Tue Sep 07, 2021 8:32 am
by GenXOutsourcing
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

Re: khomp gateway setup

PostPosted: Fri Oct 01, 2021 10:59 am
by GenXOutsourcing
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>