Skip to content

Commit

Permalink
Update README to reflect new forwarding behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieCrumb23 authored Jul 7, 2016
1 parent 8dba2a8 commit 8c58cd8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ cancel | The caller hung up before the called party picked up
noAnswer | The called party rejected the call (e.g. through a DND setting)
congestion | The called party could not be reached
notFound | The called number does not exist or called party is offline
forwarded | The call was forwarded to a different party


### DTMF
Expand Down Expand Up @@ -442,6 +443,23 @@ This is what sipgate.io sends, in case Marty does not pick up:
3. newCall (user: Marty, callId: 21102015, diversion: \<Doc's number\> from: \<Jennifer's number\>)
4. hangup (user: Marty, callId: 21102015)

How is forwarding signaled?
--------------

The forwarded call is handled as a new call. Let's assume the previous scenario: Jennifer calls Doc Brown but his line is busy so the call is forwarded to Marty who in turn picks up the call.
Here are the pushes sipgate.io will send to your server:

1. newCall (user: Doc, callId: 12111955)
2. hangup (cause: forwarded, callId: 12111955)
3. newCall (user: Marty, callId: 21102015, diversion: \<Doc's number\> from: \<Jennifer's number\>)
4. answer (user: Marty, callId: 21102015, diversion: \<Doc's number\> from: \<Jennifer's number\>)
5. hangup (user: Marty, callId: 21102015)

I get a lot of event during forwards and transfers, do I have to pay for all of them?
-------------------------
The answer is: It depends.
If you transfer or forward a call within the same sipgate account then the answer is no. But if you forward or transfer a call to a different sipgate account or an external number then those pushes are being billed to your account.


Troubleshooting
===============
Expand Down

0 comments on commit 8c58cd8

Please sign in to comment.