Zapbarge dialing an extension


#1

Hi I am writing some monitoring software for a call center.
I was wondering if it possible to somehow zapbarge into a channel but instead having
the user have to call the phonesystem and dial the zapbarge extension and then dial
the channel, would it be possible to somehow zapbarge into a specified channel, and
once this is accomplished to have asterisk call another extension and let the person who
initiated the zapbarge listen in?


#2

anybody?


#3

i have a basic set of php scripts which do this through the manager API…

one script pulls a list of active SIP channels, and links to a second script, which, when the monitor link is clicked, initiates an Originate command via the manager interface to a zapbarge extension, passing the channel as an argument.

the system knows which phone to dial based on a simple login system.

the entire codebase is maybe 200 lines, and the meat of the code is less than 50.

if you know any programming languages, it’s very easy to connect to the manager interface to pull and push data to do just about anything you can think of.


#4

Can i have the code?


#5

can you ask nicer?


#6

I really appologize the way i asked for it.


#7

it’s all good, i’m in a bad mood today anyway.

PM replied to, hope it helps.


#8

hi,

thanks for the code but i am using sip trunks and voice quality sucks using ChanSpy and I cannot monitor sip trunks using ZapBarge.


#9

what kind of interface card are you using, or are you not using one??? chanspy sounds great for me…i wonder if you have a timing issue.


#10

I am using SIP trunks (VoIP), its not a hardware.


#11

aha…do you load ztdummy before launching asterisk? also, what version of zaptel are you running?


#12

No, I haven’t loaded it is it necessery for SIP channels as well?


#13

yes, load ztdummy and restart asterisk - i know that i’ve had problems with sound quality if i don’t have any sort of zaptel driver loaded.

give it a shot.


#14

I dont have usb-huci driver on my server machine, but i have usb-ohci and usb-uhci is required to load ztdummy.
what to do now?

Regards,


#15

what kernel version are you running?


#16

I am using
linux-2.4.22-21mdk


#17

well, then i don’t know what to say - if you can upgrade to the 2.6.x kernel, you don’t need a USB device as a timing source. do you have a test box you can either upgrade to the newer kernel, or a USB card you could install?