Hi !

I have the following simple scenario

A <---> Kamailio <---> Asterisk <---> B

now i'm trying to handle Timeout reply when B is unavailable. First i suspend transaction and wait for B available.

i use uac_reg_send() to reINVITE B .The problem is when B available, it receive INVITE but A doesn't receive ACK therefore the call is incomplete

I guess the reason is source IP in reINVITE is Kamailio's not A's IP, so ACK can't reach A.

How can i set this source IP to A's IP ?

Any idea is appreciated

Thank you !