Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@newsip:/etc/asterisk# asterisk -r
- Asterisk 1.4.23.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
- Created by Mark Spencer <[email protected]>
- Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
- This is free software, with components licensed under the GNU General Public
- License version 2 and other licenses; you are welcome to redistribute it under
- certain conditions. Type 'core show license' for details.
- =========================================================================
- Connected to Asterisk 1.4.23.2 currently running on newsip (pid = 24372)
- Verbosity is at least 3
- -- Remote UNIX connection
- REGISTER 13 headers, 0 lines
- Reliably Transmitting (no NAT) to 64.192.112.13:5060:
- REGISTER sip:sip.gafachi.com SIP/2.0
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK0baadee8;rport
- From: <sip:[email protected]>;tag=as41812f25
- To: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 116 REGISTER
- User-Agent: Asterisk PBX
- Max-Forwards: 70
- Authorization: Digest username="a9465sDWkdqbrh2a", realm="sip.gafachi.com", algorithm=MD5, uri="sip:sip.gafachi.com", nonce="36157cc3be3e6789", response="af56d542af43e5c3da520b64df46b232"
- Expires: 120
- Contact: <sip:[email protected]>
- Event: registration
- Content-Length: 0
- ---
- newsip*CLI>
- <--- SIP read from 64.192.112.13:5060 --->
- SIP/2.0 100 Trying
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK0baadee8;received=67.110.177.220;rport=5060
- From: <sip:[email protected]>;tag=as41812f25
- To: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 116 REGISTER
- Server: Gafachi UAS v110.08
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
- Contact: <sip:[email protected]>
- Content-Length: 0
- <------------->
- --- (10 headers 0 lines) ---
- newsip*CLI>
- <--- SIP read from 64.192.112.13:5060 --->
- SIP/2.0 401 Unauthorized
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK0baadee8;received=67.110.177.220;rport=5060
- From: <sip:[email protected]>;tag=as41812f25
- To: <sip:[email protected]>;tag=gssc797afe0a44b190c1dd349cbf7ccdf56
- Call-ID: [email protected]
- CSeq: 116 REGISTER
- Server: Gafachi UAS v110.08
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
- Contact: <sip:[email protected]>
- WWW-Authenticate: Digest realm="sip.gafachi.com", nonce="190c1234a8cf34ae"
- Content-Length: 0
- <------------->
- --- (11 headers 0 lines) ---
- Responding to challenge, registration to domain/host name sip.gafachi.com
- REGISTER 13 headers, 0 lines
- Reliably Transmitting (no NAT) to 64.192.112.13:5060:
- REGISTER sip:sip.gafachi.com SIP/2.0
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK5be142cf;rport
- From: <sip:[email protected]>;tag=as557a57be
- To: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 117 REGISTER
- User-Agent: Asterisk PBX
- Max-Forwards: 70
- Authorization: Digest username="a9465sDWkdqbrh2a", realm="sip.gafachi.com", algorithm=MD5, uri="sip:sip.gafachi.com", nonce="190c1234a8cf34ae", response="677b7f60c0cfb5e5bc1991b4d371e17a"
- Expires: 120
- Contact: <sip:[email protected]>
- Event: registration
- Content-Length: 0
- ---
- newsip*CLI>
- <--- SIP read from 64.192.112.13:5060 --->
- SIP/2.0 100 Trying
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK5be142cf;received=67.110.177.220;rport=5060
- From: <sip:[email protected]>;tag=as557a57be
- To: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 117 REGISTER
- Server: Gafachi UAS v110.08
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
- Contact: <sip:[email protected]>
- Content-Length: 0
- <------------->
- --- (10 headers 0 lines) ---
- newsip*CLI>
- <--- SIP read from 64.192.112.13:5060 --->
- SIP/2.0 200 OK
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK5be142cf;received=67.110.177.220;rport=5060
- From: <sip:[email protected]>;tag=as557a57be
- To: <sip:[email protected]>;tag=gssc797afe0a44b190c1dd349cbf7ccdf56
- Call-ID: [email protected]
- CSeq: 117 REGISTER
- Server: Gafachi UAS v110.08
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
- Contact: <sip:[email protected]>
- Date: Fri, 03 Apr 2009 20:57:43 GMT
- Content-Length: 0
- <------------->
- --- (11 headers 0 lines) ---
- Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
- -- Executing [6108882763@from-internal:1] Macro("SIP/123-b750ac88", "user-callerid|SKIPTTL|") in new stack
- -- Executing [s@macro-user-callerid:1] Set("SIP/123-b750ac88", "AMPUSER=123") in new stack
- -- Executing [s@macro-user-callerid:2] GotoIf("SIP/123-b750ac88", "0?report") in new stack
- -- Executing [s@macro-user-callerid:3] ExecIf("SIP/123-b750ac88", "1|Set|REALCALLERIDNUM=123") in new stack
- -- Executing [s@macro-user-callerid:4] Set("SIP/123-b750ac88", "AMPUSER=123") in new stack
- -- Executing [s@macro-user-callerid:5] Set("SIP/123-b750ac88", "AMPUSERCIDNAME=andy aastra g722 test") in new stack
- -- Executing [s@macro-user-callerid:6] GotoIf("SIP/123-b750ac88", "0?report") in new stack
- -- Executing [s@macro-user-callerid:7] Set("SIP/123-b750ac88", "AMPUSERCID=123") in new stack
- -- Executing [s@macro-user-callerid:8] Set("SIP/123-b750ac88", "CALLERID(all)="andy aastra g722 test" <123>") in new stack
- -- Executing [s@macro-user-callerid:9] Set("SIP/123-b750ac88", "REALCALLERIDNUM=123") in new stack
- -- Executing [s@macro-user-callerid:10] ExecIf("SIP/123-b750ac88", "0|Set|CHANNEL(language)=") in new stack
- -- Executing [s@macro-user-callerid:11] GotoIf("SIP/123-b750ac88", "1?continue") in new stack
- -- Goto (macro-user-callerid,s,20)
- -- Executing [s@macro-user-callerid:20] NoOp("SIP/123-b750ac88", "Using CallerID "andy aastra g722 test" <123>") in new stack
- -- Executing [6108882763@from-internal:2] Set("SIP/123-b750ac88", "_NODEST=") in new stack
- -- Executing [6108882763@from-internal:3] Macro("SIP/123-b750ac88", "record-enable|123|OUT|") in new stack
- -- Executing [s@macro-record-enable:1] GotoIf("SIP/123-b750ac88", "1?check") in new stack
- -- Goto (macro-record-enable,s,4)
- -- Executing [s@macro-record-enable:4] AGI("SIP/123-b750ac88", "recordingcheck|20090403-165953|1238792393.4") in new stack
- -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
- recordingcheck|20090403-165953|1238792393.4: Outbound recording not enabled
- -- AGI Script recordingcheck completed, returning 0
- -- Executing [s@macro-record-enable:5] MacroExit("SIP/123-b750ac88", "") in new stack
- -- Executing [6108882763@from-internal:4] Macro("SIP/123-b750ac88", "dialout-trunk|3|6108882763||") in new stack
- -- Executing [s@macro-dialout-trunk:1] Set("SIP/123-b750ac88", "DIAL_TRUNK=3") in new stack
- -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/123-b750ac88", "0?sub-pincheck|s|1") in new stack
- -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/123-b750ac88", "0?disabletrunk|1") in new stack
- -- Executing [s@macro-dialout-trunk:4] Set("SIP/123-b750ac88", "DIAL_NUMBER=6108882763") in new stack
- -- Executing [s@macro-dialout-trunk:5] Set("SIP/123-b750ac88", "DIAL_TRUNK_OPTIONS=tr") in new stack
- -- Executing [s@macro-dialout-trunk:6] Set("SIP/123-b750ac88", "OUTBOUND_GROUP=OUT_3") in new stack
- -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/123-b750ac88", "1?nomax") in new stack
- -- Goto (macro-dialout-trunk,s,9)
- -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/123-b750ac88", "0?skipoutcid") in new stack
- -- Executing [s@macro-dialout-trunk:10] Set("SIP/123-b750ac88", "DIAL_TRUNK_OPTIONS=") in new stack
- -- Executing [s@macro-dialout-trunk:11] Macro("SIP/123-b750ac88", "outbound-callerid|3") in new stack
- -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/123-b750ac88", "0|SetCallerPres|") in new stack
- -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/123-b750ac88", "0|Set|REALCALLERIDNUM=123") in new stack
- -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/123-b750ac88", "1?normcid") in new stack
- -- Goto (macro-outbound-callerid,s,6)
- -- Executing [s@macro-outbound-callerid:6] Set("SIP/123-b750ac88", "USEROUTCID=4844219919") in new stack
- -- Executing [s@macro-outbound-callerid:7] Set("SIP/123-b750ac88", "EMERGENCYCID=") in new stack
- -- Executing [s@macro-outbound-callerid:8] Set("SIP/123-b750ac88", "TRUNKOUTCID=") in new stack
- -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/123-b750ac88", "1?trunkcid") in new stack
- -- Goto (macro-outbound-callerid,s,12)
- -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/123-b750ac88", "0|Set|CALLERID(all)=") in new stack
- -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/123-b750ac88", "0?exit") in new stack
- -- Executing [s@macro-outbound-callerid:14] Set("SIP/123-b750ac88", "CALLERID(all)=4844219919") in new stack
- -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/123-b750ac88", "0|SetCallerPres|prohib_passed_screen") in new stack
- -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/123-b750ac88", "1|AGI|fixlocalprefix") in new stack
- -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
- == fixlocalprefix: Dialpattern NXXXXXXXXX matched. 6108882763 -> 6108882763
- -- AGI Script fixlocalprefix completed, returning 0
- -- Executing [s@macro-dialout-trunk:13] Set("SIP/123-b750ac88", "OUTNUM=6108882763") in new stack
- -- Executing [s@macro-dialout-trunk:14] Set("SIP/123-b750ac88", "custom=SIP/gafachi") in new stack
- -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/123-b750ac88", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
- -- Executing [s@macro-dialout-trunk:16] Macro("SIP/123-b750ac88", "dialout-trunk-predial-hook|") in new stack
- -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/123-b750ac88", "") in new stack
- -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/123-b750ac88", "0?bypass|1") in new stack
- -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/123-b750ac88", "0?customtrunk") in new stack
- -- Executing [s@macro-dialout-trunk:19] Dial("SIP/123-b750ac88", "SIP/gafachi/6108882763|300|") in new stack
- Audio is at 67.110.177.220 port 16118
- Adding codec 0x4 (ulaw) to SDP
- Adding codec 0x8 (alaw) to SDP
- Adding codec 0x1000 (g722) to SDP
- Adding non-codec 0x1 (telephone-event) to SDP
- Reliably Transmitting (no NAT) to 64.192.112.13:5060:
- INVITE sip:[email protected] SIP/2.0
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK309b2ae7;rport
- From: "4844219919" <sip:[email protected]>;tag=as19a50e04
- To: <sip:[email protected]>
- Contact: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 102 INVITE
- User-Agent: Asterisk PBX
- Max-Forwards: 70
- Date: Fri, 03 Apr 2009 20:59:54 GMT
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
- Supported: replaces
- Content-Type: application/sdp
- Content-Length: 292
- v=0
- o=root 24372 24372 IN IP4 67.110.177.220
- s=session
- c=IN IP4 67.110.177.220
- t=0 0
- m=audio 16118 RTP/AVP 0 8 9 101
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=silenceSupp:off - - - -
- a=ptime:20
- a=sendrecv
- ---
- -- Called gafachi/6108882763
- newsip*CLI>
- <--- SIP read from 64.192.112.13:5060 --->
- SIP/2.0 407 Proxy Authentication Required
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK309b2ae7;received=67.110.177.220;rport=5060
- From: "4844219919" <sip:[email protected]>;tag=as19a50e04
- To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
- Call-ID: [email protected]
- CSeq: 102 INVITE
- Server: Gafachi UAS v110.08
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
- Contact: <sip:[email protected]>
- Proxy-Authenticate: Digest realm="sip.gafachi.com", nonce="d40227c398504aa4"
- Content-Length: 0
- <------------->
- --- (11 headers 0 lines) ---
- Transmitting (no NAT) to 64.192.112.13:5060:
- ACK sip:[email protected] SIP/2.0
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK309b2ae7;rport
- From: "4844219919" <sip:[email protected]>;tag=as19a50e04
- To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
- Contact: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 102 ACK
- User-Agent: Asterisk PBX
- Max-Forwards: 70
- Content-Length: 0
- ---
- Audio is at 67.110.177.220 port 16118
- Adding codec 0x4 (ulaw) to SDP
- Adding codec 0x8 (alaw) to SDP
- Adding codec 0x1000 (g722) to SDP
- Adding non-codec 0x1 (telephone-event) to SDP
- Reliably Transmitting (no NAT) to 64.192.112.13:5060:
- INVITE sip:[email protected] SIP/2.0
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK21c11287;rport
- From: "4844219919" <sip:[email protected]>;tag=as19a50e04
- To: <sip:[email protected]>
- Contact: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 103 INVITE
- User-Agent: Asterisk PBX
- Max-Forwards: 70
- Proxy-Authorization: Digest username="a9465sDWkdqbrh2a", realm="sip.gafachi.com", algorithm=MD5, uri="sip:[email protected]", nonce="d40227c398504aa4", response="ae695ba245efb6b5489f3bf382da662f"
- Date: Fri, 03 Apr 2009 20:59:54 GMT
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
- Supported: replaces
- Content-Type: application/sdp
- Content-Length: 292
- v=0
- o=root 24372 24373 IN IP4 67.110.177.220
- s=session
- c=IN IP4 67.110.177.220
- t=0 0
- m=audio 16118 RTP/AVP 0 8 9 101
- a=rtpmap:0 PCMU/8000
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=silenceSupp:off - - - -
- a=ptime:20
- a=sendrecv
- ---
- newsip*CLI>
- <--- SIP read from 64.192.112.13:5060 --->
- SIP/2.0 404 Not Found
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK21c11287;received=67.110.177.220;rport=5060
- From: "4844219919" <sip:[email protected]>;tag=as19a50e04
- To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
- Call-ID: [email protected]
- CSeq: 103 INVITE
- Server: Gafachi UAS v110.08
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
- Contact: <sip:[email protected]>
- Content-Length: 0
- <------------->
- --- (10 headers 0 lines) ---
- Transmitting (no NAT) to 64.192.112.13:5060:
- ACK sip:[email protected] SIP/2.0
- Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK21c11287;rport
- From: "4844219919" <sip:[email protected]>;tag=as19a50e04
- To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
- Contact: <sip:[email protected]>
- Call-ID: [email protected]
- CSeq: 103 ACK
- User-Agent: Asterisk PBX
- Max-Forwards: 70
- Content-Length: 0
- ---
- -- SIP/gafachi-b750ec10 is circuit-busy
- == Everyone is busy/congested at this time (1:0/1/0)
- -- Executing [s@macro-dialout-trunk:20] Goto("SIP/123-b750ac88", "s-CONGESTION|1") in new stack
- -- Goto (macro-dialout-trunk,s-CONGESTION,1)
- -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/123-b750ac88", "1?noreport") in new stack
- -- Goto (macro-dialout-trunk,s-CONGESTION,3)
- -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/123-b750ac88", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
- -- Executing [6108882763@from-internal:5] Macro("SIP/123-b750ac88", "outisbusy|") in new stack
- -- Executing [s@macro-outisbusy:1] Playback("SIP/123-b750ac88", "all-circuits-busy-now|noanswer") in new stack
- -- <SIP/123-b750ac88> Playing 'all-circuits-busy-now' (language 'en')
- Really destroying SIP dialog '[email protected]' Method: INVITE
- == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/123-b750ac88' in macro 'outisbusy'
- == Spawn extension (from-internal, 6108882763, 5) exited non-zero on 'SIP/123-b750ac88'
- -- Executing [h@from-internal:1] Macro("SIP/123-b750ac88", "hangupcall") in new stack
- -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/123-b750ac88", "w") in new stack
- -- Executing [s@macro-hangupcall:2] NoCDR("SIP/123-b750ac88", "") in new stack
- -- Executing [s@macro-hangupcall:3] GotoIf("SIP/123-b750ac88", "1?skiprg") in new stack
- -- Goto (macro-hangupcall,s,6)
- -- Executing [s@macro-hangupcall:6] GotoIf("SIP/123-b750ac88", "1?skipblkvm") in new stack
- -- Goto (macro-hangupcall,s,9)
- -- Executing [s@macro-hangupcall:9] GotoIf("SIP/123-b750ac88", "1?theend") in new stack
- -- Goto (macro-hangupcall,s,11)
- -- Executing [s@macro-hangupcall:11] Hangup("SIP/123-b750ac88", "") in new stack
- == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/123-b750ac88' in macro 'hangupcall'
- == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/123-b750ac88'
- newsip*CLI> exit
Add Comment
Please, Sign In to add comment