Git Product home page Git Product logo

drachtio-fn-b2b-sugar's People

Contributors

byoungdale avatar danjenkins avatar davehorton avatar havfo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

drachtio-fn-b2b-sugar's Issues

Is there a way to set headers in the CANCELs emitted by the simringer

Hi @davehorton ,

We use simringer.

When one of the forks answers, I'd like to be able to add a "Reason" header to all the cancels sent on the other legs, viz 'Reason: SIP;cause=200;text="Call completed elsewhere"'.

This is so the client devices can adjust how they show the "missed" invite. Kamailio includes such a header, at least in our configuration.

My skim through the code here shows calls to req.cancel() and I don't see any place for something to set the headers for the cancel sent.

In related news if I receive a CANCEL from the upstream (caller) side, then I want to proxy the Reason: header from the incoming cancel to my outgoing cancels. Not sure if there's a way to do that - I added 'reason' to my proxyRequestHeaders which I will try now but its just a guess as to what to do.

Thanks,
Steve

Getting individual results for each individual Simringer branch

Hi,

If I call addUri on a Simringer, is there a way to get back the result of that particular branch/call?

IE in our code we have req._simringer.addUri(remoteUri, additionalCallOpts);

(we've stashed the simringer on the original req).

In the case I'm looking at, I see:

[2020-04-25 15:25:00.166 +0000] DEBUG (83163 on maximus.daviesfam.org): CallManager#_attemptOne: launched call to sip:[email protected]; 2 calls in progress
[2020-04-25 15:25:00.170 +0000] INFO  (83163 on maximus.daviesfam.org): CallManager#attemptOne: call to sip:[email protected] failed with 503

Another branch goes on to connect so the whole simringer succeeds.
But this particular branch gets a 503 - can I get my hands on that result?

Thanks,
Steve

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.