Hello,
Sometimes the call gets answered for 1 second, but actually the phone has
not rang, it?s just the CDR, and asterisk hangup automatically, I cought the
log of 1 call like this, I hope you can help me with this.
My setup is : <vendor> ----SIP--? <Asterisk> ?----IAX2---?
<Asterisk with
Dhadi channels>
Here:
-- Executing [966505103150 at from-internal:1]
Macro("SIP/100-b609f9c0",
"user-callerid|SKIPTTL|") in new stack
-- Executing [s at macro-user-callerid:1] Set("SIP/100-b609f9c0",
"AMPUSER=100") in new stack
-- Executing [s at macro-user-callerid:2]
GotoIf("SIP/100-b609f9c0",
"0?report") in new stack
-- Executing [s at macro-user-callerid:3]
ExecIf("SIP/100-b609f9c0",
"1|Set|REALCALLERIDNUM=100") in new stack
-- Executing [s at macro-user-callerid:4] Set("SIP/100-b609f9c0",
"AMPUSER=100") in new stack
-- Executing [s at macro-user-callerid:5] Set("SIP/100-b609f9c0",
"AMPUSERCIDNAME=100") in new stack
-- Executing [s at macro-user-callerid:6]
GotoIf("SIP/100-b609f9c0",
"0?report") in new stack
-- Executing [s at macro-user-callerid:7] Set("SIP/100-b609f9c0",
"AMPUSERCID=100") in new stack
-- Executing [s at macro-user-callerid:8] Set("SIP/100-b609f9c0",
"CALLERID(all)="100" <100>") in new stack
-- Executing [s at macro-user-callerid:9] Set("SIP/100-b609f9c0",
"REALCALLERIDNUM=100") in new stack
-- Executing [s at macro-user-callerid:10]
ExecIf("SIP/100-b609f9c0",
"0|Set|CHANNEL(language)=") in new stack
-- Executing [s at macro-user-callerid:11]
GotoIf("SIP/100-b609f9c0",
"1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s at macro-user-callerid:20]
NoOp("SIP/100-b609f9c0", "Using
CallerID "100" <100>") in new stack
-- Executing [966505103150 at from-internal:2]
Set("SIP/100-b609f9c0",
"_NODEST=") in new stack
-- Executing [966505103150 at from-internal:3]
Macro("SIP/100-b609f9c0",
"record-enable|100|OUT|") in new stack
-- Executing [s at macro-record-enable:1]
GotoIf("SIP/100-b609f9c0",
"1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s at macro-record-enable:4] AGI("SIP/100-b609f9c0",
"recordingcheck|20091009-194302|1255102982.3126") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20091009-194302|1255102982.3126: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s at macro-record-enable:5]
MacroExit("SIP/100-b609f9c0", "")
in new stack
-- Executing [966505103150 at from-internal:4]
Macro("SIP/100-b609f9c0",
"dialout-trunk|12|505103150||") in new stack
-- Executing [s at macro-dialout-trunk:1] Set("SIP/100-b609f9c0",
"DIAL_TRUNK=12") in new stack
-- Executing [s at macro-dialout-trunk:2]
GosubIf("SIP/100-b609f9c0",
"0?sub-pincheck|s|1") in new stack
-- Executing [s at macro-dialout-trunk:3]
GotoIf("SIP/100-b609f9c0",
"0?disabletrunk|1") in new stack
-- Executing [s at macro-dialout-trunk:4] Set("SIP/100-b609f9c0",
"DIAL_NUMBER=505103150") in new stack
-- Executing [s at macro-dialout-trunk:5] Set("SIP/100-b609f9c0",
"DIAL_TRUNK_OPTIONS=trf") in new stack
-- Executing [s at macro-dialout-trunk:6] Set("SIP/100-b609f9c0",
"OUTBOUND_GROUP=OUT_12") in new stack
-- Executing [s at macro-dialout-trunk:7]
GotoIf("SIP/100-b609f9c0",
"1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s at macro-dialout-trunk:9]
GotoIf("SIP/100-b609f9c0",
"0?skipoutcid") in new stack
-- Executing [s at macro-dialout-trunk:10] Set("SIP/100-b609f9c0",
"DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s at macro-dialout-trunk:11]
Macro("SIP/100-b609f9c0",
"outbound-callerid|12") in new stack
-- Executing [s at macro-outbound-callerid:1]
ExecIf("SIP/100-b609f9c0",
"0|SetCallerPres|") in new stack
-- Executing [s at macro-outbound-callerid:2]
ExecIf("SIP/100-b609f9c0",
"0|Set|REALCALLERIDNUM=100") in new stack
-- Executing [s at macro-outbound-callerid:3]
GotoIf("SIP/100-b609f9c0",
"1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s at macro-outbound-callerid:6]
Set("SIP/100-b609f9c0",
"USEROUTCID=") in new stack
-- Executing [s at macro-outbound-callerid:7]
Set("SIP/100-b609f9c0",
"EMERGENCYCID=") in new stack
-- Executing [s at macro-outbound-callerid:8]
Set("SIP/100-b609f9c0",
"TRUNKOUTCID=99999") in new stack
-- Executing [s at macro-outbound-callerid:9]
GotoIf("SIP/100-b609f9c0",
"1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s at macro-outbound-callerid:12]
ExecIf("SIP/100-b609f9c0",
"1|Set|CALLERID(all)=99999") in new stack
-- Executing [s at macro-outbound-callerid:13]
GotoIf("SIP/100-b609f9c0",
"1?exit") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing [s at macro-outbound-callerid:11]
MacroExit("SIP/100-b609f9c0", "") in new stack
-- Executing [s at macro-dialout-trunk:12]
ExecIf("SIP/100-b609f9c0",
"0|AGI|fixlocalprefix") in new stack
-- Executing [s at macro-dialout-trunk:13] Set("SIP/100-b609f9c0",
"OUTNUM=0505103150") in new stack
-- Executing [s at macro-dialout-trunk:14] Set("SIP/100-b609f9c0",
"custom=IAX2/99999") in new stack
-- Executing [s at macro-dialout-trunk:15]
ExecIf("SIP/100-b609f9c0",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s at macro-dialout-trunk:16]
Macro("SIP/100-b609f9c0",
"dialout-trunk-predial-hook|") in new stack
-- Executing [s at macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/100-b609f9c0", "") in new stack
-- Executing [s at macro-dialout-trunk:17]
GotoIf("SIP/100-b609f9c0",
"0?bypass|1") in new stack
-- Executing [s at macro-dialout-trunk:18]
GotoIf("SIP/100-b609f9c0",
"0?customtrunk") in new stack
-- Executing [s at macro-dialout-trunk:19]
Dial("SIP/100-b609f9c0",
"IAX2/99999/0505103150|300|") in new stack
-- Called 99999/0505103150
-- Call accepted by 192.168.10.220 (format ulaw)
-- Format for call is ulaw
-- IAX2/99999-12593 answered SIP/100-b609f9c0
-- Executing [h at macro-dialout-trunk:1]
Macro("SIP/100-b609f9c0",
"hangupcall|") in new stack
-- Executing [s at macro-hangupcall:1]
ResetCDR("SIP/100-b609f9c0", "w") in
new stack
-- Executing [s at macro-hangupcall:2] NoCDR("SIP/100-b609f9c0",
"") in new
stack
-- Executing [s at macro-hangupcall:3] GotoIf("SIP/100-b609f9c0",
"1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s at macro-hangupcall:6] GotoIf("SIP/100-b609f9c0",
"1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s at macro-hangupcall:9] GotoIf("SIP/100-b609f9c0",
"1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s at macro-hangupcall:11] Hangup("SIP/100-b609f9c0",
"") in
new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/100-b609f9c0' in macro 'hangupcall'
== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on
'SIP/100-b609f9c0'
-- Hungup 'IAX2/99999-12593'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on
'SIP/100-b609f9c0' in macro 'dialout-trunk'
== Spawn extension (from-internal, 966505103150, 4) exited non-zero on
'SIP/100-b609f9c0'
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20091009/7c89ed90/attachment.htm