Record_ession and SIP INFO record: on
Hello, I'm having some issues getting dialplan command "record_session" and SIP INFO messages to work together. If recording is started using record_session in the dialplan, at the beginning of the call and I then send a SIP INFO message with "record: on" i get the response "Already recording", which is as expected. To avoid this situation, we then send the recording state in response header, so SIP client knows if recording is already started at the begining of the call. Now if I try to stop the recording using SIP INFO message, I get the error message "Nothing to stop"? I'm guessing it has something to do with recording bug being in a different session of the call. Is there anyway to adjust this behaviour? (One could argue that just because I send a SIP INFO to stop the recording does mean that it should be allowed) Thanks,
I'd start with filing a JIRA, this would probably take a little bit of time to fix. On Sun, Apr 28, 2019 at 2:21 PM Allan Kristensen <ak@hejdu.dk> wrote:
Hello,
I'm having some issues getting dialplan command "record_session" and SIP INFO messages to work together.
If recording is started using record_session in the dialplan, at the beginning of the call and I then send a SIP INFO message with "record: on" i get the response "Already recording", which is as expected. To avoid this situation, we then send the recording state in response header, so SIP client knows if recording is already started at the begining of the call.
Now if I try to stop the recording using SIP INFO message, I get the error message "Nothing to stop"?
I'm guessing it has something to do with recording bug being in a different session of the call. Is there anyway to adjust this behaviour? (One could argue that just because I send a SIP INFO to stop the recording does mean that it should be allowed)
Thanks,
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
participants (2)
-
Allan Kristensen
-
Brian West