Question : Call leg/transaction does not exist

Hi,

I'm having a problem with Asterisk and the extensions that are behind a router (NAT).

I have attached a snip of the logs from an asterisk debug. (If you need more, please let me know)

The log shows, when a call comes in from a DDI, an extension (ext. 204) within the office answers the call. (The asterisk server is out of the office in a data centre). The call is then put on hold by using the Xfer button on the phone and then the operator dials another extention (ext 201) which is within the same office and therefore behind the same NAT, they are able to speak to the other member of staff, however, when they press Xfer to complete the attended transfer, all the calls get disconnected.
The SIP debug in Asterisk shows:-

SIP/2.0 481 Call leg/transaction does not exist


It is really important that I resolve this issue as my manager is getting annoyed.

Any help would be greatly appreciated.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
<--- Transmitting (NAT) to 94.193.81.135:49160 --->
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 94.193.81.135:49160;branch=z9hG4bK-5479aeea;received=94.193.81.135
From: ;tag=f2c2287b333442fi0
To: "01617720007" ;tag=as2eb45d54
Call-ID: [email protected]
CSeq: 102 REFER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Contact: 
Content-Length: 0 

<------------>
set_destination: Parsing  for address/port to send to
set_destination: set destination to 94.193.81.135, port 49160
Reliably Transmitting (NAT) to 94.193.81.135:49160:
NOTIFY sip:[email protected]:49160 SIP/2.0
Via: SIP/2.0/UDP 83.222.226.126:5060;branch=z9hG4bK2e10dade;rport
From: "01617720007" ;tag=as2eb45d54
To: ;tag=f2c2287b333442fi0
Contact: 
Call-ID: [email protected]
CSeq: 103 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "01617720007" ;privacy=off;screen=no
Event: refer;id=102
Subscription-state: terminated;reason=noresource
Content-Type: message/sipfrag;version=2.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 49 
SIP/2.0 481 Call leg/transaction does not exist

Answer : Call leg/transaction does not exist

Random Solutions  
 
programming4us programming4us