[asterisk-users] SIPAddHeader in .call file

Steve Johnson stevej456 at gmail.com
Sat Jan 19 19:15:44 CST 2008


Sorry to answer my own post, but I have found a solution which perhaps
others can use too...

In the .call file, instead of specifying a channel line as:

  chan: SIP/140      (for example)

use instead:

  chan: Local/140 at polycom-paging

and put in extensions.conf

[polycom-paging]
exten => _1XX,1,NoOp(Paging Ext ${EXTEN})
exten => _1XX,n,SIPAddHeader(Alert-Info: Ring Answer)
exten => _1XX,n,Dial(SIP/${EXTEN},20,L(60000))
exten => _1XX,n,Hangup


Steve Johnson wrote:
> Hi everyone,
>
> How can I add the equivalent of:
>
>        exten => s,n,SIPAddHeader(Alert-Info: Ring Answer)
>
> in a .call file?  This is to support paging to Polycom phones...
>
> Thanks for all info!
>
> Steve
>



More information about the asterisk-users mailing list