[Asterisk-Users] No audio on outgoing SIP calls over ISDN BRI line

Leandro Morgado lm at eurotux.com
Tue Mar 30 08:59:16 MST 2004


Hello,

I have asterisk installed and working nicely for internal calls using
SIP. However, when I establish an outside call, it rings and connects
properly but I get no audio on either end (the call stays connected).

Asterisk's logs say the following:

    -- Executing Wait("Modem[i4l]/ttyI0", "1") in new stack
    -- Executing Dial("Modem[i4l]/ttyI0",
"SIP/111|30|Ttr|SIP_CODEC=alaw") in new stack
    -- Called 111
    -- SIP/111-6e58 is ringing
Mar 30 14:46:27 NOTICE[278545]: channel.c:1451 ast_set_write_format:
Unable to find a path from UNKN to SLINR
    -- Got SIP response 603 "Decline" back from 192.168.0.27
  == No one is available to answer at this time
    -- Executing Hangup("Modem[i4l]/ttyI0", "") in new stack

I suspect it might be a codec related problem (Unable to find a path
from UNKN to SLINR) but as far as I am aware, ISDN uses G.711 and I have
both a-law and u-law activated in asterisk. I wonder why Asterik says
the outside call has an UNKN codec!

The only other possible cause I can think of, is some kind of problem
between my ISDN BRI adapter and Asterisk. I am using isdn4linux. Here
are some logs which might be usefull:

(dmesg)
ISDN subsystem Rev: 1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1
loaded
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (module)
HiSax: Layer1 Revision 1.1.4.1
HiSax: Layer2 Revision 1.1.4.1
HiSax: TeiMgr Revision 1.1.4.1
HiSax: Layer3 Revision 1.1.4.1
HiSax: LinkLayer Revision 1.1.4.1
HiSax: Approval certification failed because of
HiSax: unauthorized source code changes
HiSax: Total 1 card defined
HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
HiSax: Traverse Tech. NETjet-S driver Rev. 1.1.4.1
PCI: Found IRQ 9 for device 00:0d.0
PCI: Sharing IRQ 9 with 00:04.2
PCI: Sharing IRQ 9 with 00:09.0
PCI: Setting latency timer of device 00:0d.0 to 64
NETjet-S: PCI card configured at 0xb000 IRQ 9
NETjet-S: ISAC version (0): 2086/2186 V1.1
NETjet-S: IRQ 9 count 0
NETjet-S: IRQ 9 count 2
HiSax: DSS1 Rev. 1.1.4.1
HiSax: 2 channels added
HiSax: MAX_WAITING_CALLS added
HiSax: debugging flags card 1 set to 1f

(asterisk)
[chan_modem.so] => (Generic Voice Modem Driver)
  == Parsing '/etc/asterisk/modem.conf': Found
  == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated
Modem Driver)
    -- Configured modem /dev/ttyI0 with driver i4l (Linux ISDN)
    -- Configured modem /dev/ttyI1 with driver i4l (Linux ISDN)
  == Registered channel type 'Modem' (Generic Voice Modem Channel
Driver)

(lsmod)
Module                  Size  Used by    Not tainted
hisax                 470288   2
isdn                  122688   3  [hisax]
slhc                    5088   0  [isdn]

(lspci)
00:0d.0 Network controller: Tiger Jet Network Inc. Intel 537
        Subsystem: Tiger Jet Network Inc. (Wrong ID) 128k ISDN-S/T
Adapter
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at b000 [size=256]
        Memory at df800000 (32-bit, non-prefetchable) [size=4K]


Anyone has any clue what might be causing this strange behaviour?

Thanks in advance,

Leandro Morgado
Eurotux / Portugal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040330/fa4342a0/attachment.pgp


More information about the asterisk-users mailing list