Hangup calls RC=200 without RC=183
Hi. I was trying to get a solution for this but I can't find any online. When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered. I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call. This possible? Thank you all for any recommendations Abel.
I’ve never had to do exactly that, but maybe you can use api_on_media to transfer to another extension where you let it be answered and use bridge_pre_execute_bleg_app to drop the answer and send back a 503 if I’m the call wasn’t transferred. There might be a simpler way, tho. On Sat, 7 Dec 2019 at 22:27, Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel. _________________________________________________________________________
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
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Why? Provider just answer (200) instead of ringing (18*), why answer with an error (503)? Breaks sip logic... On Sat, Dec 7, 2019, 23:30 Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel. _________________________________________________________________________
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
+1 On Sat, 7 Dec 2019 at 23:23, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
Why? Provider just answer (200) instead of ringing (18*), why answer with an error (503)?
Breaks sip logic...
On Sat, Dec 7, 2019, 23:30 Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel. _________________________________________________________________________
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
_________________________________________________________________________
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
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
FAS is something that in Telecom nobody want, and I detect that if I don't receive ringing (18*) from the provider, them will be a call with FAS and I would like to avoid this for my incoming calls. Make sense? Thank You El sáb., 7 dic. 2019 a las 18:05, Giovanni Maruzzelli (<gmaruzz@gmail.com>) escribió:
Why? Provider just answer (200) instead of ringing (18*), why answer with an error (503)?
Breaks sip logic...
On Sat, Dec 7, 2019, 23:30 Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel. _________________________________________________________________________
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
_________________________________________________________________________
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
No, at sip level does not make sense. You can implement whitelists, blacklists, call screening ("dial 123 on keypad if you are a human"), etc... That is application logic. I would avoid messing with protocol on a such simple heuristics. But, obviously, free to do it. -giovanni On Sun, Dec 8, 2019, 19:08 Abel Monzon <abelcubano@gmail.com> wrote:
FAS is something that in Telecom nobody want, and I detect that if I don't receive ringing (18*) from the provider, them will be a call with FAS and I would like to avoid this for my incoming calls. Make sense?
Thank You El sáb., 7 dic. 2019 a las 18:05, Giovanni Maruzzelli (<gmaruzz@gmail.com>) escribió:
Why? Provider just answer (200) instead of ringing (18*), why answer with an error (503)?
Breaks sip logic...
On Sat, Dec 7, 2019, 23:30 Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel. _________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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
I understand where he's coming from, I understand his conundrum. He doesn't control the termination and it's probably a leaky that doesn't work very well. and there really is no way to filter out FAS calls. If you're positive you've identified calls without 183 will be FAS, i'd say do it. Bear in mind those 200 OK will still be billed to you. But i would do this on Kamailio/Opensips which are better suited for this. With freeswitch it's a duck-tape mess-up. *Of course the right way is to actually have the termination fixed and not having to go around trying to fix by breaking the protocol, but hey.* Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Sun, Dec 8, 2019 at 7:42 PM Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
No, at sip level does not make sense.
You can implement whitelists, blacklists, call screening ("dial 123 on keypad if you are a human"), etc...
That is application logic.
I would avoid messing with protocol on a such simple heuristics.
But, obviously, free to do it.
-giovanni
On Sun, Dec 8, 2019, 19:08 Abel Monzon <abelcubano@gmail.com> wrote:
FAS is something that in Telecom nobody want, and I detect that if I don't receive ringing (18*) from the provider, them will be a call with FAS and I would like to avoid this for my incoming calls. Make sense?
Thank You El sáb., 7 dic. 2019 a las 18:05, Giovanni Maruzzelli (<gmaruzz@gmail.com>) escribió:
Why? Provider just answer (200) instead of ringing (18*), why answer with an error (503)?
Breaks sip logic...
On Sat, Dec 7, 2019, 23:30 Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel.
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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
On Mon, Dec 9, 2019, 00:23 David Villasmil <david.villasmil.work@gmail.com> wrote:
*Of course the right way is to actually have the termination fixed and not having to go around trying to fix by breaking the protocol, but hey.*
Agreed!
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
On Sun, Dec 8, 2019 at 7:42 PM Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
No, at sip level does not make sense.
You can implement whitelists, blacklists, call screening ("dial 123 on keypad if you are a human"), etc...
That is application logic.
I would avoid messing with protocol on a such simple heuristics.
But, obviously, free to do it.
-giovanni
On Sun, Dec 8, 2019, 19:08 Abel Monzon <abelcubano@gmail.com> wrote:
FAS is something that in Telecom nobody want, and I detect that if I don't receive ringing (18*) from the provider, them will be a call with FAS and I would like to avoid this for my incoming calls. Make sense?
Thank You El sáb., 7 dic. 2019 a las 18:05, Giovanni Maruzzelli (< gmaruzz@gmail.com>) escribió:
Why? Provider just answer (200) instead of ringing (18*), why answer with an error (503)?
Breaks sip logic...
On Sat, Dec 7, 2019, 23:30 Abel Monzon <abelcubano@gmail.com> wrote:
Hi.
I was trying to get a solution for this but I can't find any online.
When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.
I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.
This possible?
Thank you all for any recommendations
Abel.
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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
participants (3)
-
Abel Monzon
-
David Villasmil
-
Giovanni Maruzzelli