if i dial out using a file and my dial plan dials another number, will the two calls be automatically bridged? i cant seem to hear anything using the following dialplan:
Once i execute the call file, the first phone will ring and after accepting the call, the second phone will ring. However, once i have accepted the second call, i dont hear any voice from both ends. Am i missing something? Do i have to use meetme() or transfer() for this simple app?
Here’s asterisk’s log:
– Attempting call on IAX2/diamondcard/639209319999 for
4@diamondcardterm3:1 (Retry 1)
– Call accepted by 64.124.128.5 (format gsm)
– Format for call is gsm
> Channel IAX2/diamondcard-1 was answered.
-- Executing [4@diamondcardterm3:1] NoOp("IAX2/diamondcard-1", "")
in new stack
– Executing [4@diamondcardterm3:2] Dial(“IAX2/diamondcard-1”,
“IAX2/diamondcard2/639209009999”) in new stack
– Called diamondcard2/639209009999
– Call accepted by 64.124.128.5 (format gsm)
– Format for call is gsm
– IAX2/diamondcard2-2 is making progress passing it to
IAX2/diamondcard-1
– IAX2/diamondcard2-2 answered IAX2/diamondcard-1
– Channel ‘IAX2/diamondcard2-2’ ready to transfer
– Channel ‘IAX2/diamondcard-1’ ready to transfer
– Releasing IAX2/diamondcard-1 and IAX2/diamondcard2-2
– Hungup ‘IAX2/diamondcard2-2’
== Spawn extension (diamondcardterm3, 4, 2) exited non-zero on
‘IAX2/diamondcard-1’
– Hungup ‘IAX2/diamondcard-1’
[Mar 5 19:51:46] NOTICE[16145]: pbx_spool.c:351 attempt_thread: Call
completed to IAX2/diamondcard/639209319999