[Asterisk-Users] Bug with SIP and indications?

Stephen Davies steve at daviesfam.org
Sun Jun 15 14:03:30 MST 2003


Hi,

I'm having trouble using "Ringing" with a SIP client.  I'm trying to
give the caller the impression that the line hasn't been answered,
whilst listening for various extensions to be dialled.

Here's is the extension:

exten => s,1,Wait(1)
exten => s,2,Answer
exten => s,3,DigitTimeout,3
exten => s,4,ResponseTimeout,5
exten => s,5,Ringing

There are various extensions that can be dialled.  For example, I have
one that calls another SIP target.

I've got two problems:

The first is cosmetic:- is there any way to get the Ringing to work
like Background, and turn off the Ringing indication once digits start
being dialled?

The second is a show-stopper, though: As soon as Asterisk tries to
connect to another SIP destination, I see in the log:

WARNING[27662]: File chan_sip.c, Line 957 (sip_write): Asked to
transmit frame type 64, while native formats is 4 (read/write = 8/4)

And Asterisk drops the connection.

Any advice for me?

Steve





More information about the asterisk-users mailing list