Scenario: Cisco voice Gateway 2800 series running IOS v.12.4(24)T1.
One interface connected to PSTN(ISDN) and other to ip network, facing a sip proxy. When a call is placed from pstn to a BRI port, it matches a dial peer which target is the sip proxy via DNS SRV. The gateway sends an INVITE message to the proxy; the proxy resolves via ENUM the other party and delivers it to a user. The call gets 180 ringing message from remote side. When call pickup is issued in the sip leg, an INVITE message arrives Cisco gw with call-id, local an remote tag conveniently filled. As seen in the log, the gateway tries to match a dial peer based on the request uri. As no one is matched, it answers with 404 message instead of connecting the call.
Have you experienced a problem like that? Is there any tweak to work around this?
Symptom SIP INVITE messages sent to a router where the SIP URI and To header contain a number that begins with the plus sign (+) (e.g. +1919555xxxx), do not match valid dial peers that have a + (e.g. destination-pattern +1919.......).
Conditions Occurs for any SIP call where the URI begins with a + and the dial peer to be matched begins with +.
Workaround If possible, remove the + from the dial peer to be matched.
An alternative is to create an inbound dial peer with a voice translation rule that
matches on the international number and adds the + back on.