- Posts: 2
- Thank you received: 0
keywords: ip pbx voip gateway gsm gateway
-- Executing [[email protected]:1] Macro("SIP/1001-00000013", "user-callerid,SKIPTTL,") in new stack
-- Executing [[email protected]:1] Set("SIP/1001-00000013", "AMPUSER=1001") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/1001-00000013", "0?report") in new stack
-- Executing [[email protected]:3] ExecIf("SIP/1001-00000013", "1?Set(REALCALLERIDNUM=1001)") in new stack
-- Executing [[email protected]:4] Set("SIP/1001-00000013", "AMPUSER=1001") in new stack
-- Executing [[email protected]:5] Set("SIP/1001-00000013", "AMPUSERCIDNAME=User") in new stack
-- Executing [[email protected]:6] GotoIf("SIP/1001-00000013", "0?report") in new stack
-- Executing [[email protected]:7] Set("SIP/1001-00000013", "AMPUSERCID=10") in new stack
-- Executing [[email protected]:8] Set("SIP/1001-00000013", "CALLERID(all)="User" <10>") in new stack
-- Executing [[email protected]:9] ExecIf("SIP/1001-00000013", "1?Set(CHANNEL(language)=es)") in new stack
-- Executing [[email protected]:10] GotoIf("SIP/1001-00000013", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [[email protected]:19] Set("SIP/1001-00000013", "CALLERID(number)=10") in new stack
-- Executing [[email protected]:20] Set("SIP/1001-00000013", "CALLERID(name)=User") in new stack
-- Executing [[email protected]:21] NoOp("SIP/1001-00000013", "Using CallerID "User" <10>") in new stack
-- Executing [[email protected]:2] NoOp("SIP/1001-00000013", "Calling Out Route: Salientes") in new stack
-- Executing [[email protected]:3] Set("SIP/1001-00000013", "MOHCLASS=default") in new stack
-- Executing [[email protected]:4] Set("SIP/1001-00000013", "_NODEST=") in new stack
-- Executing [[email protected]:5] Macro("SIP/1001-00000013", "record-enable,1001,OUT,") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/1001-00000013", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [[email protected]:4] ExecIf("SIP/1001-00000013", "0?MacroExit()") in new stack
-- Executing [[email protected]:5] GotoIf("SIP/1001-00000013", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [[email protected]:15] GotoIf("SIP/1001-00000013", "0?IN") in new stack
-- Executing [[email protected]:16] ExecIf("SIP/1001-00000013", "1?MacroExit()") in new stack
-- Executing [[email protected]:6] Macro("SIP/1001-00000013", "dialout-trunk,1,677000000,") in new stack
-- Executing [[email protected]:1] Set("SIP/1001-00000013", "DIAL_TRUNK=1") in new stack
-- Executing [[email protected]:2] GosubIf("SIP/1001-00000013", "0?sub-pincheck,s,1") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/1001-00000013", "0?disabletrunk,1") in new stack
-- Executing [[email protected]:4] Set("SIP/1001-00000013", "DIAL_NUMBER=677000000") in new stack
-- Executing [[email protected]:5] Set("SIP/1001-00000013", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [[email protected]:6] Set("SIP/1001-00000013", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [[email protected]:7] GotoIf("SIP/1001-00000013", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [[email protected]:9] GotoIf("SIP/1001-00000013", "0?skipoutcid") in new stack
-- Executing [[email protected]:10] Set("SIP/1001-00000013", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [[email protected]:11] Macro("SIP/1001-00000013", "outbound-callerid,1") in new stack
-- Executing [[email protected]:1] ExecIf("SIP/1001-00000013", "0?Set(CALLERPRES()=)") in new stack
-- Executing [[email protected]:2] ExecIf("SIP/1001-00000013", "0?Set(REALCALLERIDNUM=10)") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/1001-00000013", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [[email protected]:6] Set("SIP/1001-00000013", "USEROUTCID=") in new stack
-- Executing [[email protected]:7] Set("SIP/1001-00000013", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:8] Set("SIP/1001-00000013", "TRUNKOUTCID=<999999999>") in new stack
-- Executing [[email protected]:9] GotoIf("SIP/1001-00000013", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [[email protected]:12] ExecIf("SIP/1001-00000013", "1?Set(CALLERID(all)=<999999999>)") in new stack
-- Executing [[email protected]:13] ExecIf("SIP/1001-00000013", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:14] ExecIf("SIP/1001-00000013", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:15] ExecIf("SIP/1001-00000013", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [[email protected]:12] GosubIf("SIP/1001-00000013", "0?sub-flp-1,s,1") in new stack
-- Executing [[email protected]:13] Set("SIP/1001-00000013", "OUTNUM=677000000") in new stack
-- Executing [[email protected]:14] Set("SIP/1001-00000013", "custom=DAHDI/g0") in new stack
-- Executing [[email protected]:15] ExecIf("SIP/1001-00000013", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [[email protected]:16] Macro("SIP/1001-00000013", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("SIP/1001-00000013", "") in new stack
-- Executing [[email protected]:17] GotoIf("SIP/1001-00000013", "0?bypass,1") in new stack
-- Executing [[email protected]:18] GotoIf("SIP/1001-00000013", "0?customtrunk") in new stack
-- Executing [[email protected]:19] Dial("SIP/1001-00000013", "DAHDI/g0/677000000,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g0/677000000
-- DAHDI/i1/677000000-11 is proceeding passing it to SIP/1001-00000013
-- DAHDI/i1/677000000-11 is ringing
-- DAHDI/i1/677000000-11 is making progress passing it to SIP/1001-00000013
-- Hungup 'DAHDI/i1/677000000-11'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/1001-00000013' in macro 'dialout-trunk'
== Spawn extension (from-internal, 677000000, 6) exited non-zero on 'SIP/1001-00000013'
-- Executing [[email protected]:1] Macro("SIP/1001-00000013", "hangupcall") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/1001-00000013", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [[email protected]:9] NoOp("SIP/1001-00000013", "End of MIXMON check") in new stack
-- Executing [[email protected]:10] GotoIf("SIP/1001-00000013", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [[email protected]:28] NoOp("SIP/1001-00000013", "End of MEETME check") in new stack
-- Executing [[email protected]:29] GotoIf("SIP/1001-00000013", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [[email protected]:34] NoOp("SIP/1001-00000013", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [[email protected]:35] GotoIf("SIP/1001-00000013", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [[email protected]:41] NoOp("SIP/1001-00000013", "MONITOR_FILENAME=") in new stack
-- Executing [[email protected]:42] GotoIf("SIP/1001-00000013", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [[email protected]:45] GotoIf("SIP/1001-00000013", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [[email protected]:48] GotoIf("SIP/1001-00000013", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [[email protected]:50] AGI("SIP/1001-00000013", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/1001-00000013>AGI Script hangup.agi completed, returning 0
-- Executing [[email protected]:51] Hangup("SIP/1001-00000013", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/1001-00000013' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1001-00000013'
; Autogenerated by /usr/sbin/dahdi_genconf on Thu Dec 3 12:42:37 2015
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
callerid=asreceived
channel => 1-2
context = default
group = 63
[trunkgroups]
[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3
immediate=no
#include dahdi-channels.conf
#include chan_dahdi_additional.conf
elastix*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Dec 3 12:42:37 2015
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER)
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2
# Global data
loadzone = es
defaultzone = es