Does FS handle three-way calling on the same POTS?
Hello My ISP offers basic PBX features and free calls through when plugging a phone in an RJ11 on the ADSL modem. I'd like to hook up a PC to the modem with an FXO module, and use three-way calling so that the server calls me back on my cellphone, and then lets me call a number through the server before switching to a conference call. Poor man's callback system :-) I finally got Asterisk to make the first call, and put it on hold, but it stops there: It appears that Asterisk is unable to create a second channel on the same FXO module when a call has been put on hold ("app_dial.c:1310 dial_exec_full:Unable to create channel of type 'Dahdi' (cause 0 - Unknown)"). I was wondering if someone had successfully used Freeswitch in this scenario? FWIW, here's my extensions.conf: ============== [from_fxo] exten => s,1,Wait(2) exten => s,n,Set(GLOBAL(CID)=${CALLERID(num)}) exten => s,n,Hangup() ;script waits and creates callfile exten => h,1,system(/var/tmp/test10.lua ${CID}&) ;context used by callfile [callback] exten => start,1,NoOp(In callback, CID is ${CID}) ;how to wait until remote phone picked up? exten => start,n,Wait(5) exten => start,n,Answer() exten => start,n,Playback(tt-monkeysintro) exten => start,n,Flash() ;BAD exten => start,n,Dial(Dahdi/1/${GSM}) ;does ring second number, but no actual voice channel exten => start,n,SendDTMF(456789) ============== Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Does-FS-handle-three-way-calli... Sent from the freeswitch-users mailing list archive at Nabble.com.
What are the instructions from the provider to create the second call? Usually with an analog line you have to do a hook flash, then dial some more digits, and then do another hook flash. -MC On Tue, Mar 1, 2011 at 1:10 AM, GillesToo <codecomplete@free.fr> wrote:
Hello
My ISP offers basic PBX features and free calls through when plugging a phone in an RJ11 on the ADSL modem. I'd like to hook up a PC to the modem with an FXO module, and use three-way calling so that the server calls me back on my cellphone, and then lets me call a number through the server before switching to a conference call. Poor man's callback system :-)
I finally got Asterisk to make the first call, and put it on hold, but it stops there: It appears that Asterisk is unable to create a second channel on the same FXO module when a call has been put on hold ("app_dial.c:1310 dial_exec_full:Unable to create channel of type 'Dahdi' (cause 0 - Unknown)").
I was wondering if someone had successfully used Freeswitch in this scenario?
FWIW, here's my extensions.conf: ============== [from_fxo] exten => s,1,Wait(2) exten => s,n,Set(GLOBAL(CID)=${CALLERID(num)}) exten => s,n,Hangup()
;script waits and creates callfile exten => h,1,system(/var/tmp/test10.lua ${CID}&)
;context used by callfile [callback] exten => start,1,NoOp(In callback, CID is ${CID}) ;how to wait until remote phone picked up? exten => start,n,Wait(5) exten => start,n,Answer() exten => start,n,Playback(tt-monkeysintro)
exten => start,n,Flash()
;BAD exten => start,n,Dial(Dahdi/1/${GSM}) ;does ring second number, but no actual voice channel exten => start,n,SendDTMF(456789) ==============
Thank you.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Does-FS-handle-three-way-calli... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sadly, fs will not do a hook flash. Michael Collins <msc@freeswitch.org> wrote:
What are the instructions from the provider to create the second call? Usually with an analog line you have to do a hook flash, then dial some more digits, and then do another hook flash.
-MC
On Tue, Mar 1, 2011 at 1:10 AM, GillesToo <codecomplete@free.fr> wrote:
Hello
My ISP offers basic PBX features and free calls through when plugging a phone in an RJ11 on the ADSL modem. I'd like to hook up a PC to the modem with an FXO module, and use three-way calling so that the server calls me back on my cellphone, and then lets me call a number through the server before switching to a conference call. Poor man's callback system :-)
I finally got Asterisk to make the first call, and put it on hold, but it stops there: It appears that Asterisk is unable to create a second channel on the same FXO module when a call has been put on hold ("app_dial.c:1310 dial_exec_full:Unable to create channel of type 'Dahdi' (cause 0 - Unknown)").
I was wondering if someone had successfully used Freeswitch in this scenario?
FWIW, here's my extensions.conf: ============== [from_fxo] exten => s,1,Wait(2) exten => s,n,Set(GLOBAL(CID)=${CALLERID(num)}) exten => s,n,Hangup()
;script waits and creates callfile exten => h,1,system(/var/tmp/test10.lua ${CID}&)
;context used by callfile [callback] exten => start,1,NoOp(In callback, CID is ${CID}) ;how to wait until remote phone picked up? exten => start,n,Wait(5) exten => start,n,Answer() exten => start,n,Playback(tt-monkeysintro)
exten => start,n,Flash()
;BAD exten => start,n,Dial(Dahdi/1/${GSM}) ;does ring second number, but no actual voice channel exten => start,n,SendDTMF(456789) ==============
Thank you.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Does-FS-handle-three-way-calli... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
---------------------------------------------------- Alternatives:
---------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
mercutioviz wrote:
What are the instructions from the provider to create the second call? Usually with an analog line you have to do a hook flash, then dial some more digits, and then do another hook flash
Thanks for the help. Asterisk doesn't allow using Dial() to call a second number after the original call was put on hold. A work-around is using SendDTMF() to dial the second number, but it appears there's no way to get call progress and know if the remote party has answered. Does FS provide a better way than this hack? I really need to use three-way calling on the same line since all calls are free this way. Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Does-FS-handle-three-way-calli... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
covici@ccs.covici.com
-
GillesToo
-
Michael Collins