Hi,all
I have a record route problem:
sip client===>ser====>(pstn)gateway
invite: client---->ser---->gw ring and 200ok : gw--->ser--->client ack : client--------------->gw
I use forward command forward pstn call to gateway. if (uri=~"^sip:9817") { rewritehost("xxx.xxx.xxx.xxx"); forward(xxx.xxx.xxx.xxx,5060); break; }
There is no record-route field in the 200ok packet. So client forward to gw directly. But when sip client call each other ser insert record-route field. Can someone tell me how to config forward command with record-route supported?
Jiangzhou Best Regards