Franklin Webb
2008-Jan-29 22:51 UTC
[asterisk-users] chanspy does not pull the call back to asterisk after a reinvite
Hello all, I am allowing a reinvite between a snom 320 phone and a SIP gateway to take load off my Asterisk server. When I put the caller on hold, for example, Asterisk successfully reinserts itself into the rtp stream to play music on hold to the caller, but when I do a chanspy Asterisk does not seem to pull the call back. If I am spying on a channel when the call build up happens the reinvite never occurs and it works, but I cannot jump in and spy on a call in progress once the reinvite has happened. Has anyone run into this issue any maybe have a solution, or does anyone know of a good way to get that call back onto the Asterisk switch from another extension prior to calling chanspy? Thanks much, Franklin Webb -- Franklin Webb Asst Project Manager Inter Medi@ Marketing Solutions 610-701-9670 fwebb at imminc.com
Alex Balashov
2008-Jan-29 22:55 UTC
[asterisk-users] chanspy does not pull the call back to asterisk after a reinvite
Franklin, Because ChanSpy() is a "passive" monitor, there is nothing about the implementation that would cause Asterisk to shunt the speech back to itself. Asterisk only does this in situations where it is out of the media path and needs to insinuate itself back into it for the purpose of generating media, such as on-hold music, IVR, etc. What you're wanting should, in my opinion, basically be submitted as a feature request. Perhaps the developers can add a flag to the ChanSpy() invocation repertoire to make this work. Cheers, -- Alex -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671