Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] ChanSpy not working - "transmit frame type 64" warning


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jsneerin at gmail.com
Guest





PostPosted: Thu May 15, 2008 10:47 am    Post subject: [asterisk-users] ChanSpy not working - "transmit frame Reply with quote

When I try to use ChanSpy, the following message is sent repeatedly to
the console (wrapped for readability):

WARNING[32125]: chan_sip.c:3709 sip_write: Asked to
transmit frame type 64, while native formats is 0x4 (ulaw)(4)
read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)

This appears to happen because SLINEAR (frame type 64 / 0x40) is not
considered a native format for the channel I'm trying to spy on, so
sip_write() bails.

DEBUG[32006] chan_sip.c: *** Our native formats are 0x4 (ulaw)
DEBUG[32006] chan_sip.c: *** Joint capabilities are 0x4 (ulaw)
DEBUG[32006] chan_sip.c: *** Our capabilities are 0x46 (gsm|ulaw|slin)
DEBUG[32006] chan_sip.c: *** AST_CODEC_CHOOSE formats are0x4 (ulaw)

The symptom is that the spying listener hears nothing on his or her
handset. The spied-on channel can continue to communicate with the
other end without issue. If I tell ChanSpy to record the call with the
r() option, a .raw file *is* created and does contain the complete
audio stream, so it's at least partly working. The problem appears to
be in converting back from SLINEAR to the spying listener's native
format.

I have format_sln.so loaded, and I have it listed as a valid codec for
all of the SIP devices involved (Polycom 330's and a 550 doing the
spying).

Has anyone else run across this? Maybe there's something really simple
I'm missing?

-James
Back to top
jsneerin at gmail.com
Guest





PostPosted: Thu May 22, 2008 2:01 pm    Post subject: [asterisk-users] ChanSpy not working - "transmit frame Reply with quote

On Thu, May 15, 2008 at 10:47 AM, James Sneeringer <jsneerin at gmail.com> wrote:
Quote:
When I try to use ChanSpy, the following message is sent repeatedly to
the console (wrapped for readability):

WARNING[32125]: chan_sip.c:3709 sip_write: Asked to
transmit frame type 64, while native formats is 0x4 (ulaw)(4)
read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)

I see I have you all stumped! Let's try this from another angle.

Is anyone successfully using ChanSpy on 1.4.x? I've tested on most of
the recent releases, including yesterday's 1.4.20.1 release.

-James
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Thu May 22, 2008 2:54 pm    Post subject: [asterisk-users] ChanSpy not working - "transmit frame Reply with quote

James Sneeringer wrote:
Quote:
On Thu, May 15, 2008 at 10:47 AM, James Sneeringer <jsneerin at gmail.com> wrote:

Quote:
When I try to use ChanSpy, the following message is sent repeatedly to
the console (wrapped for readability):

WARNING[32125]: chan_sip.c:3709 sip_write: Asked to
transmit frame type 64, while native formats is 0x4 (ulaw)(4)
read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)


I see I have you all stumped! Let's try this from another angle.

Is anyone successfully using ChanSpy on 1.4.x? I've tested on most of
the recent releases, including yesterday's 1.4.20.1 release.

-James

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

My current project's server uses ChanSpy constantly, SIP to SIP as well
as SIP to Zap. I'm using the Asterisk 1.4 branch from the SVN repo. I
have not seen the error you mention, sorry.

Sherwood
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services