[Freeswitch-users] Dialplan not executed when INVITE has no SDP (3pcc)

Dave Horton daveh at beachdognet.com
Tue Dec 13 22:16:09 MSK 2016


Ah, ok thanks!  Will try that now...
On Dec 13, 2016, at 2:00 PM, Anthony Minessale <anthony.minessale at gmail.com> wrote:

Yes when you set the 3pcc to "true" that is how it works. it waits for the ack + sdp then it hits the dialplan.

When 3pcc=proxy it hits the dialplan expecting you to bridge the call to another device such as a phone and uses that phone's SDP in the response.


On Tue, Dec 13, 2016 at 12:56 PM, Dave Horton <daveh at beachdognet.com <mailto:daveh at beachdognet.com>> wrote:
Yes, right now I do not have the ACK working.  And I can fix that, but it is not what is blocking me.  

The fact that freeswitch does not execute the dialplan means that my application does not get notified of this channel.

Essentially, if I provide an SDP in the ACK I could get a channel allocated, but no way to control it.

Why is the dialplan not being executed?  Would it be executed upon the arrival of an ACK w/ SDP ?

On Dec 13, 2016, at 1:38 PM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:

Looked at your trace.  The endpoint is broken.  Its doing a 3pcc invite, then ACKing w/o SDP.


> On Dec 13, 2016, at 1:23 PM, Dave Horton <daveh at beachdognet.com <mailto:daveh at beachdognet.com>> wrote:
> 
> I’ve opened JIRA 9849 on this issue
> 
> https://freeswitch.org/jira/browse/FS-9849 <https://freeswitch.org/jira/browse/FS-9849>
> 
> On Dec 13, 2016, at 11:51 AM, Dave Horton <daveh at beachdognet.com <mailto:daveh at beachdognet.com>> wrote:
> 
> Hi there - 
> 
> I’m actually the one that opened this topic (though it seems like Serge has done some testing on it as well).
> 
> I’d be happy to test on latest master and open JIRA etc., and will do so today...
> 
> The one thing that would be helpful to me though, would be to understand what is expected behavior:
> 
> specifically, if I send an INVITE without SDP, and with enable-3pcc=true, should it execute the dialplan?
> 
> If this is not expected behavior, I’d really like to understand why.
> 
> Knowing the above will help me open a more appropriate and targeted JIRA.
> 
> Dave
> 
> On Dec 13, 2016, at 11:41 AM, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org>> wrote:
> 
> Serge,
> 
> Have you tried lastest master?  How are we to fix issues that come up if nobody tells us about it.  Please re-test on master, and verify if the issue persists, if so then file a JIRA with the appropriate details.  Packet Captures and such, I would also like to have a SIPP scenario created that can speed the resolution of your issue, Do you know how to make one of those from your pcap?
> 
> This sipp business might make a great topic for one of our weekly calls.
> 
> /b
> 
> On Tue, Dec 13, 2016 at 4:13 AM, Serge S. Yuriev <me at nevian.org <mailto:me at nevian.org>> wrote:
> 3pcc was deadly broken on very beginning of June. Last working version -
> last of May.
> 
> On 13/12/16 05:58, Dave Horton wrote:
> > I notice that when I set:
> >
> > <param name="enable-3pcc" value="true”/>
> >
> > and then send an INVITE to Freeswitch with no SDP, Freeswitch responds with 200 OK and an SDP offering all available codecs.
> >
> > That is good, but it also appears that it does not evaluate the dialplan at all - simply sends out the 200 OK.
> >
> > Is this by design?
> >
> > My intent was to send an INVITE with no SDP, execute answer through my event socket program and thereafter be able to issue commands.
> > It seems like this is not possible?  Or am I doing something wrong?
> 
> --
> Serge S. Yuriev
> Lead VoIP engineer
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> -- 
> Brian West
> brian at freeswitch.org <mailto:brian at freeswitch.org>
> 
> Twitter: @FreeSWITCH , @briankwest
> http://www.freeswitchbook.com <http://www.freeswitchbook.com/> (50% Discount using code FreeSwitch50)
> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/> (50% Discount using code FreeSwitch50)
> https://www.gofundme.com/freeswitch_ubuntu <https://www.gofundme.com/freeswitch_ubuntu>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
> T:+19184209001 <tel:(918)%20420-9001> | F:+19184209002 <tel:(918)%20420-9002> | M:+1918424WEST (9378)
> Skype:briankwest
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/ <http://freeswitch.org/>  ☞ http://cluecon.com/ <http://cluecon.com/>  ☞ http://twitter.com/FreeSWITCH <http://twitter.com/FreeSWITCH>
☞ irc.freenode.net <http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ <http://freeswitch.org/g+>

ClueCon Weekly Development Call 
☎ sip:888 at conference.freeswitch.org <mailto:sip%3A888 at conference.freeswitch.org>  ☎ +19193869900 

https://www.youtube.com/watch?v=9XXgW34t40s <https://www.youtube.com/watch?v=9XXgW34t40s>
https://www.youtube.com/watch?v=NLaDpGQuZDA <https://www.youtube.com/watch?v=NLaDpGQuZDA>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161213/584e3667/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list