# Call from 734123456 to 2001 (SIP name: SPA-01) - unconditional redirection to 34899 # Diversion from SIP: "SPA-01c" # CALLERID(rdnis): 2001 #--------------------------------------------------------------------------------------------- # ... -- Executing [2001@local-SIP:1] Dial("SIP/from_mcs-0008d17a", "SIP/SPA-01") in new stack == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 Audio is at 10.30.11.21 port 10294 Adding codec 0x8 (alaw) to SDP Adding non-codec 0x1 (telephone-event) to SDP Reliably Transmitting (no NAT) to 10.1.62.221:5061: INVITE sip:SPA-01@10.1.62.221:5061 SIP/2.0 Via: SIP/2.0/UDP 10.30.11.21:5060;branch=z9hG4bK327f6d31;rport Max-Forwards: 70 From: "0734123456" ;tag=as65d21f63 To: Contact: Call-ID: 335730a1785a88c12181191722f47d21@10.30.11.21 CSeq: 102 INVITE User-Agent: Asterisk PBX 1.6.2.16.2 Date: Mon, 19 Mar 2012 10:51:12 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Type: application/sdp Content-Length: 235 v=0 o=root 225323189 225323189 IN IP4 10.30.11.21 s=Asterisk PBX 1.6.2.16.2 c=IN IP4 10.30.11.21 t=0 0 m=audio 10294 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv --- -- Called SPA-01 <--- SIP read from UDP:10.1.62.221:5061 ---> SIP/2.0 100 Trying To: From: "0734123456" ;tag=as65d21f63 Call-ID: 335730a1785a88c12181191722f47d21@10.30.11.21 CSeq: 102 INVITE Via: SIP/2.0/UDP 10.30.11.21:5060;branch=z9hG4bK327f6d31 Server: Linksys/SPA941-5.1.8 Content-Length: 0 <-------------> --- (8 headers 0 lines) --- <--- SIP read from UDP:10.1.62.221:5061 ---> SIP/2.0 302 Moved Temporarily To: ;tag=9b06c174fc5a4cdi0 From: "0734123456" ;tag=as65d21f63 Call-ID: 335730a1785a88c12181191722f47d21@10.30.11.21 CSeq: 102 INVITE Via: SIP/2.0/UDP 10.30.11.21:5060;branch=z9hG4bK327f6d31 Contact: #============================================================================== #= !! 1 !! Diversion: "SPA-01c" ;reason=unconditional #= !! 1 !! #============================================================================== Server: Linksys/SPA941-5.1.8 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- -- Got SIP response 302 "Moved Temporarily" back from 10.1.62.221 Transmitting (no NAT) to 10.1.62.221:5061: ACK sip:SPA-01@10.1.62.221:5061 SIP/2.0 Via: SIP/2.0/UDP 10.30.11.21:5060;branch=z9hG4bK327f6d31;rport Max-Forwards: 70 From: "0734123456" ;tag=as65d21f63 To: ;tag=9b06c174fc5a4cdi0 Contact: Call-ID: 335730a1785a88c12181191722f47d21@10.30.11.21 CSeq: 102 ACK User-Agent: Asterisk PBX 1.6.2.16.2 Content-Length: 0 --- -- Now forwarding SIP/from_mcs-0008d17a to 'Local/34899@international' (thanks to SIP/SPA-01-0008d17b) -- Executing [34899@international:1] Goto("Local/34899@international-02ab;2", "to-smetanka,34899,1") in new stack -- Goto (to-smetanka,34899,1) #============================================================================== #= !! 2 !! -- Executing [34899@to-smetanka:1] NoOp("Local/34899@international-02ab;2", "From: 0734123456 To smetanka: 34899 CALLERID(rdnis):2001") in new stack #= !! 2 !! #============================================================================== -- Executing [34899@to-smetanka:2] Goto("Local/34899@international-02ab;2", "to-smetanka-1,34899,1") in new stack -- Goto (to-smetanka-1,34899,1) -- Executing [34899@to-smetanka-1:1] NoOp("Local/34899@international-02ab;2", "From: 0734123456 To smetanka: 34899") in new stack -- Executing [34899@to-smetanka-1:2] Macro("Local/34899@international-02ab;2", "dialout-smetanka,34899") in new stack -- Executing [s@macro-dialout-smetanka:1] Dial("Local/34899@international-02ab;2", "IAX2/smetanka/34899,60,t") in new stack -- Called smetanka/34899 -- Call accepted by 10.41.12.200 (format alaw) -- Format for call is alaw -- IAX2/smetanka-2924 is ringing -- Local/34899@international-02ab;1 is ringing Really destroying SIP dialog '335730a1785a88c12181191722f47d21@10.30.11.21' Method: INVITE cPBX*CLI> #---------------------------------------------------------------------------------------------