[asterisk-dev] dial url with sip

James Cloos cloos at jhcloos.com
Mon Jun 2 16:22:34 CDT 2014


>>>>> "DG" == Dennis Guse <dennis.guse at qu.tu-berlin.de> writes:

DG> If you are in control of the SIP-Phone, you could pass additional
DG> information via SIPAddHeader in your dialplan.

Thanks.  That turns out to be exactly what I wanted.

I've spent the last few years at a lower level, including when working
with voip software.  The last few weeks I've been remembering and/or
relearning the higher-level operational details of several of the floss-
licensed voip projects.

For the benefit of the archive, add a sip header by calling SIPAddHeader
before Dial, such as:

  same => n,SIPAddHeader(URL:https://example.com/sip)
  same => n,Dial(SIP/target/${EXTEN})

-JimC
--
James Cloos <cloos at jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6



More information about the asterisk-dev mailing list