When calls come in via ISDN the destination phone does ring but the
caller hears no ringing tone, once the SIP phone is answered everything
works as expected. Calls from SIP phone to SIP phone internally do let
the caller hear a ringing tone.
With full asterisk logging enables the logs show:
Aug 10 17:43:44 VERBOSE[1810] logger.c: -- Executing
Dial("mISDN/1-1", "SIP/1000|15|tr") in new stack
Aug 10 17:43:44 DEBUG[1810] chan_sip.c: Setting NAT on RTP to 524288
Aug 10 17:43:44 DEBUG[1810] chan_sip.c: Outgoing Call for 1000
Aug 10 17:43:44 VERBOSE[1810] logger.c: -- Called 1000
Aug 10 17:43:44 DEBUG[1810] channel.c: Driver for channel 'mISDN/1-1'
does not support indication 3, emulating it
Aug 10 17:43:44 DEBUG[1810] channel.c: Scheduling timer at 160 sample
intervals
Aug 10 17:43:44 DEBUG[1810] channel.c: Building translator from alaw to
SLINEAR for spies on channel mISDN/1-1
Aug 10 17:43:44 DEBUG[1810] channel.c: Generator got voice, switching to
phase locked mode
Aug 10 17:43:44 DEBUG[1810] channel.c: Scheduling timer at 0 sample
intervals
Aug 10 17:43:44 WARNING[1810] indications.c: Can't generate that much
data!
Aug 10 17:43:44 DEBUG[1810] channel.c: Auto-deactivating generator
Aug 10 17:43:44 DEBUG[1810] channel.c: Scheduling timer at 0 sample
intervals
Aug 10 17:43:44 VERBOSE[1810] logger.c: -- SIP/1000-082184d0 is
ringing
The /etc/asterisk/indications.conf file has country set to UK and has
correct entries in there for UK tones.
From looking at the Asterisk code it seems that indication 3 is the
RINGING tone. Looking further in the Asterisk logs I see that similar
"does not support indication" entries for SIP devices for both
indication 3 (RINGING) and 8 (CONGESTION) occur. However for SIP devices
Asterisk seems to be able to emulate the ringing and congestion tones
properly:
Jul 19 16:12:43 VERBOSE[2116] logger.c: -- Executing
Congestion("SIP/1000-0820fc88", "20") in new stack
Jul 19 16:12:43 DEBUG[2116] channel.c: Driver for channel
'SIP/1000-0820fc88' does not support indication 8, emulating it
Jul 19 16:12:43 DEBUG[2116] channel.c: Scheduling timer at 160 sample
intervals
Jul 19 16:12:43 DEBUG[2116] channel.c: Generator got voice, switching to
phase locked mode
Jul 19 16:12:43 DEBUG[2116] channel.c: Scheduling timer at 0 sample
intervals
Jul 19 16:12:48 DEBUG[2116] channel.c: Scheduling timer at 0 sample
intervals
Jul 19 16:12:48 VERBOSE[2116] logger.c: == Spawn extension
(from-internal, *02, 106) exited non-zero on 'SIP/1000-0820fc88'
Jul 19 16:12:48 VERBOSE[2116] logger.c: -- Executing
Macro("SIP/1000-0820fc88", "hangupcall") in new stack
Jul 30 17:42:05 VERBOSE[6643] logger.c: -- Executing
Dial("SIP/3000-0817f840", "SIP/1000||t") in new stack
Jul 30 17:42:05 DEBUG[6643] chan_sip.c: Setting NAT on RTP to 524288
Jul 30 17:42:05 DEBUG[6643] chan_sip.c: Outgoing Call for 1000
Jul 30 17:42:05 VERBOSE[6643] logger.c: -- Called 1000
Jul 30 17:42:05 VERBOSE[6643] logger.c: -- SIP/1000-082200d8 is
ringing
Jul 30 17:42:05 DEBUG[6643] channel.c: Driver for channel
'SIP/3000-0817f840' does not support indication 3, emulating it
Jul 30 17:42:05 DEBUG[6643] channel.c: Scheduling timer at 160 sample
intervals
Jul 30 17:42:05 DEBUG[6643] channel.c: Generator got voice, switching to
phase locked mode
Jul 30 17:42:05 DEBUG[6643] channel.c: Scheduling timer at 0 sample
intervals
Jul 30 17:42:12 VERBOSE[6643] logger.c: -- SIP/1000-082200d8
answered SIP/3000-0817f840
Jul 30 17:42:12 DEBUG[6643] channel.c: Scheduling timer at 0 sample
intervals
Jul 30 17:42:17 DEBUG[6643] channel.c: Generator got voice, switching to
phase locked mode
Jul 30 17:42:17 DEBUG[6643] channel.c: Scheduling timer at 0 sample
intervals
Any suggestions as to what's going on?
Thanks in advance
Stirk, Lamont & Associates Ltd.
Registered Address: Thomas Andrews House, Queens Road, Belfast, BT3 9DU
Registered in Northern Ireland, Number: NI 47983. VAT Number: 832 2778 22
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
No comments:
Post a Comment