call routing by authentication plug-in & dial plan

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
kingston
Posts: 13
Joined: Mon Oct 16, 2006 12:25 am

call routing by authentication plug-in & dial plan

Post by kingston »

1. Brekeke Product Name and version:

SIP Server 2.0

2. Java version:

java 1.5x

3. OS type and the version:

Red Hat Enterprise Linux ES release 4

4. UA (phone), gateway or other hardware/software involved:

Radvision N30 SIP Gateway, eyeBeam Soft-EP

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:

Dear Support,

I am planning to implement authentication by using my own authentication plugin and dial plan. The work flow is as follow:

1. All incoming requests with type INVITE will be authenticated by the third-party authentication plugin (plug-in development is based on SampleUserDir example);

2. If the caller is being authenticated, the INVITE request will be redirected to external SIP-Gateway-1 (SIPGW1). Otherwise the call will be dropped by SIP Server. Hence, only authenticated requests will be routed to SIPGW1.

The dial plan I am going to deploy as follow:


Matching Patterns
----------------------
$request = ^INVITE

Deploy Patterns
--------------------
$auth = true
$target = SIPGW1

Is it possible to implement such call flow by deploying the above dial plan together with the authentication plug-in? Please kindly advice. Thanks a lot.

Regards,
Kingston
Post Reply