[asterisk-users] How does Asterisk use SIP info command

Philipp Kempgen philipp.kempgen at amooma.de
Thu Feb 22 15:40:44 MST 2007


Olle E Johansson wrote:
> 22 feb 2007 kl. 19.34 skrev Philipp Kempgen:

>> I thought it might be useful to be able to ask Asterisk for the
>> current SIP CSeq through the Manager API in order to send your
>> own SIP messages during a call outside of Asterisk (for AOC,
>> whatever). Each time you ask for the CSeq Asterisk should increment
>> the value so it does not get out of sync.
>> Anyone sharing my opinion? We might open a feature request.
> 
> We're trying to keep the Asterisk architecture multiprotocol and do
> things in a uniform way from the dialplan.
> 
> Things like this would certainly break that, since it is very SIP- 
> specific.
> Better to implement needed functionality in Asterisk.

Thanks for you reply. That's basically what you have said more
than once on the bug tracker. :)

Clearly SIP is not my favorite protocol as you need to go through
several hundreds of pages of documentation or even more in order
to implement it. And there are already too many different more or
less (in)compatible implementations around.
Thus I like the idea of taking a more generic approach instead
of functions and applications specific to a channel driver.

On the other hand people are waiting for quick solutions to
blinking Snom lights and AOC without really caring for the
whole picture.

> How would a multiprotocol interface from the dialplan to something
> like INFO look like?

I don't have an answer to this right now as CSeq and other headers
are SIP specific.

Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
     Let's use IT to solve problems and not to create new ones.
           Asterisk -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


More information about the asterisk-users mailing list