HTTP URI in Contact Header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 5, 2008 at 12:49 PM, Juri Gla? <juri.glass at dai-labor.de> wrote:
> Hi
>
> Unfortunately sip messages with a http contact header are dropped by pjsip, but in the BNF for SIP from RFC 3261 any uri's are allowed.
> I looked at the code and I found only parsers for sips and sip uriI's.

  .. and tel: URI.

> Has anybody wrote a http parser for pjsip?
> Or can somebody tell me if there is something to pay attention to if I wrote a http uri parser?
>

The easiest of course is to just grab the whole HTTP URI as is without
parsing it, assuming that you'll just feed the URI to some other
module which is capable of parsing it. Or maybe we could add a class
to parse unsupported URIs (and this class would basically just grab
the whole URI unparsed).

But regardless of how to implement it, I think the pjsip_uri
abstraction is generic enough to cope with it. Please refer to the Dev
Guide PDF for more information regarding the URI classes.

Cheers
 Benny



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux