Hi,<br><br>I encountered the following problem:<br>My asterisk works as a gateway between two sip networks external (public internet) and internal (local lan) <br>From public side asterisk is registered UA in external network.<br>
Internal sip UAs are registered in local SIP Proxy.<br>When there is an incoming call from external network some extension in dialplan is invoked.<br>After this asterisk verifies mapping between dialed external user (invoked extension) and target user in internal network <br>
it dials internal user with the usage of following marco:<br>exten => s,1,NoOp(-- Internal call to: ${MACRO_EXTEN})<br>exten => s,n,Answer()<br>exten => s,n,Dial(SIP/${ARG1},60,ftT)<br>exten => s,n(congestion),Congestion(20)<br>
<br> This causes that call is redirected to the local sip proxy.<br><br>Error arises when invite request is forked in the sip proxy.<br>Due to the forked request there is an ringing response from<br>two user agents and those responses create early dialog<br>
(they contain tag in from header field).<br>Ringing responses of course are received in some order to asterisk.<br><br>If call is answered by the user agent whose SIP ringing response came as <br>the second one asterisk never replies with the ACK.<br>
If call is answered by the user agent whose SIP ringing response came as the first <br>one everything works fine.<br>This is an error.<br><br>According to RFC 3261 Ringing response creates early dialog and if there is no final response received<br>
dialog should be terminated.<br><br>Is there any patch for this issue or a way to fix this through configuration?<br><br>Bests regards<br>TOmasz<br><br>