[asterisk-users] Odd DTMF problem when receiving calls
Christopher David Howie
me at chrishowie.com
Fri Jan 20 15:34:57 CST 2012
Thanks for the reply David, this clarifies a lot for me.
On 01/10/2012 08:28 PM, David Backeberg wrote:
> Wheee. You don't say anything about what 'company PBX' is, so we just
> have to guess based on your description. Based on your description,
> your 'company PBX' requires that the endpoints it communicates be
> registered before-hand. Having a definition for the sip peer in
> asterisk makes asterisk continually register with the 'company PBX'.
The company's PBX is ININ (Interactive Intelligence IC).
> So it is not necessarily your case that you think it is, that rfc2833
> is required, but rather that for 'company PBX', any sip endpoint must
> first be registered. Both asterisk and 'company PBX' probably support
> large numbers of possible DTMF or signaling possibilities, and it's
> not surprising that you can get away with several possible values.
I'm fairly certain that RFC2833 is required, as the client software
clearly indicates that the connection was dropped due to lack of RFC2833
support:
17:53:23: Initializing
17:53:23: Sent to user Chris.Howie
17:53:23: Outbound Call: me at myserver.example.com
17:53:23: Dialing
17:53:26: Disconnected [RFC 2833 Required]
It appears that, by registering, Asterisk is able to ascertain what
capabilities the peer supports and wants, and so it knows to offer the
telephone-event stream to incoming calls. Since the SIP dialog differs
in how Asterisk responds to the incoming call (it offers telephone-event
only when the peer is defined in sip.conf), this seems like the case to
me. Does that seem reasonable, or am I missing a piece of the puzzle?
If this is the case, how would I get Asterisk to offer telephone-event
on incoming calls without having to register every ININ-based PBX that
might call me? (This is more theoretical than practical, as I doubt
that any ININ PBX is going to call me over SIP.)
> If you do 'sip show peers', with and without the config in your
> sip.conf (use ; to comment it out and 'sip reload' to commit your
> changes), you should be able to verify that THIS is the real
> problem.
One of the things I discovered during testing is that if I remove the
peer and issue "sip reload" then incoming calls are still accepted. I
have to completely restart the Asterisk daemon to get it to forget about
the peer definition.
> And no, this is not an asterisk bug.
I suspected that it wasn't, which is why I asked here first instead of
using the bug tracker. :)
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/
PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5
------------------------------------------------------------------------
IMPORTANT INFORMATION/DISCLAIMER
This document should be read only by those persons to whom it is
addressed. If you have received this message it was obviously addressed
to you and therefore you can read it.
Additionally, by sending an email to ANY of my addresses or to ANY
mailing lists to which I am subscribed, whether intentionally or
accidentally, you are agreeing that I am "the intended recipient," and
that I may do whatever I wish with the contents of any message received
from you, unless a pre-existing agreement prohibits me from so doing.
This overrides any disclaimer or statement of confidentiality that may
be included on your message.
More information about the asterisk-users
mailing list