mirror of https://github.com/sipwise/sems.git
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@913 8eb893ce-cfd4-0310-b710-fb5ebe64c474sayer/1.4-spce2.6
parent
e8a134a593
commit
3dc949a1e6
@ -0,0 +1,42 @@
|
||||
|
||||
auth_b2b application
|
||||
|
||||
This module is a pure B2BUA application that does an identity
|
||||
change and authenticates on the second leg of the call, like
|
||||
this
|
||||
|
||||
Caller SEMS auth_b2b 123@domainb
|
||||
| | |
|
||||
| INVITE bob@domaina | |
|
||||
| From: alice@domaina | |
|
||||
| To: bob@domaina | |
|
||||
| P-App-Param:u=user;d=domainb;p=passwd |
|
||||
|-------------------->| |
|
||||
| |INVITE bob@domainb |
|
||||
| |From: user@domainb |
|
||||
| |To: bob@domainb |
|
||||
| |----------------------->|
|
||||
| | |
|
||||
| | 407 auth required |
|
||||
| |<---------------------- |
|
||||
| | |
|
||||
| | |
|
||||
| | INVITE w/ auth |
|
||||
| |----------------------->|
|
||||
| | |
|
||||
| | 100 trying |
|
||||
| 100 trying |<---------------------- |
|
||||
|<--------------------| |
|
||||
| | |
|
||||
| | 200 OK |
|
||||
| 200 OK |<---------------------- |
|
||||
|<--------------------| |
|
||||
| | |
|
||||
| ACK | |
|
||||
|-------------------->| ACK |
|
||||
| |----------------------->|
|
||||
|
||||
App-Param:
|
||||
u - user in B leg
|
||||
d - domain in B leg
|
||||
p - password for auth in B leg (auth user=user)
|
||||
Loading…
Reference in new issue