No sound for chanspy with sip channels dialed from sip phone

With ChanSpy, Any one knows why there is no sound for SIP extensions between sip phones? I use the same sip phone to spy the zap channel and it’s fine, but if i use the sip phone dial 555 and spy to the sip channel, there is no sound even i adjust the volume to 4.

thanks

johnny

yes, i have 2 G729 license bought from Digium. anyhow, thanks for your help man

I have tested it and i found the problem is with codec G729, although i have purchased the license from Digium, it seems that the chanspy could not work with codec g729. it works fine once i allow=ulaw only for the extensions.

any comment?

never tried it with g729 - however, g729 requires one license per channel. When doing chanspy, that becomes another channel - so that may very wel be the issue.

Yes, I think so! however i have set canreinvite=no in both sip.conf
and individual extensions.

It should be enough to disable the redirect RTP media streams right?

canreinvite=no should keep it from happening, it is easy enought to see if it is reinviting by doing an rtp debug and seeing if the media is streaming through the server or not.

Got RTP packet from 192.168.1.6810005 (type 18, seq 20416, ts 1674463946, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35553, ts 10400, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 382, ts 36837488, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23086, ts 8528, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20417, ts 1674464106, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35554, ts 10560, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20418, ts 1674464266, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35555, ts 10720, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 383, ts 36837648, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23087, ts 8688, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 384, ts 36837808, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23088, ts 8848, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20419, ts 1674464426, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35556, ts 10880, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 385, ts 36837968, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23089, ts 9008, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20420, ts 1674464586, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35557, ts 11040, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 386, ts 36838128, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23090, ts 9168, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20421, ts 1674464746, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35558, ts 11200, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 387, ts 36838288, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23091, ts 9328, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20422, ts 1674464906, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35559, ts 11360, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 388, ts 36838448, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23092, ts 9488, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20423, ts 1674465066, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35560, ts 11520, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 389, ts 36838608, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23093, ts 9648, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20424, ts 1674465226, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35561, ts 11680, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 390, ts 36838768, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23094, ts 9808, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20425, ts 1674465386, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35562, ts 11840, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 391, ts 36838928, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23095, ts 9968, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20426, ts 1674465546, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35563, ts 12000, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 392, ts 36839088, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23096, ts 10128, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20427, ts 1674465706, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35564, ts 12160, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 393, ts 36839248, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23097, ts 10288, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20428, ts 1674465866, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35565, ts 12320, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 394, ts 36839408, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23098, ts 10448, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20429, ts 1674466026, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35566, ts 12480, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 395, ts 36839568, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23099, ts 10608, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20430, ts 1674466186, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35567, ts 12640, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 396, ts 36839728, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23100, ts 10768, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20431, ts 1674466346, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35568, ts 12800, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 397, ts 36839888, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23101, ts 10928, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20432, ts 1674466506, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35569, ts 12960, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 398, ts 36840048, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23102, ts 11088, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20433, ts 1674466666, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35570, ts 13120, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 399, ts 36840208, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23103, ts 11248, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20434, ts 1674466826, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35571, ts 13280, len 20)
Got RTP packet from 192.168.1.6710120 (type 18, seq 400, ts 36840368, len 20)
Sent RTP packet to 192.168.1.6810005 (type 18, seq 23104, ts 11408, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20435, ts 1674466986, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35572, ts 13440, len 20)
Got RTP packet from 192.168.1.6810005 (type 18, seq 20436, ts 1674467146, len 20)
Sent RTP packet to 192.168.1.6710120 (type 18, seq 35573, ts 13600, len 20)

Above is the RTP debug upon sip channel calls, it seems that the call is going through the server,
the strage thing is that for both IAX2 and ZAP call i can use chanspy to spy to the channel but not sip, maybe something wrong with chanspy.so?

And by the way, i am using codec g729 with license, does it matter?
johnny

mostl likely answer is your endopoints have redirected the audio streams between themselves, in which case you can’t spy on the audio. This would happen based on the dial options on the general screen. If you put t,T,w and/or W it should keep the lines from redirecting. If they are running the audio through asterisk, you should be able to spy on it.