Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:06 2007

Asterisk developer's documentation :: Codename Pineapple


chan_sip3 :: The SIP dial string

PBX interface function -build SIP pvt structure

Note:
SIP calls initiated by the PBX arrive here
The SIP dial string is what is used in the dial plan, extensions.conf.

Currently:

In SIP3:

This means that old dial plans will not be compatible with the new channel.

The dialstring can be divided into parts

The To: header and the request URI
It's not easy to determine the contents of the to: header. Will it be the same as the extension dialled into the PBX?

The To: header will contain the extension dialed. The DNID given in the destination option will be used in the To: header, with local domain or domain included in DNID

dial(SIP/object!user.com)

will dial the object and use To: user@example.com in the To:-header

dial(SIP/object!user)

Will have To: user

dial(/SIP/sip:user!12345)

Will use "user@domain" as the Request URI and set 12345 as the destination of the call in the To: header


Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen