I am trying to get a call forwarding to a PSTN gateway. I see the SIP call come in but appears I am missing something to get the routing/call forward to be recognized. Below is SIP log.
Sep 26 13:04:52 localhost ./ser[7102]: SIP Request: Sep 26 13:04:52 localhost ./ser[7102]: method: <INVITE> Sep 26 13:04:52 localhost ./ser[7102]: uri: sip:5199571788@216.183.86.133 Sep 26 13:04:52 localhost ./ser[7102]: version: <SIP/2.0> Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: flags=1 Sep 26 13:04:52 localhost ./ser[7102]: Found param type 232, <branch> = <z9hG4bK0a45e9d0>; state=6 Sep 26 13:04:52 localhost ./ser[7102]: Found param type 235, <rport> = <n/a>; state=17 Sep 26 13:04:52 localhost ./ser[7102]: end of header reached, state=5 Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: Via found, flags=1 Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: this is the first via Sep 26 13:04:52 localhost ./ser[7102]: After parse_msg... Sep 26 13:04:52 localhost ./ser[7102]: preparing to run routing scripts... Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: flags=128 Sep 26 13:04:52 localhost ./ser[7102]: end of header reached, state=9 Sep 26 13:04:52 localhost ./ser[7102]: DEBUG: get_hdr_field: <To> [33]; uri=[sip:5199571788@216.183.86.133] Sep 26 13:04:52 localhost ./ser[7102]: DEBUG: to body [sip:5199571788@216.183.86.133 ] Sep 26 13:04:52 localhost ./ser[7102]: get_hdr_field: cseq <CSeq>: <102> <INVITE> Sep 26 13:04:52 localhost ./ser[7102]: DEBUG: get_hdr_body : content_length=218 Sep 26 13:04:52 localhost ./ser[7102]: found end of header Sep 26 13:04:52 localhost ./ser[7102]: DEBUG: is_maxfwd_present: max_forwards header not found! Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: flags=64 Sep 26 13:04:52 localhost ./ser[7102]: check_via_address(216.143.130.61, 216.143.130.61, 0) Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: flags=33554432 Sep 26 13:04:52 localhost ./ser[7102]: DEBUG: add_param: tag=as35382f6d Sep 26 13:04:52 localhost ./ser[7102]: end of header reached, state=29 Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: flags=256 Sep 26 13:04:52 localhost ./ser[7102]: find_first_route: No Route headers found Sep 26 13:04:52 localhost ./ser[7102]: loose_route: There is no Route HF Sep 26 13:04:52 localhost ./ser[7102]: is_local(): Realm '216.183.86.133' is not local Sep 26 13:04:52 localhost ./ser[7102]: is_local(): Realm '216.143.130.61' is not local Sep 26 13:04:52 localhost ./ser[7102]: parse_headers: flags=-1 Sep 26 13:04:52 localhost ./ser[7102]: check_via_address(216.143.130.61, 216.143.130.61, 0) Sep 26 13:04:52 localhost ./ser[7102]: DEBUG:destroy_avp_list: destroying list (nil) Sep 26 13:04:52 localhost ./ser[7102]: receive_msg: cleaning up Sep 26 13:04:52 localhost ./ser[7098]: SIP Request: Sep 26 13:04:52 localhost ./ser[7098]: method: <ACK> Sep 26 13:04:52 localhost ./ser[7098]: uri: sip:5199571788@216.183.86.133 Sep 26 13:04:52 localhost ./ser[7098]: version: <SIP/2.0> Sep 26 13:04:52 localhost ./ser[7098]: parse_headers: flags=1 Sep 26 13:04:52 localhost ./ser[7098]: Found param type 232, <branch> = <z9hG4bK0a45e9d0>; state=6 Sep 26 13:04:52 localhost ./ser[7098]: Found param type 235, <rport> = <n/a>; state=17 Sep 26 13:04:52 localhost ./ser[7098]: end of header reached, state=5 Sep 26 13:04:52 localhost ./ser[7098]: parse_headers: Via found, flags=1 Sep 26 13:04:52 localhost ./ser[7098]: parse_headers: this is the first via Sep 26 13:04:52 localhost ./ser[7098]: After parse_msg... Sep 26 13:04:52 localhost ./ser[7098]: preparing to run routing scripts... Sep 26 13:04:52 localhost ./ser[7098]: parse_headers: flags=4 Sep 26 13:04:52 localhost ./ser[7098]: DEBUG: add_param: tag=7770e7624e56f146f4f19d50775e8c7e.230c Sep 26 13:04:52 localhost ./ser[7098]: end of header reached, state=29 Sep 26 13:04:52 localhost ./ser[7098]: DEBUG: get_hdr_field: <To> [75]; uri=[sip:5199571788@216.183.86.133] Sep 26 13:04:52 localhost ./ser[7098]: DEBUG: to body [sip:5199571788@216.183.86.133] Sep 26 13:04:52 localhost ./ser[7098]: DEBUG: sl_filter_ACK : local ACK found -> dropping it! Sep 26 13:04:52 localhost ./ser[7098]: DEBUG:destroy_avp_list: destroying list (nil) Sep 26 13:04:52 localhost ./ser[7098]: receive_msg: cleaning up