You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/doc/Readme.auth_b2b

44 lines
1.8 KiB

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)
Alternatively, the account (user/domain/pwd) can be set in auth_b2b.conf.