1Jukecall 2 3This is an example of how to use the B2ABSession - a kind of 4b2bua where SEMS stays in the media path, or media relay. 5 6Because SEMS stays in the path, its possible to react e.g. 7on DTMF while in the call - and the jukecall example does 8just this: 9First it plays a welcome message to the caller, then it 10connects to the originally dialled number stripped by the 11first three digits. When the two parties are connected, 12the first one can play some files into the call by pressing 13the keys on the phone. 14 15for example: 16 17123@example.org SEMS jukecall 456@example.org 18 19| INVITE sip:500456 | | 20+---------------------->| | 21| 200 OK | | 22|<----------------------| | 23| | | 24| play greeting.wav | | 25|<======================| | 26| | | 27| | | 28| | INVITE sip:456 | 29| +---------------------->| 30| | 200 OK | 31| |<----------------------| 32| | | 33| | | 34| connected through relay | 35|<=====================>|<=====================>| 36| | | 37| DTMF 1 | | 38|-=-=-=-=-=-=-=-=-=-=-=>| | 39| | | 40| play 1.wav | play 1.wav | 41|<======================|======================>| 42| | | 43| connected through relay | 44|<=====================>|<=====================>| 45| | | 46| DTMF 3 | | 47|-=-=-=-=-=-=-=-=-=-=-=>| | 48| | | 49| play 3.wav | play 3.wav | 50|<======================|======================>| 51| | | 52 53aso. 54