Thanks Peter, this is the situation:
            +--------------------------------------------+

            |           Panasonic KX-TDE 100             |
            |                                            |
            |    +----------+          +-----------+     |
CO Lines <--|--->|  LCOT16  |          |  CSLC16   |<----|---->  Phones
            |    +----------+          +-----------+     |
            |         ^                      ^           |
            |         |                      |           |
            |         v                      v           |
            |      +------------------------------+      |
            |      |          V-SIPGW16           |      |
            |      +------------------------------+      |
            |                      ^                     |
            |                      |                     |
            +----------------------|---------------------+
                                   |
                                   v
                          +----------------+
                          |   Fresswitch   |
                          +----------------+
I need to process all calls in freeswitch. so all calls from pstn (comming from lcot16 lines) and  phones (attached to CSLC16) should go to freeswitch and fs should be able to distribute them (weather to pstn or phones). If you are on IRC and of course if you like let me know to contact you there.