Florian Overkamp schrieb:
Hey, if I press Flash asterisk gets the 'hf' event but does nothing. What gives ? :-)

We can compare our ATA-configs, because transfering works fine with MGCP (SIP doesnt).

By the way, I'd think maybe it's not actually transferring but rather 'bridging' through the ATA ?
Maybe you can show some config snippets ?


The call seems (for me) to be bridged by *:

gw-bzo*CLI>
gw-bzo*CLI> show channels
Channel (Context Extension Pri ) State Appl. Data
SIP/snom1-baef (default 1 ) Up Bridged Call CAPI[contr1/8504]/22
CAPI[contr1/8504]/22 (macro-stdexten s 3 ) Up Dial SIP/snom1|20|mt
2 active channel(s)
gw-bzo*CLI>




Is this complete?

Thomas

mgcp.conf:
[general]
port = 2727
bindaddr = 0.0.0.0
disallow=all
allow=alaw
inbanddtmf=0
transfer = yes
threewaycalling=yes
musiconhold=1

[192.168.1.25]
transfer = yes
threewaycalling=yes
host = 192.168.1.25

context = default
callerid = "Thomas <8504>"
mailbox = 8504
callgroup = 1
pickupgroup = 1
transfer=1
line => aaln/1

context = default
callerid = "Thomas <8506>"
mailbox = 8506
transfer = 1
line => aaln/2
line => *


sip.conf: ; SIP Configuration for Asterisk ;

[general]
port = 5060                     ; Port to bind to
bindaddr = 192.168.1.2          ; Address to bind to
context = default               ; Default for incoming calls
disallow=all
allow=ulaw
allow=alaw
allow=gsm

[snom1]
type=friend
secret=snom1
host=dynamic
defaultip=192.168.1.18
context = default
mailbox = 8501
callerid = "Thomas <8501>"
calleridnum = 8501
callgroup = 1
pickupgroup = 1


capi.conf: ; ; CAPI config ; ; ; Multipoint [global] mode=immediate isdnmode=multipoint ;nationalprefix=00 ;internationalprefix=000

[interfaces]
msn=8500,8501,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518
incomingmsn=*
controller=1,2
context=isdn
echosquelch=1
softdtmf=0
rxgain=1
txgain=1
devices=2


extensions.conf:


[general]
static=yes
writeprotect=no

[macro-stdexten];
;
; Standard extension macro:
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
;
exten => s,1,DBget(temp=UML/${ARG1})
exten => s,2,Goto(default|${temp}|1)
exten => s,102,Goto(s|3)
exten => s,3,Dial(${ARG2},20,mt)
exten => s,4,Voicemail2(u${ARG1})
exten => s,5,HangUp
exten => s,104,Voicemail2(b${ARG1})
exten => s,105,HangUp


[outgroup] exten => _X.,1,Dial(CAPI/${CALLERIDNUM}:b${EXTEN},,T) exten => _X.,2,Dial(CAPI/8501:b${EXTEN},,T)

[asterisk]
include => parkedcalls
exten => 8501,1,Macro(stdexten,8501,SIP/snom1)
exten => 8504,1,Macro(stdexten,8501,MGCP/aaln/[EMAIL PROTECTED])

[isdn]
exten => s,1,AGI(nuller.agi)
; nuller.agi adds a leading zero for incoming calls and jumps to context ; "asterisk"



_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to