# Call from 734123456 to 25102 (SIP name: SMT-SPA504G-990) - unconditional redirection to 34899 # Diversion from SIP: "SMT-25102" # CALLERID(rdnis): SMT-SPA504G-990 #--------------------------------------------------------------------------------------------- # ... From citrus: 0734123456 To: 25102 -- Executing [25102@from-citrus-css:1] Macro("IAX2/citrus-1179", "dialout-SIP,SMT-SPA504G-990") in new stack -- Executing [s@macro-dialout-SIP:1] Verbose("IAX2/citrus-1179", "SIP-s: From: 0734123456 To: 25102 Phone: SMT-SPA504G-990 Time: 2012/03/17-11:17") in new stack SIP-s: From: 0734123456 To: 25102 Phone: SMT-SPA504G-990 Time: 2012/03/17-11:17 -- Executing [s@macro-dialout-SIP:2] NoOp("IAX2/citrus-1179", "CALLERID(rdnis)=") in new stack -- Executing [s@macro-dialout-SIP:3] Dial("IAX2/citrus-1179", "SIP/SMT-SPA504G-990,300,tM(start-of-call)") in new stack == Using SIP RTP CoS mark 5 Audio is at 17312 Adding codec 0x8 (alaw) to SDP Adding codec 0x4 (ulaw) to SDP Adding non-codec 0x1 (telephone-event) to SDP Reliably Transmitting (no NAT) to 10.1.62.240:5060: INVITE sip:SMT-SPA504G-990@10.1.62.240:5060 SIP/2.0 Via: SIP/2.0/UDP 10.41.12.200:5060;branch=z9hG4bK7e2fc320 Max-Forwards: 70 From: "0734123456" ;tag=as564a42f7 To: Contact: Call-ID: 44c8ddb3753c785a7c7735cb057ab050@10.41.12.200:5060 CSeq: 102 INVITE User-Agent: Asterisk PBX 1.8.10.0 Date: Sat, 17 Mar 2012 10:17:45 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 284 v=0 o=root 174130000 174130000 IN IP4 10.41.12.200 s=Asterisk PBX 1.8.10.0 c=IN IP4 10.41.12.200 t=0 0 m=audio 17312 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- -- Called SIP/SMT-SPA504G-990 <--- SIP read from UDP:10.1.62.240:5060 ---> SIP/2.0 100 Trying To: From: "0734123456" ;tag=as564a42f7 Call-ID: 44c8ddb3753c785a7c7735cb057ab050@10.41.12.200:5060 CSeq: 102 INVITE Via: SIP/2.0/UDP 10.41.12.200:5060;branch=z9hG4bK7e2fc320 Server: Cisco/SPA504G-7.4.8a Content-Length: 0 <-------------> --- (8 headers 0 lines) --- <--- SIP read from UDP:10.1.62.240:5060 ---> SIP/2.0 302 Moved Temporarily To: ;tag=869cda8b7b29ae45i0 From: "0734123456" ;tag=as564a42f7 Call-ID: 44c8ddb3753c785a7c7735cb057ab050@10.41.12.200:5060 CSeq: 102 INVITE Via: SIP/2.0/UDP 10.41.12.200:5060;branch=z9hG4bK7e2fc320 Contact: #============================================================================== #= !! 1 !! Diversion: "SMT-25102" ;reason=unconditional #= !! 1 !! #============================================================================== Server: Cisco/SPA504G-7.4.8a Content-Length: 0 <-------------> --- (10 headers 0 lines) --- -- Got SIP response 302 "Moved Temporarily" back from 10.1.62.240:5060 #============================================================================== #= !! 2 !! RDNIS for this call is SMT-SPA504G-990 (reason unconditional) #= !! 2 !! #============================================================================== Transmitting (no NAT) to 10.1.62.240:5060: ACK sip:SMT-SPA504G-990@10.1.62.240:5060 SIP/2.0 Via: SIP/2.0/UDP 10.41.12.200:5060;branch=z9hG4bK7e2fc320 Max-Forwards: 70 From: "0734123456" ;tag=as564a42f7 To: ;tag=869cda8b7b29ae45i0 Contact: Call-ID: 44c8ddb3753c785a7c7735cb057ab050@10.41.12.200:5060 CSeq: 102 ACK User-Agent: Asterisk PBX 1.8.10.0 Content-Length: 0 --- -- Now forwarding IAX2/citrus-1179 to 'Local/34899@smt-svet' (thanks to SIP/SMT-SPA504G-990-0000002c) [Mar 17 11:17:45] NOTICE[2137]: app_dial.c:883 do_forward: Not accepting call completion offers from call-forward recipient Local/34899@smt-svet-ff84;1 -- Executing [34899@smt-svet:1] Goto("Local/34899@smt-svet-ff84;2", "test-for-local,34899,1") in new stack -- Goto (test-for-local,34899,1) -- Executing [34899@test-for-local:1] Macro("Local/34899@smt-svet-ff84;2", "dialout-SIP,SYS-SPA-2") in new stack -- Executing [s@macro-dialout-SIP:1] Verbose("Local/34899@smt-svet-ff84;2", "SIP-s: From: 0734123456 To: 34899 Phone: SYS-SPA-2 Time: 2012/03/17-11:17") in new stack SIP-s: From: 0734123456 To: 34899 Phone: SYS-SPA-2 Time: 2012/03/17-11:17 #============================================================================== #= !! 3 !! -- Executing [s@macro-dialout-SIP:2] NoOp("Local/34899@smt-svet-ff84;2", "CALLERID(rdnis)=SMT-SPA504G-990") in new stack #= !! 3 !! #============================================================================== -- Executing [s@macro-dialout-SIP:3] Dial("Local/34899@smt-svet-ff84;2", "SIP/SYS-SPA-2,300,tM(start-of-call)") in new stack == Using SIP RTP CoS mark 5 Really destroying SIP dialog '44c8ddb3753c785a7c7735cb057ab050@10.41.12.200:5060' Method: INVITE -- Called SIP/SYS-SPA-2 -- SIP/SYS-SPA-2-0000002d is ringing -- Local/34899@smt-svet-ff84;1 is ringing