[Dahdi/FreeTDM] Does FS provide call supervision?
Hello, Suprisingly, Asterisk doesn't provide call supervision when used with PCI cards + FXO module + Zaptel/Dahdi. http://www.voip-info.org/wiki/view/Asterisk+func+channel CHANNEL() , the only function that is supposed to provide information, always returns "Up", no matter if Asterisk is still dialing or the callee has actually answered the phone. I assume Freeswitch will have the same issue since FreeTDM relies on Dahdi to work with this type of hardware, but I'd like confirmation of this. Thank you. PS: For those interested, here's the code I naively thought would let Asterisk pause until the callee has gone off-hook: ====== ;Down, Rsrvd, OffHook, Dialing, Ring, Ringing, Up, Busy, Dialing Offhook, Pre-ring, Unknown exten => start,n,Set(INDEX=0) ;tried "Up", "OffHook", and "Rsrvd", to no avail exten => start,n,While($["${CHANNEL(state)}" != "Up" & ${INDEX} < 10]) exten => start,n,NoOp(Channel still ringing: ${CHANNEL(state)}) exten => start,n,Wait(1) exten => start,n,Set(INDEX=$[${INDEX} + 1]) exten => start,n,EndWhile() ====== -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Dahdi-FreeTDM-Does-FS-provide-... Sent from the freeswitch-users mailing list archive at Nabble.com.
On Fri, Mar 4, 2011 at 5:26 AM, GillesToo <codecomplete@free.fr> wrote:
I assume Freeswitch will have the same issue since FreeTDM relies on Dahdi to work with this type of hardware, but I'd like confirmation of this.
FreeTDM currently has the same limitation unless your telco/switch sends polarity reverse on answer. If polarity reversal is enabled, then FreeTDM will not put the channel in state UP until the telco reverses the polarity to signal answer. This has nothing to do with the dependency on DAHDI for Digium cards btw. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
Moises Silva wrote:
FreeTDM currently has the same limitation unless your telco/switch sends polarity reverse on answer. If polarity reversal is enabled, then FreeTDM will not put the channel in state UP until the telco reverses the polarity to signal answer.
Thanks Moises for the information. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Dahdi-FreeTDM-Does-FS-provide-... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
GillesToo
-
Moises Silva