Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deflect Command not generating REFER Packet and making freeswitch Hang for 10 Sec #2581

Open
surabhigarg1234 opened this issue Aug 24, 2024 · 2 comments

Comments

@surabhigarg1234
Copy link

HI Team,

Facing issue with Deflect command where deflect command is not generating REFER packet and getting hang for 10 sec.

My call scenario is:

  1. Made call using linphone to freeSWITH.
  2. Call lands to a diaplan and from dialplan I am calling mod_httapi application'
  3. mod_httapi application sends document to answers the call
  4. then mod_httapi application sends document to Play 2-3 music file
  5. Then mod_httapi application transfers the call to another dialplan using "transfer" application
  6. In transferred dialplan, I am deflecting a call to another sip endpoint i.e. ""
  7. Post deflect, no REFER packet generated and freeswitch hanged for 10 sec.
  8. Post 10 sec freeswitch channel gets deleted but SIP session remain open without BYE
@surabhigarg1234
Copy link
Author

Seems in terms of code, freeswitch gets stuck in mod_dptool.c:

switch_channel_wait_for_flag(channel, CF_MEDIA_ACK, SWITCH_TRUE, 10000, NULL);

Any help here would be appreciated.

@surabhigarg1234
Copy link
Author

Hi Team,

Any help here would be really appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant