[asterisk-dev] IAX Hardphone (again)

Tilghman Lesher tilghman at meg.abyt.es
Sat Dec 3 13:20:18 CST 2011

On Sat, Dec 3, 2011 at 9:56 AM, Bill Shaw <b.shaw at comcast.net> wrote:
> Initially I thought the issue might be that I had not implemented call
> tokens - they weren't called out in the RFC so I missed it in the first
> round.  I added in call tokens last week,  but get the same result -
> Asterisk just ignores my 'new' - no error message,  no indications at all
> that anything is wrong - just ignores the packet.

If you're transmitting the CALLTOKEN IE in the initial NEW, that's what's
wrong.  You have to first send a NEW packet without the CALLTOKEN,
receive the response back (from source call 1), then retransmit the NEW
with the CALLTOKEN from that received packet appended to your NEW.

But a packet capture would definitely confirm that this is the problem.  The
fact that you're not receiving anything back suggests that the NEW
contained a CALLTOKEN that the receiving end could not validate, and
thus, no further contact was warranted.

More information about the asterisk-dev mailing list