bar top left
bar top right
left curve
right curve
Welcome, Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Chanspy and whisper mode
#40659
Chanspy and whisper mode 2 Years, 5 Months ago Karma: 0
Hi all,

I have some problems when I try to setup whisper mode for chanspy funtion. The extension_custom.conf is like that:

[spy]
exten => 779,1,Macro(user-callerid)
exten => 779,2,Authenticate(2143)
exten => 779,3,Read(SPYNUM,,3)
exten => 779,4,ChanSpy(SIP/${SPYNUM},v2)
exten => 779,5,Hangup()
exten => _778X.,1,Macro(user-callerid)
exten => _778X.,n,ChanSpy(SIP/${EXTEN:3},w)
exten => _778X.,n,Hangup()

I can hear the conversation, but the agent is not hearing me. The debug show:

[Nov 18 14:13:37] DEBUG[7164] audiohook.c: Failed to get 160 samples from write factory 0xb6d319bc
[Nov 18 14:13:37] DEBUG[7164] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=35)
[Nov 18 14:13:37] DEBUG[7164] audiohook.c: Failed to get 160 samples from write factory 0xb6d319bc
[Nov 18 14:13:37] DEBUG[7164] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=35)
[Nov 18 14:13:37] DEBUG[7164] audiohook.c: Failed to get 160 samples from write factory 0xb6d319bc
[Nov 18 14:13:37] DEBUG[7164] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=35)
[Nov 18 14:13:37] DEBUG[7164] audiohook.c: Failed to get 160 samples from write factory 0xb6d319bc
[Nov 18 14:13:37] DEBUG[7164] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=35)
[Nov 18 14:13:37] DEBUG[7164] audiohook.c: Failed to get 160 samples from write factory 0xb6d319bc
[Nov 18 14:13:37] DEBUG[7164] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=35)
[Nov 18 14:13:37] DEBUG[7164] audiohook.c: Failed to get 160 samples from write factory 0xb6d319bc

Somebody have any idea about this? I need to configure something more?

Thanks,
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
alfil2k
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#40661
Re:Chanspy and whisper mode 2 Years, 5 Months ago Karma: 33
I'm not sure that it is related, but in the latest asterisk release the changelog shows that there was a problem with channelspy in the previous version.

downloads.asterisk.org/pub/telephony/ast...-1.4.27-summary.html
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Patrick_elx
Gold Boarder
Posts: 1112
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Florida, USA
Reply Quote
 
#40663
Re:Chanspy and whisper mode 2 Years, 5 Months ago Karma: 0
Thanks Patrick_elx, can you tell me what is the correct process to install this version on elastix 1.5.2 ?

Regards,
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
alfil2k
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#40670
Re:Chanspy and whisper mode 2 Years, 5 Months ago Karma: 33
There's no easy way as of today. You will need to download the source from digium and compile it on your Elastix server. You may break a lot of things.

Better wait a few weeks for a new rpm that will be available on the Elastix repository and easily uploadable with a simple yum update
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Patrick_elx
Gold Boarder
Posts: 1112
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Florida, USA
Last Edit: 2009/11/23 15:12 By Patrick_elx.
Reply Quote
 
#40673
Re:Chanspy and whisper mode 2 Years, 5 Months ago Karma: 0
Ok, I hope that the new rpm for update is cooming soon, because I have a lot request for that function in our instalation.

Have you some idea about how long I wait for this update?

Regards,
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
alfil2k
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#40681
Re:Chanspy and whisper mode 2 Years, 5 Months ago Karma: 1
on elastix 1.5.2
all you need to do is put this on extensions_custom.conf



[espia]

exten => 1236,1,Answer
exten => 1236,2,Wait(1)
exten => 1236,3,BackGround(please-enter-the)
exten => 1236,4,Read(SPYNUM|extension)
exten => 1236,5,ChanSpy(SIP/${SPYNUM}|p)
exten => 1236,6,Hangup

[wisper]

exten => 1235,1,Answer
exten => 1235,2,Wait(1)
exten => 1235,3,BackGround(please-enter-the)
exten => 1235,4,Read(SPYNUM|extension)
exten => 1235,5,ChanSpy(SIP/${SPYNUM},w|p)
exten => 1235,6,Hangup


then on any ext you dial 1236 for chan spy or 1235 for wisper
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
andreslie1
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#40701
Re:Chanspy and whisper mode 2 Years, 5 Months ago Karma: 0
Andreslie1, how you can see above I have a similar code on extension_custom. The problem isn't this code it is the bug on version asterisk 1.4.26.

Thanks anyway,
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
alfil2k
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez
Protected by Spam Fighter