Chanspy with vanilla Asterisk

  1. 8 years ago

    Hi,

    Using Asterisk 13 and latest version of FOP2. I'm unable to get the Whisper to work. My peer name is SIP/abc202 for example. Everything is working except whisper. When I try to Whisper, my phone ring but when I answer, the line disconnect. After running fop2 in debug mode, I saw the Chanspy command launch with SIP/ABC203 as the destination to whisper instead of SIP/abc203. Asterisk being case sensitive, it doesn't work because the peer doesn't exist.

    1. Why is fop2 using upper case why in the button.cfg the name of my channel is sip/abc203 ?
    2. Is to possible to have fop2 to send the call in the dialplan instead of calling the chanspy application directly ?

    Thx !

  2. admin

    23 Sep 2016 Administrator
    1. Please post the full debug log after your attempt to whisper, I think your analysis is partial (and thus incorrect). Or better yet contact me in the live help to chat to post it.
    2. Spy and Whisper actions will call the application directly, if you want to create custom buttons to perform custom actions, you can create your own plugins, look at the conference button plugin as an example, that uses chanspy to create a pseudo conference.

    I am online at the live help, contact me there to chat.

  3. Hi,

    Finally with the help of Nicolas, we found that the issue is not related to FOP2 and uppercase/lowercase. In my Asterisk I had the following :

    [2016-09-23 19:40:35] WARNING[28278] channel.c: Unable to find a codec translation path: (h264) -> (g722)
    [2016-09-23 19:40:35] WARNING[28278] channel.c: Unable to find a codec translation path: (g722) -> (h264)
    [2016-09-23 19:40:35] VERBOSE[29910] dial.c: SIP/abc2001-00003726 answered
    [2016-09-23 19:40:35] WARNING[29910] channel.c: Unable to find a codec translation path: (slin) -> (h264)
    [2016-09-23 19:40:35] ERROR[29910] app_chanspy.c: Could Not Set Write Format.

    abc2001 is a Bria softphone with video enabled and on asterisk in sip.conf I had videosupport=yes. Chanspy seem to terminate because video is involved. For the record, the destination abc2000 doesn't support video, it was a regular audio call.

    Using Chanspy + Video enable in Asterisk/Softphone is the problem.

or Sign Up to reply!