[asterisk-users] Modem calls

Jose Limeres jlimeres at gmail.com
Fri Sep 15 01:01:18 MST 2006


Hi,
I need to pass modem calls through a TDM400 card. Conecting the modem to the
FXS port (ZAP/1), it should be put through the FXO port (ZAP/4) directly.
Even though Echo cancellation is disabled in both lines the call is never
successful. Modems speak for some time and then the line is hang up with the
message "No answer from remote side". I send thereafter some traces in case
someone is interested.

I know modem calls are not easy as something is messed up in the signaling
going through asterisk but has someone been successful in an easy
configuration such as this one?

Thanks,
Jose

Sep 15 09:45:22 DEBUG[4625] chan_zap.c: Dialing '908274101'
Sep 15 09:45:22 DEBUG[4625] chan_zap.c: Deferring dialing...
Sep 15 09:45:22 DEBUG[4625] chan_zap.c: Requested indication 3 on channel
Zap/1-1
Sep 15 09:45:23 DEBUG[4625] chan_zap.c: Exception on 15, channel 4
Sep 15 09:45:23 DEBUG[4625] chan_zap.c: Got event Hook Transition
Complete(12) on channel 4 (index 0)
Sep 15 09:45:25 DEBUG[4625] chan_zap.c: Exception on 15, channel 4
 Sep 15 09:45:25 DEBUG[4625] chan_zap.c: Got event Dial Complete(9) on
channel 4 (index 0)
Sep 15 09:45:25 DEBUG[4625] chan_zap.c: No echo cancellation requested
Sep 15 09:45:25 DEBUG[4625] chan_zap.c: No echo training requested
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Exception on 15, channel 4
 Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Got event Dial Complete(9) on
channel 4 (index 0)
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: No echo cancellation requested
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Requested indication -1 on channel
Zap/1-1
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Took Zap/1-1 off hook
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: master: 1, slave: 4, nothingok: 0
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Stopping tones on 1/0 talking to 4/0
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Stopping tones on 4/0 talking to 1/0
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Making 4 slave to master 1 at 0
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Added 15 to conference 9/1
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Added 13 to conference 9/4
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Updated conferencing on 1, with 0
conference users
Sep 15 09:45:27 DEBUG[4625] chan_zap.c: Updated conferencing on 4, with 0
conference users
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Exception on 13, channel 1
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Got event On hook(1) on channel 1
(index 0)
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: No echo cancellation requested
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: No echo cancellation requested
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Unlinking slave 4 from 1
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Removed 15 from conference 9/1
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Removed 13 from conference 9/4
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Updated conferencing on 1, with 0
conference users
 Sep 15 09:45:51 DEBUG[4625] channel.c: Returning from native bridge,
channels: Zap/1-1, Zap/4-1
 Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Hangup: channel: 4 index = 0,
normal = 15, callwait = -1, thirdcall = -1
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Set option TDD MODE, value: OFF(0)
on Zap/4-1
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Updated conferencing on 4, with 0
conference users
 Sep 15 09:45:51 DEBUG[4625] app_dial.c: Exiting with DIALSTATUS=ANSWER.
Sep 15 09:45:51 DEBUG[4625] cdr_addon_mysql.c: cdr_mysql: inserting a CDR
record.
Sep 15 09:45:51 DEBUG[4625] cdr_addon_mysql.c: cdr_mysql: SQL command as
follows: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid)
VALUES ('2006-09-15 09:45:22','\"FXS\"
<505>','505','0908274101','from-internal',
'Zap/1-1','Zap/4-1','Dial','ZAP/4/908274101|120|r',29,24,'ANSWERED',3,'','
asterisk-3279-1158306315.0')
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Hangup: channel: 1 index = 0, normal
= 13, callwait = -1, thirdcall = -1
Sep 15 09:45:51 DEBUG[4625] chan_zap.c: Set option TDD MODE, value: OFF(0)
on Zap/1-1


asterisk1*CLI> zap show channel 1
Channel: 1CLI>
File Descriptor: 13
Span: 1
Extension:
Dialing: no
Context: from-internal
Caller ID: 505
Calling TON: 0
Caller ID name: FXS
Destroy: 0
InAlarm: 0
Signalling Type: FXO Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
asterisk1*CLI>

asterisk1*CLI>
asterisk1*CLI>
asterisk1*CLI> zap show channel 4
Channel: 4CLI>
File Descriptor: 15
Span: 1
Extension:
Dialing: no
Context: from-zaptel
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060915/b745282a/attachment.htm


More information about the asterisk-users mailing list