CID Issue

From Ankit Thakkar, 1 Year ago, written in Plain Text, viewed 89 times.
URL https://pastebin.freepbx.org/view/cdce244f Embed
Download Paste or View Raw
  1. 192.168.50.72 is server with user extensions trunk with 192.168.50.82 server which is working as Gateway server trunk with Vendors.
  2.  
  3. sip debug of 50.72
  4. _____________________
  5.  
  6. <------------>
  7.     -- Executing [9492712668@from-internal:1] Macro("SIP/1001-00000002", "user-callerid,LIMIT,EXTERNAL,") in new stack
  8.     -- Executing [s@macro-user-callerid:1] Set("SIP/1001-00000002", "TOUCH_MONITOR=1478239006.4") in new stack
  9.     -- Executing [s@macro-user-callerid:2] Set("SIP/1001-00000002", "AMPUSER=1001") in new stack
  10.     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1001-00000002", "0?report") in new stack
  11.     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1001-00000002", "1?Set(REALCALLERIDNUM=1001)") in new stack
  12.     -- Executing [s@macro-user-callerid:5] Set("SIP/1001-00000002", "AMPUSER=1001") in new stack
  13.     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1001-00000002", "0?limit") in new stack
  14.     -- Executing [s@macro-user-callerid:7] Set("SIP/1001-00000002", "AMPUSERCIDNAME=Ankit Thakkar") in new stack
  15.     -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1001-00000002", "0?report") in new stack
  16.     -- Executing [s@macro-user-callerid:9] Set("SIP/1001-00000002", "AMPUSERCID=1001") in new stack
  17.     -- Executing [s@macro-user-callerid:10] Set("SIP/1001-00000002", "__DIAL_OPTIONS=Ttr") in new stack
  18.     -- Executing [s@macro-user-callerid:11] Set("SIP/1001-00000002", "CALLERID(all)="Ankit Thakkar" <1001>") in new stack
  19.     -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1001-00000002", "0?limit") in new stack
  20.     -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1001-00000002", "1?Set(GROUP(concurrency_limit)=1001)") in new stack
  21.     -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1001-00000002", "7?sub-ccss,s,1(from-internal,9492712668)") in new stack
  22.     -- Executing [s@sub-ccss:1] ExecIf("SIP/1001-00000002", "0?Return()") in new stack
  23.     -- Executing [s@sub-ccss:2] Set("SIP/1001-00000002", "CCSS_SETUP=TRUE") in new stack
  24.     -- Executing [s@sub-ccss:3] GosubIf("SIP/1001-00000002", "0?monitor_config,1(from-internal,9492712668):monitor_default,1(from-internal,9492712668)") in new stack
  25.     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1001-00000002", "0?is_exten") in new stack
  26.     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1001-00000002", "") in new stack
  27.     -- Executing [monitor_default@sub-ccss:3] Return("SIP/1001-00000002", "FALSE") in new stack
  28.     -- Executing [s@macro-user-callerid:15] GotoIf("SIP/1001-00000002", "1?continue") in new stack
  29.     -- Goto (macro-user-callerid,s,29)
  30.     -- Executing [s@macro-user-callerid:29] Set("SIP/1001-00000002", "CALLERID(number)=1001") in new stack
  31.     -- Executing [s@macro-user-callerid:30] Set("SIP/1001-00000002", "CALLERID(name)=Ankit Thakkar") in new stack
  32.     -- Executing [s@macro-user-callerid:31] Set("SIP/1001-00000002", "CDR(cnum)=1001") in new stack
  33.     -- Executing [s@macro-user-callerid:32] Set("SIP/1001-00000002", "CDR(cnam)=Ankit Thakkar") in new stack
  34.     -- Executing [s@macro-user-callerid:33] Set("SIP/1001-00000002", "CHANNEL(language)=en") in new stack
  35.     -- Executing [9492712668@from-internal:2] ExecIf("SIP/1001-00000002", "0 ?Set(CDR(accountcode)=)") in new stack
  36.     -- Executing [9492712668@from-internal:3] Set("SIP/1001-00000002", "ROUTE_CIDSAVE="Ankit Thakkar" <1001>") in new stack
  37.     -- Executing [9492712668@from-internal:4] Set("SIP/1001-00000002", "MOHCLASS=default") in new stack
  38.     -- Executing [9492712668@from-internal:5] Set("SIP/1001-00000002", "_NODEST=") in new stack
  39.     -- Executing [9492712668@from-internal:6] Gosub("SIP/1001-00000002", "sub-record-check,s,1(out,9492712668,)") in new stack
  40.     -- Executing [s@sub-record-check:1] Set("SIP/1001-00000002", "REC_POLICY_MODE_SAVE=") in new stack
  41.     -- Executing [s@sub-record-check:2] GotoIf("SIP/1001-00000002", "1?check") in new stack
  42.     -- Goto (sub-record-check,s,7)
  43.     -- Executing [s@sub-record-check:7] Set("SIP/1001-00000002", "__MON_FMT=gsm") in new stack
  44.     -- Executing [s@sub-record-check:8] GotoIf("SIP/1001-00000002", "1?next") in new stack
  45.     -- Goto (sub-record-check,s,11)
  46.     -- Executing [s@sub-record-check:11] ExecIf("SIP/1001-00000002", "0?Return()") in new stack
  47.     -- Executing [s@sub-record-check:12] ExecIf("SIP/1001-00000002", "0?Set(__REC_POLICY_MODE=)") in new stack
  48.     -- Executing [s@sub-record-check:13] GotoIf("SIP/1001-00000002", "0?out,1") in new stack
  49.     -- Executing [s@sub-record-check:14] Set("SIP/1001-00000002", "__REC_STATUS=INITIALIZED") in new stack
  50.     -- Executing [s@sub-record-check:15] Set("SIP/1001-00000002", "NOW=1478239006") in new stack
  51.     -- Executing [s@sub-record-check:16] Set("SIP/1001-00000002", "__DAY=03") in new stack
  52.     -- Executing [s@sub-record-check:17] Set("SIP/1001-00000002", "__MONTH=11") in new stack
  53.     -- Executing [s@sub-record-check:18] Set("SIP/1001-00000002", "__YEAR=2016") in new stack
  54.     -- Executing [s@sub-record-check:19] Set("SIP/1001-00000002", "__TIMESTR=20161103-225646") in new stack
  55.     -- Executing [s@sub-record-check:20] Set("SIP/1001-00000002", "__FROMEXTEN=1001") in new stack
  56.     -- Executing [s@sub-record-check:21] Set("SIP/1001-00000002", "__CALLFILENAME=out-9492712668-1001-20161103-225646-1478239006.4") in new stack
  57.     -- Executing [s@sub-record-check:22] Goto("SIP/1001-00000002", "out,1") in new stack
  58.     -- Goto (sub-record-check,out,1)
  59.     -- Executing [out@sub-record-check:1] ExecIf("SIP/1001-00000002", "1?Set(__REC_POLICY_MODE=always)") in new stack
  60.     -- Executing [out@sub-record-check:2] GosubIf("SIP/1001-00000002", "1?record,1(exten,9492712668,1001)") in new stack
  61.     -- Executing [record@sub-record-check:1] Set("SIP/1001-00000002", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
  62.     -- Executing [record@sub-record-check:2] MixMonitor("SIP/1001-00000002", "2016/11/03/out-9492712668-1001-20161103-225646-1478239006.4.gsm,,") in new stack
  63.     -- Executing [record@sub-record-check:3] Set("SIP/1001-00000002", "__REC_STATUS=RECORDING") in new stack
  64.     -- Executing [record@sub-record-check:4] Set("SIP/1001-00000002", "CDR(recordingfile)=out-9492712668-1001-20161103-225646-1478239006.4.gsm") in new stack
  65.     -- Executing [record@sub-record-check:5] Return("SIP/1001-00000002", "") in new stack
  66.     -- Executing [out@sub-record-check:3] Return("SIP/1001-00000002", "") in new stack
  67.   == Begin MixMonitor Recording SIP/1001-00000002
  68.     -- Executing [9492712668@from-internal:7] Macro("SIP/1001-00000002", "dialout-trunk,2,3019492712668,,off") in new stack
  69.     -- Executing [s@macro-dialout-trunk:1] Set("SIP/1001-00000002", "DIAL_TRUNK=2") in new stack
  70.     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1001-00000002", "0?sub-pincheck,s,1()") in new stack
  71.     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1001-00000002", "0?disabletrunk,1") in new stack
  72.     -- Executing [s@macro-dialout-trunk:4] Set("SIP/1001-00000002", "DIAL_NUMBER=3019492712668") in new stack
  73.     -- Executing [s@macro-dialout-trunk:5] Set("SIP/1001-00000002", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  74.     -- Executing [s@macro-dialout-trunk:6] Set("SIP/1001-00000002", "OUTBOUND_GROUP=OUT_2") in new stack
  75.     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1001-00000002", "1?nomax") in new stack
  76.     -- Goto (macro-dialout-trunk,s,9)
  77.     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1001-00000002", "0?skipoutcid") in new stack
  78.     -- Executing [s@macro-dialout-trunk:10] Set("SIP/1001-00000002", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  79.     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1001-00000002", "outbound-callerid,2") in new stack
  80.     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1001-00000002", "0?Set(CALLERPRES()=)") in new stack
  81.     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1001-00000002", "0?Set(REALCALLERIDNUM=1001)") in new stack
  82.     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1001-00000002", "1?normcid") in new stack
  83.     -- Goto (macro-outbound-callerid,s,6)
  84.     -- Executing [s@macro-outbound-callerid:6] Set("SIP/1001-00000002", "USEROUTCID=8002257608") in new stack
  85.     -- Executing [s@macro-outbound-callerid:7] Set("SIP/1001-00000002", "EMERGENCYCID=18884236633") in new stack
  86.     -- Executing [s@macro-outbound-callerid:8] Set("SIP/1001-00000002", "TRUNKOUTCID=") in new stack
  87.     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1001-00000002", "1?trunkcid") in new stack
  88.     -- Goto (macro-outbound-callerid,s,14)
  89.     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1001-00000002", "0?Set(CALLERID(all)=)") in new stack
  90.     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1001-00000002", "1?Set(CALLERID(all)=8002257608)") in new stack
  91.     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1001-00000002", "0?Set(CALLERID(all)=)") in new stack
  92.     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1001-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  93.     -- Executing [s@macro-outbound-callerid:18] Set("SIP/1001-00000002", "CDR(outbound_cnum)=8002257608") in new stack
  94.     -- Executing [s@macro-outbound-callerid:19] Set("SIP/1001-00000002", "CDR(outbound_cnam)=") in new stack
  95.     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1001-00000002", "0?sub-flp-2,s,1()") in new stack
  96.     -- Executing [s@macro-dialout-trunk:13] Set("SIP/1001-00000002", "OUTNUM=3019492712668") in new stack
  97.     -- Executing [s@macro-dialout-trunk:14] Set("SIP/1001-00000002", "custom=AMP") in new stack
  98.     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1001-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  99.     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1001-00000002", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  100.     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1001-00000002", "dialout-trunk-predial-hook,") in new stack
  101.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1001-00000002", "") in new stack
  102.     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1001-00000002", "0?bypass,1") in new stack
  103.     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1001-00000002", "1?Set(CONNECTEDLINE(num,i)=3019492712668)") in new stack
  104.     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1001-00000002", "1?Set(CONNECTEDLINE(name,i)=CID:8002257608)") in new stack
  105.     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1001-00000002", "1?customtrunk") in new stack
  106.     -- Goto (macro-dialout-trunk,s,25)
  107.     -- Executing [s@macro-dialout-trunk:25] Set("SIP/1001-00000002", "pre_num=AMP:Local/") in new stack
  108.     -- Executing [s@macro-dialout-trunk:26] Set("SIP/1001-00000002", "the_num=OUTNUM") in new stack
  109.     -- Executing [s@macro-dialout-trunk:27] Set("SIP/1001-00000002", "post_num=\@queuedial/n") in new stack
  110.     -- Executing [s@macro-dialout-trunk:28] GotoIf("SIP/1001-00000002", "1?outnum:skipoutnum") in new stack
  111.     -- Goto (macro-dialout-trunk,s,29)
  112.     -- Executing [s@macro-dialout-trunk:29] Set("SIP/1001-00000002", "the_num=3019492712668") in new stack
  113.     -- Executing [s@macro-dialout-trunk:30] Dial("SIP/1001-00000002", "Local/3019492712668\@queuedial/n,300,Tt") in new stack
  114.     -- Called Local/3019492712668@queuedial/n
  115.     -- Executing [3019492712668@queuedial:1] Set("Local/3019492712668@queuedial-00000001;2", "QDIALER_QUEUE=301") in new stack
  116.     -- Executing [3019492712668@queuedial:2] Set("Local/3019492712668@queuedial-00000001;2", "QDIALER_NUMBER=9492712668") in new stack
  117.     -- Executing [3019492712668@queuedial:3] Set("Local/3019492712668@queuedial-00000001;2", "QDIALER_AGENT=Agent/8002257608") in new stack
  118.     -- Executing [3019492712668@queuedial:4] Set("Local/3019492712668@queuedial-00000001;2", "QDIALER_CHANNEL=SIP/PBX1-GW/9492712668") in new stack
  119.     -- Executing [3019492712668@queuedial:5] Set("Local/3019492712668@queuedial-00000001;2", "QueueName=301") in new stack
  120.     -- Executing [3019492712668@queuedial:6] MixMonitor("Local/3019492712668@queuedial-00000001;2", "Q-301-1478239006.6.gsm,b,") in new stack
  121.     -- Executing [3019492712668@queuedial:7] Goto("Local/3019492712668@queuedial-00000001;2", "qm-queuedial,s,1") in new stack
  122.     -- Goto (qm-queuedial,s,1)
  123.     -- Executing [s@qm-queuedial:1] NoOp("Local/3019492712668@queuedial-00000001;2", " "Outbound call - A:Agent/8002257608 N:9492712668 Q:301 Ch:SIP/PBX1-GW/9492712668" ") in new stack
  124.     -- Executing [s@qm-queuedial:2] Set("Local/3019492712668@queuedial-00000001;2", "CDR(accountcode)=QDIALAGI") in new stack
  125.   == Begin MixMonitor Recording Local/3019492712668@queuedial-00000001;2
  126.     -- Executing [s@qm-queuedial:3] Set("Local/3019492712668@queuedial-00000001;2", "ST=1478239006") in new stack
  127.     -- Executing [s@qm-queuedial:4] Set("Local/3019492712668@queuedial-00000001;2", "GM=QDV-Agent/8002257608") in new stack
  128.     -- Executing [s@qm-queuedial:5] Set("Local/3019492712668@queuedial-00000001;2", "GLOBAL(QDV-Agent/8002257608)=U") in new stack
  129.   == Setting global variable 'QDV-Agent/8002257608' to 'U'
  130.     -- Executing [s@qm-queuedial:6] Set("Local/3019492712668@queuedial-00000001;2", "GLOBAL(QDV-Agent/8002257608ans)=0") in new stack
  131.   == Setting global variable 'QDV-Agent/8002257608ans' to '0'
  132.     -- Executing [s@qm-queuedial:7] Macro("Local/3019492712668@queuedial-00000001;2", "queuelog,1478239006,1478239006.6,301,Agent/8002257608,CALLOUTBOUND,,9492712668") in new stack
  133.     -- Executing [s@macro-queuelog:1] QueueLog("Local/3019492712668@queuedial-00000001;2", "301,1478239006.6,Agent/8002257608,CALLOUTBOUND,|9492712668|") in new stack
  134.     -- Executing [s@qm-queuedial:8] Dial("Local/3019492712668@queuedial-00000001;2", "SIP/PBX1-GW/9492712668,300,gM(queuedial-answer^1478239006.6^QDV-Agent/8002257608^301^Agent/8002257608^1478239006)") in new stack
  135.   == Using SIP RTP TOS bits 184
  136.   == Using SIP RTP CoS mark 5
  137.  
  138.  
  139.  
  140. <------------>
  141.     -- Executing [h@macro-dialout-trunk:1] Macro("SIP/1001-00000002", "hangupcall,") in new stack
  142.     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1001-00000002", "1?theend") in new stack
  143.     -- Goto (macro-hangupcall,s,3)
  144.     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/1001-00000002", "0?Set(CDR(recordingfile)=)") in new stack
  145.     -- Executing [s@macro-hangupcall:4] Hangup("SIP/1001-00000002", "") in new stack
  146.   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1001-00000002' in macro 'hangupcall'
  147.   == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/1001-00000002'
  148.   == Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'SIP/1001-00000002' in macro 'dialout-trunk'
  149.   == Spawn extension (from-internal, 9492712668, 7) exited non-zero on 'SIP/1001-00000002'
  150.   == MixMonitor close filestream
  151.   == End MixMonitor Recording SIP/1001-00000002
  152. Scheduling destruction of SIP dialog '628704ae6a90fc4a55eafd5610af934b@192.168.50.72:5060' in 6400 ms (Method: INVITE)
  153. set_destination: Parsing <sip:9492712668@192.168.50.82:5060> for address/port to send to
  154. set_destination: set destination to 192.168.50.82:5060
  155. Reliably Transmitting (NAT) to 192.168.50.82:5060:
  156. BYE sip:9492712668@192.168.50.82:5060 SIP/2.0
  157. Via: SIP/2.0/UDP 192.168.50.72:5060;branch=z9hG4bK26668725;rport
  158. Max-Forwards: 70
  159. From: "8002257608" <sip:4000@192.168.50.72>;tag=as7704c219
  160. To: <sip:9492712668@192.168.50.82>;tag=as67d892bd
  161. Call-ID: 628704ae6a90fc4a55eafd5610af934b@192.168.50.72:5060
  162. CSeq: 104 BYE
  163. User-Agent: FPBX-2.11.0(1.8.28.2)
  164. Authorization: Digest username="4000", realm="asterisk", algorithm=MD5, uri="sip:9492712668@192.168.50.82:5060", nonce="4e01234e", response="16d44290a20cbd1c8ac3c0ad491b7a6d"
  165. X-Asterisk-HangupCause: Normal Clearing
  166. X-Asterisk-HangupCauseCode: 16
  167. Content-Length: 0
  168.  
  169.  
  170. ---
  171.   == Spawn extension (qm-queuedial, s, 8) exited non-zero on 'Local/3019492712668@queuedial-00000001;2'
  172.     -- Executing [h@qm-queuedial:1] NoOp("Local/3019492712668@queuedial-00000001;2", " "Call exiting: status A answered at: 1478239007 DS: ANSWER"  ") in new stack
  173.     -- Executing [h@qm-queuedial:2] Goto("Local/3019492712668@queuedial-00000001;2", "case-A") in new stack
  174.     -- Goto (qm-queuedial,h,7)
  175.     -- Executing [h@qm-queuedial:7] Set("Local/3019492712668@queuedial-00000001;2", "COMPLETE=COMPLETEAGENT") in new stack
  176.     -- Executing [h@qm-queuedial:8] Set("Local/3019492712668@queuedial-00000001;2", "WT=1") in new stack
  177.     -- Executing [h@qm-queuedial:9] Set("Local/3019492712668@queuedial-00000001;2", "CT=5") in new stack
  178.     -- Executing [h@qm-queuedial:10] Macro("Local/3019492712668@queuedial-00000001;2", "queuelog,1478239012,1478239006.6,301,Agent/8002257608,COMPLETEAGENT,1,5") in new stack
  179.     -- Executing [s@macro-queuelog:1] QueueLog("Local/3019492712668@queuedial-00000001;2", "301,1478239006.6,Agent/8002257608,COMPLETEAGENT,1|5|") in new stack
  180.     -- Executing [h@qm-queuedial:11] Hangup("Local/3019492712668@queuedial-00000001;2", "") in new stack
  181.   == Spawn extension (qm-queuedial, h, 11) exited non-zero on 'Local/3019492712668@queuedial-00000001;2'
  182.  
  183. <--- SIP read from UDP:192.168.50.82:5060 --->
  184. SIP/2.0 200 OK
  185. Via: SIP/2.0/UDP 192.168.50.72:5060;branch=z9hG4bK26668725;received=192.168.50.72;rport=5060
  186. From: "8002257608" <sip:4000@192.168.50.72>;tag=as7704c219
  187. To: <sip:9492712668@192.168.50.82>;tag=as67d892bd
  188. Call-ID: 628704ae6a90fc4a55eafd5610af934b@192.168.50.72:5060
  189. CSeq: 104 BYE
  190. Server: FPBX-2.11.0(1.8.28.2)
  191. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  192. Supported: replaces, timer
  193. Content-Length: 0
  194.  
  195. ______________________________________
  196.  
  197. Sip debug of 50.82
  198. ______________________________
  199.  
  200.  
  201. <--- Transmitting (NAT) to 192.168.50.72:5060 --->
  202. SIP/2.0 100 Trying
  203. Via: SIP/2.0/UDP 192.168.50.72:5060;branch=z9hG4bK6d8c0002;received=192.168.50.72;rport=5060
  204. From: "8002257608" <sip:4000@192.168.50.72>;tag=as7704c219
  205. To: <sip:9492712668@192.168.50.82>
  206. Call-ID: 628704ae6a90fc4a55eafd5610af934b@192.168.50.72:5060
  207. CSeq: 103 INVITE
  208. Server: FPBX-2.11.0(1.8.28.2)
  209. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  210. Supported: replaces, timer
  211. Session-Expires: 1800;refresher=uas
  212. Contact: <sip:9492712668@192.168.50.82:5060>
  213. Content-Length: 0
  214.  
  215.  
  216. <------------>
  217.     -- Executing [9492712668@from-internal:1] Macro("SIP/4000-00000002", "user-callerid,LIMIT,EXTERNAL,") in new stack
  218.     -- Executing [s@macro-user-callerid:1] Set("SIP/4000-00000002", "TOUCH_MONITOR=1478239006.2") in new stack
  219.     -- Executing [s@macro-user-callerid:2] Set("SIP/4000-00000002", "AMPUSER=4000") in new stack
  220.     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/4000-00000002", "0?report") in new stack
  221.     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/4000-00000002", "1?Set(REALCALLERIDNUM=4000)") in new stack
  222.     -- Executing [s@macro-user-callerid:5] Set("SIP/4000-00000002", "AMPUSER=4000") in new stack
  223.     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/4000-00000002", "0?limit") in new stack
  224.     -- Executing [s@macro-user-callerid:7] Set("SIP/4000-00000002", "AMPUSERCIDNAME=Trunk") in new stack
  225.     -- Executing [s@macro-user-callerid:8] GotoIf("SIP/4000-00000002", "0?report") in new stack
  226.     -- Executing [s@macro-user-callerid:9] Set("SIP/4000-00000002", "AMPUSERCID=4000") in new stack
  227.     -- Executing [s@macro-user-callerid:10] Set("SIP/4000-00000002", "__DIAL_OPTIONS=Ttr") in new stack
  228.     -- Executing [s@macro-user-callerid:11] Set("SIP/4000-00000002", "CALLERID(all)="Trunk" <4000>") in new stack
  229.     -- Executing [s@macro-user-callerid:12] GotoIf("SIP/4000-00000002", "0?limit") in new stack
  230.     -- Executing [s@macro-user-callerid:13] ExecIf("SIP/4000-00000002", "1?Set(GROUP(concurrency_limit)=4000)") in new stack
  231.     -- Executing [s@macro-user-callerid:14] GosubIf("SIP/4000-00000002", "7?sub-ccss,s,1(from-internal,9492712668)") in new stack
  232.     -- Executing [s@sub-ccss:1] ExecIf("SIP/4000-00000002", "0?Return()") in new stack
  233.     -- Executing [s@sub-ccss:2] Set("SIP/4000-00000002", "CCSS_SETUP=TRUE") in new stack
  234.     -- Executing [s@sub-ccss:3] GosubIf("SIP/4000-00000002", "0?monitor_config,1(from-internal,9492712668):monitor_default,1(from-internal,9492712668)") in new stack
  235.     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/4000-00000002", "0?is_exten") in new stack
  236.     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/4000-00000002", "") in new stack
  237.     -- Executing [monitor_default@sub-ccss:3] Return("SIP/4000-00000002", "FALSE") in new stack
  238.     -- Executing [s@macro-user-callerid:15] GotoIf("SIP/4000-00000002", "1?continue") in new stack
  239.     -- Goto (macro-user-callerid,s,29)
  240.     -- Executing [s@macro-user-callerid:29] Set("SIP/4000-00000002", "CALLERID(number)=4000") in new stack
  241.     -- Executing [s@macro-user-callerid:30] Set("SIP/4000-00000002", "CALLERID(name)=Trunk") in new stack
  242.     -- Executing [s@macro-user-callerid:31] Set("SIP/4000-00000002", "CDR(cnum)=4000") in new stack
  243.     -- Executing [s@macro-user-callerid:32] Set("SIP/4000-00000002", "CDR(cnam)=Trunk") in new stack
  244.     -- Executing [s@macro-user-callerid:33] Set("SIP/4000-00000002", "CHANNEL(language)=en") in new stack
  245.     -- Executing [9492712668@from-internal:2] ExecIf("SIP/4000-00000002", "0 ?Set(CDR(accountcode)=)") in new stack
  246.     -- Executing [9492712668@from-internal:3] Set("SIP/4000-00000002", "ROUTE_CIDSAVE="Trunk" <4000>") in new stack
  247.     -- Executing [9492712668@from-internal:4] Set("SIP/4000-00000002", "MOHCLASS=default") in new stack
  248.     -- Executing [9492712668@from-internal:5] Set("SIP/4000-00000002", "_NODEST=") in new stack
  249.     -- Executing [9492712668@from-internal:6] Gosub("SIP/4000-00000002", "sub-record-check,s,1(out,9492712668,)") in new stack
  250.     -- Executing [s@sub-record-check:1] Set("SIP/4000-00000002", "REC_POLICY_MODE_SAVE=") in new stack
  251.     -- Executing [s@sub-record-check:2] GotoIf("SIP/4000-00000002", "1?check") in new stack
  252.     -- Goto (sub-record-check,s,7)
  253.     -- Executing [s@sub-record-check:7] Set("SIP/4000-00000002", "__MON_FMT=gsm") in new stack
  254.     -- Executing [s@sub-record-check:8] GotoIf("SIP/4000-00000002", "1?next") in new stack
  255.     -- Goto (sub-record-check,s,11)
  256.     -- Executing [s@sub-record-check:11] ExecIf("SIP/4000-00000002", "0?Return()") in new stack
  257.     -- Executing [s@sub-record-check:12] ExecIf("SIP/4000-00000002", "0?Set(__REC_POLICY_MODE=)") in new stack
  258.     -- Executing [s@sub-record-check:13] GotoIf("SIP/4000-00000002", "0?out,1") in new stack
  259.     -- Executing [s@sub-record-check:14] Set("SIP/4000-00000002", "__REC_STATUS=INITIALIZED") in new stack
  260.     -- Executing [s@sub-record-check:15] Set("SIP/4000-00000002", "NOW=1478239006") in new stack
  261.     -- Executing [s@sub-record-check:16] Set("SIP/4000-00000002", "__DAY=03") in new stack
  262.     -- Executing [s@sub-record-check:17] Set("SIP/4000-00000002", "__MONTH=11") in new stack
  263.     -- Executing [s@sub-record-check:18] Set("SIP/4000-00000002", "__YEAR=2016") in new stack
  264.     -- Executing [s@sub-record-check:19] Set("SIP/4000-00000002", "__TIMESTR=20161103-225646") in new stack
  265.     -- Executing [s@sub-record-check:20] Set("SIP/4000-00000002", "__FROMEXTEN=4000") in new stack
  266.     -- Executing [s@sub-record-check:21] Set("SIP/4000-00000002", "__CALLFILENAME=out-9492712668-4000-20161103-225646-1478239006.2") in new stack
  267.     -- Executing [s@sub-record-check:22] Goto("SIP/4000-00000002", "out,1") in new stack
  268.     -- Goto (sub-record-check,out,1)
  269.     -- Executing [out@sub-record-check:1] ExecIf("SIP/4000-00000002", "1?Set(__REC_POLICY_MODE=always)") in new stack
  270.     -- Executing [out@sub-record-check:2] GosubIf("SIP/4000-00000002", "1?record,1(exten,9492712668,4000)") in new stack
  271.     -- Executing [record@sub-record-check:1] Set("SIP/4000-00000002", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
  272.     -- Executing [record@sub-record-check:2] MixMonitor("SIP/4000-00000002", "2016/11/03/out-9492712668-4000-20161103-225646-1478239006.2.gsm,,") in new stack
  273.     -- Executing [record@sub-record-check:3] Set("SIP/4000-00000002", "__REC_STATUS=RECORDING") in new stack
  274.   == Begin MixMonitor Recording SIP/4000-00000002
  275.     -- Executing [record@sub-record-check:4] Set("SIP/4000-00000002", "CDR(recordingfile)=out-9492712668-4000-20161103-225646-1478239006.2.gsm") in new stack
  276.     -- Executing [record@sub-record-check:5] Return("SIP/4000-00000002", "") in new stack
  277.     -- Executing [out@sub-record-check:3] Return("SIP/4000-00000002", "") in new stack
  278.     -- Executing [9492712668@from-internal:7] Macro("SIP/4000-00000002", "dialout-trunk,25,19492712668,,on") in new stack
  279.     -- Executing [s@macro-dialout-trunk:1] Set("SIP/4000-00000002", "DIAL_TRUNK=25") in new stack
  280.     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/4000-00000002", "0?sub-pincheck,s,1()") in new stack
  281.     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/4000-00000002", "0?disabletrunk,1") in new stack
  282.     -- Executing [s@macro-dialout-trunk:4] Set("SIP/4000-00000002", "DIAL_NUMBER=19492712668") in new stack
  283.     -- Executing [s@macro-dialout-trunk:5] Set("SIP/4000-00000002", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  284.     -- Executing [s@macro-dialout-trunk:6] Set("SIP/4000-00000002", "OUTBOUND_GROUP=OUT_25") in new stack
  285.     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/4000-00000002", "1?nomax") in new stack
  286.     -- Goto (macro-dialout-trunk,s,9)
  287.     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/4000-00000002", "0?skipoutcid") in new stack
  288.     -- Executing [s@macro-dialout-trunk:10] Set("SIP/4000-00000002", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  289.     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/4000-00000002", "outbound-callerid,25") in new stack
  290.     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/4000-00000002", "0?Set(CALLERPRES()=)") in new stack
  291.     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/4000-00000002", "0?Set(REALCALLERIDNUM=4000)") in new stack
  292.     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/4000-00000002", "1?normcid") in new stack
  293.     -- Goto (macro-outbound-callerid,s,6)
  294.     -- Executing [s@macro-outbound-callerid:6] Set("SIP/4000-00000002", "USEROUTCID=") in new stack
  295.     -- Executing [s@macro-outbound-callerid:7] Set("SIP/4000-00000002", "EMERGENCYCID=") in new stack
  296.     -- Executing [s@macro-outbound-callerid:8] Set("SIP/4000-00000002", "TRUNKOUTCID=") in new stack
  297.     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/4000-00000002", "1?trunkcid") in new stack
  298.     -- Goto (macro-outbound-callerid,s,14)
  299.     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/4000-00000002", "0?Set(CALLERID(all)=)") in new stack
  300.     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/4000-00000002", "0?Set(CALLERID(all)=)") in new stack
  301.     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/4000-00000002", "0?Set(CALLERID(all)=)") in new stack
  302.     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/4000-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  303.     -- Executing [s@macro-outbound-callerid:18] Set("SIP/4000-00000002", "CDR(outbound_cnum)=4000") in new stack
  304.     -- Executing [s@macro-outbound-callerid:19] Set("SIP/4000-00000002", "CDR(outbound_cnam)=Trunk") in new stack
  305.     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/4000-00000002", "0?sub-flp-25,s,1()") in new stack
  306.     -- Executing [s@macro-dialout-trunk:13] Set("SIP/4000-00000002", "OUTNUM=19492712668") in new stack
  307.     -- Executing [s@macro-dialout-trunk:14] Set("SIP/4000-00000002", "custom=SIP/VoipInnvations1") in new stack
  308.     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/4000-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  309.     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/4000-00000002", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  310.     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/4000-00000002", "dialout-trunk-predial-hook,") in new stack
  311.     -- Executing [s@macro-dialout-trunk-predial-hook:1] NoOp("SIP/4000-00000002", "Test Track Outbound") in new stack
  312.     -- Executing [s@macro-dialout-trunk-predial-hook:2] NoOp("SIP/4000-00000002", "Trunk is SIP/VoipInnvations1") in new stack
  313.     -- Executing [s@macro-dialout-trunk-predial-hook:3] NoOp("SIP/4000-00000002", "Dialout number is 19492712668") in new stack
  314.     -- Executing [s@macro-dialout-trunk-predial-hook:4] NoOp("SIP/4000-00000002", "Dial options are Tt") in new stack
  315.     -- Executing [s@macro-dialout-trunk-predial-hook:5] Set("SIP/4000-00000002", "QDIALER_AGENT=Trunk") in new stack
  316.     -- Executing [s@macro-dialout-trunk-predial-hook:6] GotoIf("SIP/4000-00000002", "1?nextcheck") in new stack
  317.     -- Goto (macro-dialout-trunk-predial-hook,s,9)
  318.     -- Executing [s@macro-dialout-trunk-predial-hook:9] GotoIf("SIP/4000-00000002", "0?bypass") in new stack
  319.     -- Executing [s@macro-dialout-trunk-predial-hook:10] NoOp("SIP/4000-00000002", "NO ACCOUNTCODE, exit normally with no tracking outbound") in new stack
  320.     -- Executing [s@macro-dialout-trunk-predial-hook:11] MacroExit("SIP/4000-00000002", "") in new stack
  321.     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/4000-00000002", "0?bypass,1") in new stack
  322.     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/4000-00000002", "1?Set(CONNECTEDLINE(num,i)=19492712668)") in new stack
  323.     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/4000-00000002", "1?Set(CONNECTEDLINE(name,i)=CID:4000)") in new stack
  324.     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/4000-00000002", "0?customtrunk") in new stack
  325.     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/4000-00000002", "SIP/VoipInnvations1/19492712668,300,Tt") in new stack
  326.   == Using SIP RTP TOS bits 184
  327.   == Using SIP RTP CoS mark 5
  328. Audio is at 10678
  329. Adding codec 0x4 (ulaw) to SDP
  330. Adding non-codec 0x1 (telephone-event) to SDP
  331. Reliably Transmitting (NAT) to 64.136.174.30:5060:
  332. INVITE sip:19492712668@64.136.174.30 SIP/2.0
  333. Via: SIP/2.0/UDP 216.23.189.94:5060;branch=z9hG4bK169bbabd;rport
  334. Max-Forwards: 70
  335. From: "Trunk" <sip:4000@216.23.189.94>;tag=as75d1cbc1
  336. To: <sip:19492712668@64.136.174.30>
  337. Contact: <sip:4000@216.23.189.94:5060>
  338. Call-ID: 486cfdb710e8034556e745572b805fea@216.23.189.94:5060
  339. CSeq: 102 INVITE
  340. User-Agent: FPBX-2.11.0(1.8.28.2)
  341. Date: Fri, 04 Nov 2016 05:56:46 GMT
  342. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  343. Supported: replaces, timer
  344. Content-Type: application/sdp
  345. Content-Length: 239
  346.  
  347. v=0
  348. o=root 1859088600 1859088600 IN IP4 216.23.189.94
  349. s=Asterisk PBX 1.8.28.2
  350. c=IN IP4 216.23.189.94
  351. t=0 0
  352. m=audio 10678 RTP/AVP 0 101
  353. a=rtpmap:0 PCMU/8000
  354. a=rtpmap:101 telephone-event/8000
  355. a=fmtp:101 0-16
  356. a=ptime:20
  357. a=sendrecv
  358.  
  359. ---
  360.     -- Called SIP/VoipInnvations1/19492712668
  361.  
  362. <--- SIP read from UDP:64.136.174.30:5060 --->
  363. SIP/2.0 100 Trying
  364. Via: SIP/2.0/UDP 216.23.189.94:5060;branch=z9hG4bK169bbabd;rport=5060
  365. To: <sip:19492712668@64.136.174.30>
  366. From: "Trunk" <sip:4000@216.23.189.94>;tag=as75d1cbc1
  367. Call-ID: 486cfdb710e8034556e745572b805fea@216.23.189.94:5060
  368. CSeq: 102 INVITE
  369. Content-Length: 0
  370.  
  371. <------------->
  372. --- (7 headers 0 lines) ---
  373.  
  374. <--- SIP read from UDP:64.136.174.30:5060 --->
  375. SIP/2.0 200 OK
  376. Via: SIP/2.0/UDP 216.23.189.94:5060;branch=z9hG4bK169bbabd;rport=5060
  377. Record-Route: <sip:sansay888043399rdb4402@64.136.174.30:5060;lr;transport=udp>
  378. To: <sip:19492712668@64.136.174.30>;tag=sansay888043399rdb4402
  379. From: "Trunk" <sip:4000@216.23.189.94>;tag=as75d1cbc1
  380. Call-ID: 486cfdb710e8034556e745572b805fea@216.23.189.94:5060
  381. CSeq: 102 INVITE
  382. Contact: <sip:19492712668@64.136.174.30:5060>
  383. Content-Type: application/sdp
  384. Content-Length: 228
  385.  
  386. v=0
  387. o=Sansay-VSXi 188 1 IN IP4 64.136.174.30
  388. s=Session Controller
  389. c=IN IP4 207.223.71.138
  390. t=0 0
  391. m=audio 25286 RTP/AVP 0 101
  392. a=rtpmap:0 PCMU/8000
  393. a=rtpmap:101 telephone-event/8000
  394. a=fmtp:101 0-15
  395. a=sendrecv
  396. a=ptime:20
  397. <------------->
  398. --- (10 headers 11 lines) ---
  399. Found RTP audio format 0
  400. Found RTP audio format 101
  401. Found audio description format PCMU for ID 0
  402. Found audio description format telephone-event for ID 101
  403. Capabilities: us - 0x4 (ulaw), peer - audio=0x4 (ulaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
  404. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  405. Peer audio RTP is at port 207.223.71.138:25286
  406. list_route: hop: <sip:sansay888043399rdb4402@64.136.174.30:5060;lr;transport=udp>
  407. set_destination: Parsing <sip:sansay888043399rdb4402@64.136.174.30:5060;lr;transport=udp> for address/port to send to
  408. set_destination: set destination to 64.136.174.30:5060
  409. Transmitting (NAT) to 64.136.174.30:5060:
  410. ACK sip:19492712668@64.136.174.30:5060 SIP/2.0
  411. Via: SIP/2.0/UDP 216.23.189.94:5060;branch=z9hG4bK3f1ddded;rport
  412. Route: <sip:sansay888043399rdb4402@64.136.174.30:5060;lr;transport=udp>
  413. Max-Forwards: 70
  414. From: "Trunk" <sip:4000@216.23.189.94>;tag=as75d1cbc1
  415. To: <sip:19492712668@64.136.174.30>;tag=sansay888043399rdb4402
  416. Contact: <sip:4000@216.23.189.94:5060>
  417. Call-ID: 486cfdb710e8034556e745572b805fea@216.23.189.94:5060
  418. CSeq: 102 ACK
  419. User-Agent: FPBX-2.11.0(1.8.28.2)
  420. Content-Length: 0
  421.  
  422.  
  423.  

Reply to "CID Issue"

Here you can reply to the paste above