Giter Site home page Giter Site logo

asterisk-i's People

Contributors

bcarvalho avatar btavares avatar fvieira1977 avatar nferreiraptin avatar nuno-f-novo-alb avatar pedro-n-pinto avatar virgilio-a-cunha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asterisk-i's Issues

ISUP IAM

Add support for outbound SIP-I calls.

The system should send an ISUP IAM message embedded in the SIP INVITE message body

WMS responds with duplicated header "require: timer"

Invite example:

INVITE sip:[email protected]:5060 SIP/2.0
CSeq: 1 INVITE
From: <sip:[email protected].180>;tag=1
To: <sip:[email protected].220>
Call-ID: [email protected]
Via: SIP/2.0/UDP 10.112.137.180:6060
User-Agent: X-Lite release 1011s stamp 41150
Max-Forwards: 70
Date: Sat, 13 Nov 2010 23:29:00 GMT
Contact: <sip:[email protected]:6060>
Allow: REGISTER,REFER,NOTIFY,SUBSCRIBE,INVITE,ACK,OPTIONS,CANCEL,BYE
Max-Forwards: 70
Min-SE: 900
Session-Expires: 1800
Supported: timer

Response:

SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.112.137.180:6060;received=10.112.137.180
From: <sip:[email protected].180>;tag=1
To: <sip:[email protected].220>;tag=as727c2726
Call-ID: [email protected]
CSeq: 1 INVITE
Server: WMS
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, PRACK
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:[email protected]:5060>
Require: timer
Content-Type: application/sdp
Require: timer

After PRACK transaction the initial dialog branch is lost

After PRACK transaction the initial dialog branch is lost

Section 171.1.3 (Construction of the ACK Request) da RFC 3261:

This section specifies the construction of ACK requests sent within
the client transaction. A UAC core that generates an ACK for 2xx
MUST instead follow the rules described in Section 13.
The ACK request constructed by the client transaction MUST contain
values for the Call-ID, From, and Request-URI that are equal to the
values of those header fields in the request passed to the transport
by the client transaction (call this the "original request"). The To
header field in the ACK MUST equal the To header field in the
response being acknowledged, and therefore will usually differ from
the To header field in the original request by the addition of the
tag parameter. The ACK MUST contain a single Via header field, and
this MUST be equal to the top Via header field of the original
request. The CSeq header field in the ACK MUST contain the same
value for the sequence number as was present in the original request,
but the method parameter MUST be equal to "ACK".

no early media with Session Progress

Dear Team,

asterisk is not sending out audio until the line is answered.
I do not see any RTP flowing out of asterisk while playing back an announcement with Playback (noanswer).

here is my dialplan

[noanswer_demo]
exten => s,1,Progress()
exten => s,n,Monitor(wav,testCall-${STRFTIME(${EPOCH},GMT+3,%C%y%m%d%H%M)})
exten => s,n,Background(hello-world, n) ; ----> 1
exten => s,n,WaitExten(1)
exten => s,n(cont),Playback(hello-world, noanswer) ; ----> 2
exten => s,n,Wait(1)
exten => s,n,Playback(hello-world) ; ----> 3
exten => s,n,Playback(demo-instruct)
exten => s,n,Playback(hello-world)
exten => s,n,Playback(demo-instruct)
exten => s,n,Hangup()

I am not hearing the 1st and 2nd prompts BUT the Monitor file contains all the prompts.

:::::::: Another observation ::::::::
Below is the Mime I am receiving and we are replying with SIP and not SIP-I message.

Content-Type:application/ISUP;base=itu-t92+;version=itu-t92+
Content-Disposition:signal;handling=required
Content-Transfer-Encoding:binary

i guess we are simply ignoring the handling=required

can you please guide me how can i solve these problems

NOTE:
all 51 patches applied

Prack notification of application

When a SIP PRACK with an SDP is received, the application controlling the call should be notified so that it can do media related operations.

Change patch file structure

Patch files should be numbered, making easier the patch process. With this approach there is no need for the README files to indicate the patch apply order.

Re-invite to audio after fax call hangup

When fax call terminates with a BYE from the remote peer, a re-invite to audio is being issued causing 481 messages.
This is happening after the t38 resource and signaling synchronization patch.

Related to issue #26

Support for third-party rtp media

Support for thrid-party rtp media.
The SDPs provided by asterisk should be able to specify a different rtp media provider rather than the asterisk embeded.

200 OK without SDP in response to a PRACK with an offer

The 200 OK response to a PRACK with SDP (new offer) is sent without any body (answer).

It should comply with RFC 6337:

3.2.  Offer/Answer Exchange in Early Dialog
   A UA can send a PRACK request with a new offer only when
   acknowledging the reliable provisional response carrying the answer
   to an offer in the INVITE request.
4.  Exceptional Case Handling
      At any time, either agent MAY generate a new offer that updates
      the session.  However, it MUST NOT generate a new offer if it has
      received an offer which it has not yet answered or rejected.
      Furthermore, it MUST NOT generate a new offer if it has generated
      a prior offer for which it has not yet received an answer or a
      rejection.

And RFC 3262:

5 The Offer/Answer Model and PRACK
   If the UAC receives a reliable provisional response with an offer
   (this would occur if the UAC sent an INVITE without an offer, in
   which case the first reliable provisional response will contain the
   offer), it MUST generate an answer in the PRACK.  If the UAC receives
   a reliable provisional response with an answer, it MAY generate an
   additional offer in the PRACK.  If the UAS receives a PRACK with an
   offer, it MUST place the answer in the 2xx to the PRACK.

User isn't added at conference creation

When creating a conference, if two consecutive calls are made in a short period of time, one of the users may not be added to the conference.

WMS internal issue: WMS-635

File errors after call disconnected

In case a LOOP_CURRENT_EVENT when playing a announcement asterisk-i shouldn't send a PLAY_ANNOUNCEMENT_COMPLETED with error INVALID_VOICE_FILE_PARAMETER.

Support for asterisk 11.3.0

asterisk-i should be based on asterisk 11.3.0.
All the current functionalities should be available as is.

JIRA PTIN: WMS-728

Hangup and fax phase E event fails to synchronize

Hangup and fax phase E event fails to synchronize, although the fax is transmitted with success sometimes the hangup event is processed before the phase E event, when this happens it is returned an error.

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.