Giter VIP home page Giter VIP logo

Comments (8)

marc8lange avatar marc8lange commented on July 17, 2024

I'm not getting a proper bye / ok from Freepbx / Asterisk in Dsip 0.51
After the Bye I get the following:
SIP/2.0 481 Call leg/transaction does not exist

One of the callers line stays connected as a result (depends on who hangs up first.

This does not happen when routing calls directly to FRreePBX, only when routing through dSip then FreePBX.

from dsiprouter.

matmurdock avatar matmurdock commented on July 17, 2024

Do you get this when the pbx extension hangs up first?

Mat

from dsiprouter.

mackhendricks avatar mackhendricks commented on July 17, 2024

Hey @marc8lange I just tested it with FreePBX 14 / Asterisk 13.22 and the BYE worked without an issue when the carrier sent the BYE.

But, the BYE doesn't happen when the SIP client send it. I just fixed it...actually it was commented out for testing another use case and we didn't catch it during our final testing. I will fix it and rebuild 0.51. But, you can fix your install by doing the following

  1. login to the host
  2. vi /etc/kamailio/kamailio.cfg
  3. Goto line 726 and remove the # sign
  4. Save the file
  5. Execute systemctl restart kamailio
  6. Try the call again

image

from dsiprouter.

marc8lange avatar marc8lange commented on July 17, 2024

Hello,

Applied the very clear instructions to amend kamailio.cfg (thank you).

Now, when the carried goes bye, the ack, bye, and 200ok sequence works well. However when the PBX extensions hangs up first, I still get the ack - bye - 403 Forbidden - Bye - and 481 Call leg does not exist.

Again tried to bypass dsip and hangups occur as predicted no matter who hangs up first.

I confirmed the changed stuck in kamailio.cfg, and restarted kamailio a few times for good measure.

You'll notice in the sngrep, the carrier stayed connected to dsip for another 20 seconds after the 403 forbidden...until I hung up manually the carrier. Sorry...purposely not showing IPs and details here.

image

from dsiprouter.

matmurdock avatar matmurdock commented on July 17, 2024

Side note, Add this to bottom of .bashrc in /root
export NCURSES_NO_UTF8_ACS=1

from dsiprouter.

marc8lange avatar marc8lange commented on July 17, 2024

Side note, Add this to bottom of .bashrc in /root
export NCURSES_NO_UTF8_ACS=1

done after googling it...but still not entirely sure that I've achieved a different display in putty?

from dsiprouter.

matmurdock avatar matmurdock commented on July 17, 2024

from dsiprouter.

mackhendricks avatar mackhendricks commented on July 17, 2024

@marc8lange

It looks like your carrier doesn't like how dSIPRouter forwards the BYE. Some carriers are picky. We are using Flowroute without an issue. What carrier are you using?

In regards to export NCURSES_NO_UTF8_ACS=1, I will create an issue and add that into the build. I've always wondered people get letters when using putty :-)

from dsiprouter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.