CDRs are generating but when I call a outbound number for outbound trunk it says “cannot complete as dialed” and the no CDRs were generated for this call leg. however this call hits my server. please see the logs.
[2017-06-20 17:59:38] NOTICE[2474]: chan_sip.c:24586 handle_response_peerpoke: Peer ‘300’ is now Reachable. (195ms / 2000ms)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [2128520279@from-internal:1] ResetCDR(“SIP/300-0000000d”, “”) in new stack
– Executing [2128520279@from-internal:2] NoCDR(“SIP/300-0000000d”, “”) in new stack
– Executing [2128520279@from-internal:3] Progress(“SIP/300-0000000d”, “”) in new stack
– Executing [2128520279@from-internal:4] Wait(“SIP/300-0000000d”, “1”) in new stack
– Executing [2128520279@from-internal:5] Playback(“SIP/300-0000000d”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <SIP/300-0000000d> Playing ‘silence/1.ulaw’ (language ‘en’)
– <SIP/300-0000000d> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
– <SIP/300-0000000d> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
– Executing [h@from-internal:1] Macro(“SIP/300-0000000d”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/300-0000000d”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/300-0000000d”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/300-0000000d”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/300-0000000d’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/300-0000000d’
– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
can anyone suggest.
one more thing I am using twilio trunking.