Hello Daniel,
I have tried without append_branch(); and it just don't create the new branch and it sends back the 486 message to the UAC that originated the call:
if (t_check_status("486|408")) {
revert_uri();
prefix("voicemail");
remove_hf("P-App-Name");
append_hf("P-App-Name: voicemail\r\n");
append_hf("P-App-Param: mod=box;usr= $rU;dom=
sipproxy.a.com;uid=$rU;did=
sipproxy.a.com;\r\n");
rewritehostport("
192.168.0.197:5080");
$du = $null;
#$du = "sip:192.168.0.197";
#append_branch();
t_relay();
}
}
|Time | 192.168.3.20 | 192.168.0.167 |
| | | 192.168.0.197 |
|3,415 | INVITE SDP ( telephone-event) | |SIP From:
sip:4095@192.168.0.197 To:sip:4440@192.168.0.197
| |(5060) ------------------> (5060) | |
|3,420 | 407 Proxy Authentication Required | |SIP Status
| |(5060) <------------------ (5060) | |
|3,422 | ACK | | |SIP Request
| |(5060) ------------------> (5060) | |
|3,422 | INVITE SDP ( telephone-event) | |SIP From:
sip:4095@192.168.0.197 To:sip:4440@192.168.0.197
| |(5060) ------------------> (5060) | |
|3,435 | 100 trying -- your call is important to us | |SIP Status
| |(5060) <------------------ (5060) | |
|3,436 | | INVITE SDP ( telephone-event) |SIP Request
| | |(5060) ------------------> (5060) |
|3,437 | | 100 Trying| |SIP Status
| | |(5060) <------------------ (5060) |
|3,437 | | 486 Busy Here |SIP Status
| | |(5060) <------------------ (5060) |
|3,441 | | ACK | |SIP Request
| | |(5060) ------------------> (5060) |
|3,459 | 486 Busy Here | |SIP Status
| |(5060) <------------------ (5060) | |
|3,461 | ACK | | |SIP Request
| |(5060) ------------------> (5060) | |