Hello,

 

We need to integrate Kamailio with an exchange switch in order to have routing decision.

Kamailio must send to the switch the list of available gateways in the contact tag of SIP response as shown in the below example:

 

SIP/2.0 300 Multiple choices

Via: SIP/2.0/UDP 172.16.5.112:5060;branch=z9hG4bK1sansay9906915rdb2243

Via: SIP/2.0/UDP 216.53.4.5:5060;branch=z9hG4bK_1852370774_4741_1

To: <sip:86532917453592@69.41.186.186:5060>

From: <sip:+249964642906@216.53.4.5:5060;otg=024050>;tag=1852370774_C

Call-ID: sbcsipuac.2_169.132.137.51_b55sb12_1_1_2015052909455960_1852370774_487698

CSeq: 1 INVITE

Contact: <sip:2917453592@036310>, <sip:2917453592@016500>, <sip:138295#2917453592@044610>, <sip:2917453592@020100>

Server: Invoice SIP-server

Content-Length: 0

 

Is this can be done through drouting module , or we need to use another module ?

 

Your help is highly appreciated.

 

Regards,

Ali