Good evening group,
Was just wondering if anyone had any ideas on this issue we're having.
We've got a couple of analog phones hooked up to an FXS port on a TDM400
card. All phones have dial tone, and can place calls without issue. But
when a call is directed to that FXS port, there is no audio at all, even
though the call between the two devices is bridged successfully, and
stays connected until one of the parties hangs up. From the CLI, a trace
of the call looks like this (IAX2/22222 is an IAX softphone on the
system, and ZAP/4 is the FXS port on the TDM card):
pbx*CLI>
-- Accepting AUTHENTICATED call from 206.186.106.151:
> requested format = ulaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
pt2*CLI>
-- Accepting AUTHENTICATED call from 206.186.106.151:
> requested format = ulaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
pt2*CLI>
-- Executing Macro("IAX2/22222-3", "exten-vm|novm|700") in new stack
-- Executing Macro("IAX2/22222-3", "user-callerid") in new stack
-- Executing DBget("IAX2/22222-3", "AMPUSER=DEVICE/22222/user") in
new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=22222/user
-- DBget: set variable AMPUSER to 222
pt2*CLI>
-- Executing DBget("IAX2/22222-3",
"AMPUSERCIDNAME=AMPUSER/222/cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=222/cidname
-- DBget: set variable AMPUSERCIDNAME to Susan Ormrod
-- Executing GotoIf("IAX2/22222-3", "0?5") in new stack
-- Executing SetCallerID("IAX2/22222-3", ""Susan Ormrod" <222>") in
new stack
-- Executing NoOp("IAX2/22222-3", "Using CallerID "Susan Ormrod"
<222>") in new stack
-- Executing SetVar("IAX2/22222-3", "FROMCONTEXT=exten-vm") in new
stack
-- Executing Macro("IAX2/22222-3", "record-enable|700|IN") in new
stack
-- Executing GotoIf("IAX2/22222-3", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("IAX2/22222-3",
"recordingcheck|20060424-185252|1145919172.13") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060424-185252|1145919172.13: Inbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("IAX2/22222-3", "No recording needed") in new
stack
-- Executing Macro("IAX2/22222-3", "dial|15|tr|700") in new stack
-- Executing GotoIf("IAX2/22222-3", "0?4:2") in new stack
-- Goto (macro-dial,s,2)
-- Executing GotoIf("IAX2/22222-3", "0?5:4") in new stack
-- Goto (macro-dial,s,4)
-- Executing AGI("IAX2/22222-3", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- dialparties.agi: priority = 4
-- dialparties.agi: callingani2 = 0
-- dialparties.agi: accountcode =
-- dialparties.agi: channel = IAX2/22222-3
-- dialparties.agi: callerid = 222
-- dialparties.agi: context = macro-dial
-- dialparties.agi: callington = 0
-- dialparties.agi: dnid = 700
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: calleridname = Susan Ormrod
-- dialparties.agi: extension = s
-- dialparties.agi: language = en
-- dialparties.agi: uniqueid = 1145919172.13
-- dialparties.agi: callingpres = 1
-- dialparties.agi: type = IAX2
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: callingtns = 0
-- dialparties.agi: enhanced = 0.0
dialparties.agi: Caller ID name and number are '222'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 700 to extension map
-- dialparties.agi: Extension 700 cf is disabled
-- dialparties.agi: Extension 700 do not disturb is disabled
> dialparties.agi: extnum: 700
> dialparties.agi: exthascw: 0
> dialparties.agi: exthascfb: 0
> dialparties.agi: extcfb:
-- dialparties.agi: Checking CW and CFB status for extension 700
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
-- dialparties.agi: Correct AMPMGRUSER and AMPMGRPASS
dialparties.agi: extstate: 0
dialparties.agi: Extension 700 is available...skipping checks
== Manager 'admin' logged off from 127.0.0.1
-- dialparties.agi: DbSet CALLTRACE/700 to 222
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("IAX2/22222-3", "ZAP/4|15|tr") in new stack
-- Called 4
-- Zap/4-1 is ringing
-- Zap/4-1 is ringing
-- Zap/4-1 answered IAX2/22222-3
-- Hungup 'Zap/4-1'
== Spawn extension (macro-dial, s, 10) exited non-zero on
'IAX2/22222-3' in macro 'dial'
== Spawn extension (macro-dial, s, 10) exited non-zero on
'IAX2/22222-3' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 10) exited non-zero on
'IAX2/22222-3'
-- Hungup 'IAX2/22222-3'
I'm pretty lost here, and would appreciate the insight of the gurus...
If anyone has any ideas for me to try out here, let 'em fly.
Thanks,
Alex
___________________________________________
Alex Robar, Technical Support, GearyTech Inc.
3075 Fourteenth Avenue, Unit 3, Markham, Ontario L3R 0G9
Markham: 905-513-8000 x 223 Fax: 905-513-8040
Toronto: 416-226-3614 Toll Free: 888-890-3499
[EMAIL PROTECTED] www.gearytech.com
Strategic management of technology for business.
Have you seen our new Voice over IP telephone systems for business?
Visit http://www.gearytech.com/VoIP.asp
<http://www.gearytech.com/VoIP.asp> for more information.