[Freeswitch-users] Record_ession and SIP INFO record: on

Brian West brian at freeswitch.com
Sun Apr 28 22:07:56 UTC 2019


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 at 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 at 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 at 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 at 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 at 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190428/d4a134e9/attachment.html>


More information about the FreeSWITCH-users mailing list