This commit is contained in:
Your Name
2021-12-25 21:08:19 +00:00
parent be294efecf
commit a6b9caad5a
7 changed files with 73 additions and 34 deletions

View File

@@ -729,20 +729,28 @@ exten => _X.,n,Return()
; "core show function <COMMAND>" will show you more information about
; one function. Remember that function names are UPPER CASE.
[from-eventphone]
[telekom_incoming]
exten => s,1,Answer()
same => n,Wait(1)
same => n,Playback(/etc/asterisk/media/playback/e_1_herzlich_willkommen_beim_teleshopping)
same => n,Playback(/etc/asterisk/media/playback/telegott_ansage)
same => n,GotoIf($[ "${DB(stream/open)}" != "1" ]?stream-closed,1)
same => n(start),Background(/etc/asterisk/media/playback/e_3_dr_cken_Sie,m)
same => n,WaitExten(4)
same => n,Goto(start)
exten => 1,1,Goto(record-bid,1,1)
exten => 2,1,Goto(take-question,s,1)
same => n,Goto(take-question,s,1)
exten => stream-closed,1,Wait(0.8)
same => n,Playback(/etc/asterisk/media/playback/e_2_bei_uns_ist_leider_gerade_nichts_los)
same => n,MusicOnHold(shop,10)
same => n,MusicOnHold(gott,20)
same => n,Goto(1)
[from-eventphone]
exten => s,1,Answer()
same => n,Wait(1)
same => n,Playback(/etc/asterisk/media/playback/telegott_ansage)
same => n,GotoIf($[ "${DB(stream/open)}" != "1" ]?stream-closed,1)
same => n,Goto(take-question,s,1)
exten => stream-closed,1,Wait(0.8)
same => n,Playback(/etc/asterisk/media/playback/e_2_bei_uns_ist_leider_gerade_nichts_los)
same => n,MusicOnHold(gott,20)
same => n,Goto(1)
[record-bid]
@@ -796,17 +804,17 @@ same => n,Dial(SIP/${EXTEN},,U(bidding-announce))
[take-question]
exten => s,1,Playback(/etc/asterisk/media/playback/e_4_zur_qualit_tssicherung)
same => n,Wait(0.5)
same => n,Queue(shop,t)
same => n,Queue(gott,t)
same => n,Hangup()
[local]
exten => _22X,1,Dial(SIP/${EXTEN:1})
same => n,Hangup
;same => n,Hangup
exten => _X.,1,Dial(IAX2/hetzner/${EXTEN})
same => n,Hangup
;exten => _X.,1,Dial(IAX2/hetzner/${EXTEN})
;same => n,Hangup
[oldlocal]
;[oldlocal]
exten => _0X.,1,Goto(to-eventphone,${EXTEN:1},1)
; Open bidding, read start bid
@@ -848,10 +856,10 @@ same => n,Playback(/etc/asterisk/media/playback/e_15.2_herzlichen_gl_ckwunsch_p
same => n,Hangup()
[to-eventphone]
exten => _X.,1,SET(CALLERID(all)="Teleshop" <7467>)
exten => _X.,1,SET(CALLERID(all)="Telegott" <7467>)
same => n,Dial(SIP/${EXTEN}@eventphone)
[fromhetzner]
exten => _2X,1,Originate(Console/dsp,exten,auction-spy,s,1,,a)
same => n,Dial(SIP/${EXTEN})
same => n,Hangup()
;[fromhetzner]
;exten => _2X,1,Originate(Console/dsp,exten,auction-spy,s,1,,a)
;same => n,Dial(SIP/${EXTEN})
;same => n,Hangup()

Binary file not shown.

BIN
media/playback/ansage.alaw Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -52,6 +52,10 @@ directory=/etc/asterisk/media/moh/shop
[shop]
mode=files
directory=/etc/asterisk/media/moh/shop
[gott]
mode=files
directory=/etc/asterisk/media/moh/gott
;
;[native-random]
;mode=files

View File

@@ -586,3 +586,12 @@ queue-thereare=/etc/asterisk/media/playback/e_17_du_bist_nicht_h_chstbietend
; ("calls waiting.")
queue-callswaiting=/etc/asterisk/media/playback/e_19_dr_cke_1_um_erneut_zu_bieten
; ("The current est. holdtime is")
[gott]
musicclass=gott
strategy=ringall
announce-position=no
announce-to-first-user=no
member => SIP/21
member => SIP/22
member => SIP/23

View File

@@ -819,7 +819,8 @@ qualify=yes
;
;register => 1234:password@mysipprovider.com
;register => 7467:12zX22bH02q2@eventphone.de
register => 7467:12zX22bH02q2@eventphone.de
register => 04043095296:23554274:551135893074-0001@t-online.de@tel.t-online.de
;register => 7467:COwcNVlnErGf@voip.eventphone.de
;
@@ -1624,21 +1625,38 @@ directrtpsetup=no ; Enable the new experimental direct RTP setup. Th
; external IP address of the remote device. If port forwarding is done at the client side
; then UDPTL will flow to the remote device.
;[eventphone]
;type=friend
;host=148.251.63.154
;defaultuser=7467
;secret=12zX22bH02q2
;context=from-eventphone
;qualify=yes
;disallow=all
;allow=alaw
;direct-media=no
;canrewrite=no
;dtmfmode=rfc2833
;insecure=invite,port
;qualify=yes
;
[eventphone]
type=friend
host=148.251.63.154
defaultuser=7467
secret=12zX22bH02q2
context=from-eventphone
qualify=yes
disallow=all
allow=alaw
direct-media=no
canrewrite=no
dtmfmode=rfc2833
insecure=invite,port
qualify=yes
[telekom_in]
type=peer
context=telekom_incoming
insecure=invite
host=tel.t-online.de
fromdomain=tel.t-online.de
canreinvite=no
[telekom_out]
type=peer
defaultuser=551135893074-0001@tel.t-online.de
secret=23554274
host=tel.t-online.de
fromdomain=tel.t-online.de
canreinvite=no
;[eventphone-event]
;type=friend
;host=93.180.79.35