<span class="Apple-style-span" style="border-collapse: collapse; "><span class="Apple-style-span" style="font-size: small;">Hi every one may be some body can help with my problem.</span></span><div><span class="Apple-style-span" style="border-collapse: collapse; "><span class="Apple-style-span" style="font-size: small;">I had an Elastix installed with Unicall,to use there an E1 from Telmex (R2), im using in my </span><span class="Apple-style-span" style="border-collapse: separate; font-family: verdana; "><span class="Apple-style-span" style="font-size: small;">PCI Slot # 1 a WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0", the unicall is working ok with incoming calls, the think is i cant place calls from there, I hava add a custom trunk in my Elastix Web Interface <span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 12px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">UNICALL/g0/$OUTNUM$ (as i read on the Elastix Forums)I<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">f any one note my error, please let me know, i am attaching here the asterisk debug on incoming and outgoing calls</span></span></span></span></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; "><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-size: 18px; font-weight: bold;">OUTGOING CALLS (NOT WORKING)</span></div>
<div><br></div><div><div>Mar 26 13:15:02] WARNING[3132]: rtp.c:1997 ast_rtp_settos: Unable to set TOS to 184</div><div> -- Executing [252553957468@from-internal:1] Macro("SIP/503-089fcc48", "user-callerid|SKIPTTL|") in new stack</div>
<div> -- Executing [s@macro-user-callerid:1] NoOp("SIP/503-089fcc48", "user-callerid: device 503") in new stack</div><div> -- Executing [s@macro-user-callerid:2] Set("SIP/503-089fcc48", "AMPUSER=503") in new stack</div>
<div> -- Executing [s@macro-user-callerid:3] GotoIf("SIP/503-089fcc48", "0?report") in new stack</div><div> -- Executing [s@macro-user-callerid:4] ExecIf("SIP/503-089fcc48", "1|Set|REALCALLERIDNUM=503") in new stack</div>
<div> -- Executing [s@macro-user-callerid:5] NoOp("SIP/503-089fcc48", "REALCALLERIDNUM is 503") in new stack</div><div> -- Executing [s@macro-user-callerid:6] Set("SIP/503-089fcc48", "AMPUSER=503") in new stack</div>
<div> -- Executing [s@macro-user-callerid:7] Set("SIP/503-089fcc48", "AMPUSERCIDNAME=Jack Missrie") in new stack</div><div> -- Executing [s@macro-user-callerid:8] GotoIf("SIP/503-089fcc48", "0?report") in new stack</div>
<div> -- Executing [s@macro-user-callerid:9] Set("SIP/503-089fcc48", "AMPUSERCID=503") in new stack</div><div> -- Executing [s@macro-user-callerid:10] Set("SIP/503-089fcc48", "CALLERID(all)="Jack Missrie" <503>") in new stack</div>
<div> -- Executing [s@macro-user-callerid:11] Set("SIP/503-089fcc48", "REALCALLERIDNUM=503") in new stack</div><div> -- Executing [s@macro-user-callerid:12] ExecIf("SIP/503-089fcc48", "0|Set|CHANNEL(language)=") in new stack</div>
<div> -- Executing [s@macro-user-callerid:13] NoOp("SIP/503-089fcc48", "TTL: ARG1: SKIPTTL") in new stack</div><div> -- Executing [s@macro-user-callerid:14] GotoIf("SIP/503-089fcc48", "1?continue") in new stack</div>
<div> -- Goto (macro-user-callerid,s,23)</div><div> -- Executing [s@macro-user-callerid:23] NoOp("SIP/503-089fcc48", "Using CallerID "Jack Missrie" <503>") in new stack</div><div>
-- Executing [252553957468@from-internal:2] Set("SIP/503-089fcc48", "_NODEST=") in new stack</div><div> -- Executing [252553957468@from-internal:3] Macro("SIP/503-089fcc48", "record-enable|503|OUT|") in new stack</div>
<div> -- Executing [s@macro-record-enable:1] GotoIf("SIP/503-089fcc48", "0?2:4") in new stack</div><div> -- Goto (macro-record-enable,s,4)</div><div> -- Executing [s@macro-record-enable:4] AGI("SIP/503-089fcc48", "recordingcheck|20090326-131502|1238087702.2") in new stack</div>
<div> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck</div><div> recordingcheck|20090326-131502|1238087702.2: Outbound recording not enabled</div><div> -- AGI Script recordingcheck completed, returning 0</div>
<div> -- Executing [s@macro-record-enable:5] NoOp("SIP/503-089fcc48", "No recording needed") in new stack</div><div> -- Executing [252553957468@from-internal:4] Macro("SIP/503-089fcc48", "dialout-trunk|15|53957468||") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:1] Set("SIP/503-089fcc48", "DIAL_TRUNK=15") in new stack</div><div> -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/503-089fcc48", "0|Authenticate|") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/503-089fcc48", "0?disabletrunk|1") in new stack</div><div> -- Executing [s@macro-dialout-trunk:4] Set("SIP/503-089fcc48", "DIAL_NUMBER=53957468") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:5] Set("SIP/503-089fcc48", "DIAL_TRUNK_OPTIONS=Ttrw") in new stack</div><div> -- Executing [s@macro-dialout-trunk:6] Set("SIP/503-089fcc48", "GROUP()=OUT_15") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/503-089fcc48", "1?nomax") in new stack</div><div> -- Goto (macro-dialout-trunk,s,9)</div><div> -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/503-089fcc48", "0?skipoutcid") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:10] Set("SIP/503-089fcc48", "DIAL_TRUNK_OPTIONS=") in new stack</div><div> -- Executing [s@macro-dialout-trunk:11] Macro("SIP/503-089fcc48", "outbound-callerid|15") in new stack</div>
<div> -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/503-089fcc48", "1?start") in new stack</div><div> -- Goto (macro-outbound-callerid,s,3)</div><div> -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/503-089fcc48", "REALCALLERIDNUM is 503") in new stack</div>
<div> -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/503-089fcc48", "1?normcid") in new stack</div><div> -- Goto (macro-outbound-callerid,s,9)</div><div> -- Executing [s@macro-outbound-callerid:9] Set("SIP/503-089fcc48", "USEROUTCID=") in new stack</div>
<div> -- Executing [s@macro-outbound-callerid:10] Set("SIP/503-089fcc48", "EMERGENCYCID=") in new stack</div><div> -- Executing [s@macro-outbound-callerid:11] Set("SIP/503-089fcc48", "TRUNKOUTCID=") in new stack</div>
<div> -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/503-089fcc48", "1?trunkcid") in new stack</div><div> -- Goto (macro-outbound-callerid,s,16)</div><div> -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/503-089fcc48", "1?usercid") in new stack</div>
<div> -- Goto (macro-outbound-callerid,s,18)</div><div> -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/503-089fcc48", "1?report") in new stack</div><div> -- Goto (macro-outbound-callerid,s,22)</div>
<div> -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/503-089fcc48", "CallerID set to "Jack Missrie" <503>") in new stack</div><div> -- Executing [s@macro-dialout-trunk:12] AGI("SIP/503-089fcc48", "fixlocalprefix") in new stack</div>
<div> -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix</div><div> -- AGI Script fixlocalprefix completed, returning 0</div><div> -- Executing [s@macro-dialout-trunk:13] Set("SIP/503-089fcc48", "OUTNUM=53957468") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:14] Set("SIP/503-089fcc48", "custom=AMP") in new stack</div><div> -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/503-089fcc48", "1?gocall") in new stack</div>
<div> -- Goto (macro-dialout-trunk,s,17)</div><div> -- Executing [s@macro-dialout-trunk:17] Macro("SIP/503-089fcc48", "dialout-trunk-predial-hook|") in new stack</div><div>[Mar 26 13:15:03] WARNING[3164]: app_macro.c:214 _macro_exec: Context 'macro-dialout-trunk-predial-hook' for macro 'dialout-trunk-predial-hook' lacks 's' extension, priority 1</div>
<div> -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/503-089fcc48", "0?bypass|1") in new stack</div><div> -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/503-089fcc48", "1?customtrunk") in new stack</div>
<div> -- Goto (macro-dialout-trunk,s,22)</div><div> -- Executing [s@macro-dialout-trunk:22] Set("SIP/503-089fcc48", "pre_num=AMP:UNICALL/g0/") in new stack</div><div> -- Executing [s@macro-dialout-trunk:23] Set("SIP/503-089fcc48", "the_num=OUTNUM") in new stack</div>
<div> -- Executing [s@macro-dialout-trunk:24] Set("SIP/503-089fcc48", "post_num=") in new stack</div><div> -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/503-089fcc48", "1?outnum:skipoutnum") in new stack</div>
<div> -- Goto (macro-dialout-trunk,s,26)</div><div> -- Executing [s@macro-dialout-trunk:26] Set("SIP/503-089fcc48", "the_num=53957468") in new stack</div><div> -- Executing [s@macro-dialout-trunk:27] Dial("SIP/503-089fcc48", "UNICALL/g0/53957468|300|") in new stack</div>
<div> -- Called g0/53957468</div><div>[Mar 26 13:15:03] NOTICE[3164]: chan_unicall.c:2516 handle_uc_event: Unicall/1 event Dialing</div><div>[Mar 26 13:15:03] NOTICE[3164]: chan_unicall.c:1912 unicall_exception: Exception on 9, channel 1</div>
<div> -- Hungup 'UniCall/1-1'</div><div> == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/503-089fcc48' in macro 'dialout-trunk'</div><div> == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/503-089fcc48'</div>
<div> -- Executing [h@macro-dialout-trunk:1] Macro("SIP/503-089fcc48", "hangupcall|") in new stack</div><div> -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/503-089fcc48", "w") in new stack</div>
<div> -- Executing [s@macro-hangupcall:2] NoCDR("SIP/503-089fcc48", "") in new stack</div><div> -- Executing [s@macro-hangupcall:3] GotoIf("SIP/503-089fcc48", "1?skiprg") in new stack</div>
<div> -- Goto (macro-hangupcall,s,6)</div><div> -- Executing [s@macro-hangupcall:6] GotoIf("SIP/503-089fcc48", "1?skipblkvm") in new stack</div><div> -- Goto (macro-hangupcall,s,9)</div><div> -- Executing [s@macro-hangupcall:9] GotoIf("SIP/503-089fcc48", "1?theend") in new stack</div>
<div> -- Goto (macro-hangupcall,s,11)</div><div> -- Executing [s@macro-hangupcall:11] Hangup("SIP/503-089fcc48", "") in new stack</div><div> == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/503-089fcc48' in macro 'hangupcall'</div>
<div> == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/503-089fcc48'</div><div>[Mar 26 13:15:05] NOTICE[3127]: chan_unicall.c:2516 handle_uc_event: Unicall/1 event Release call</div></div><div>
</div><div><br></div><div><span class="Apple-style-span" style="font-size: 18px; font-weight: bold;">INCOMING CALLS (WORKING OK)</span></div><div><span style="font-size: 18px; font-weight: bold; "><br></span></div><div>Connected to Asterisk 1.4.22-rc5 currently running on ipbell (pid = 2572)<br>
</div><div><span style="font-size: 18px; font-weight: bold; "><div><span style="font-weight: normal; "><span style="font-size: small; ">Verbosity is at least 3</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:33] NOTICE[3127]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Detected</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:36] NOTICE[3127]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Offered</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:36] NOTICE[3127]: chan_unicall.c:2640 handle_uc_event: CRN 32769 - Offered on channel 0 (ANI: 5551478040, DNIS: 5004, Cat: 1)</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:36] NOTICE[3127]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Accepted</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [5004@from-pstn:1] NoOp("UniCall/3-1", "Catch-All DID Match - Found 5004 - You probably want a DID for this.") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [5004@from-pstn:2] Goto("UniCall/3-1", "ext-did|s|1") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Goto (ext-did,s,1)</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ext-did:1] Set("UniCall/3-1", "__FROM_DID=s") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ext-did:2] GotoIf("UniCall/3-1", "0 ?cidok") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ext-did:3] Set("UniCall/3-1", "CALLERID(name)=5551478040") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ext-did:4] NoOp("UniCall/3-1", "CallerID is "5551478040" <5551478040>") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ext-did:5] Goto("UniCall/3-1", "timeconditions|1|1") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Goto (timeconditions,1,1)</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [1@timeconditions:1] GotoIfTime("UniCall/3-1", "09:00-20:00|mon-fri|*|*?ivr-2|s|1") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Goto (ivr-2,s,1)</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:1] Set("UniCall/3-1", "LOOPCOUNT=0") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:2] Set("UniCall/3-1", "__DIR-CONTEXT=default") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:3] Set("UniCall/3-1", "_IVR_CONTEXT_ivr-2=") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:4] Set("UniCall/3-1", "_IVR_CONTEXT=ivr-2") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:5] GotoIf("UniCall/3-1", "0?begin") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:6] Answer("UniCall/3-1", "") in new stack</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:7] Wait("UniCall/3-1", "1") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:36] NOTICE[3188]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Answered</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:8] Set("UniCall/3-1", "TIMEOUT(digit)=3") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Digit timeout set to 3</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:9] Set("UniCall/3-1", "TIMEOUT(response)=10") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Response timeout set to 10</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [s@ivr-2:10] BackGround("UniCall/3-1", "custom/aa_3-ivr") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- <UniCall/3-1> Playing 'custom/aa_3-ivr' (language 'es')</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:41] NOTICE[3188]: chan_unicall.c:1912 unicall_exception: Exception on 11, channel 3</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:41] NOTICE[3188]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Far end disconnected</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:41] NOTICE[3188]: chan_unicall.c:2788 handle_uc_event: CRN 32769 - far disconnected cause=Normal Clearing [16]</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Channel 0 got hangup</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:41] WARNING[3188]: file.c:677 ast_readaudio_callback: Failed to write frame</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> == Spawn extension (ivr-2, s, 10) exited non-zero on 'UniCall/3-1'</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Executing [h@ivr-2:1] Hangup("UniCall/3-1", "") in new stack</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> == Spawn extension (ivr-2, h, 1) exited non-zero on 'UniCall/3-1'</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; "> -- Hungup 'UniCall/3-1'</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:41] NOTICE[3127]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Drop call</span></span></div><div><span style="font-weight: normal; "><span style="font-size: small; ">[Mar 26 13:31:41] NOTICE[3127]: chan_unicall.c:2516 handle_uc_event: Unicall/3 event Release call</span></span></div>
<div><span style="font-weight: normal; "><span style="font-size: small; "> -- Unicall/3 released</span></span></div></span></div></span><br>Eli Sitt<br>__________________________<br><a href="mailto:esitt23@gmail.com">esitt23@gmail.com</a><br>
Infinit Voip Solutions<br>Tel- 5004 7616 ext. 501<br>Mexico City.
</div>