Paging in PJSIP with aastra phone?

Has anybody been able to page an Aastra phone with PJSIP? My model is a 6731i.

I can page Cisco phone with the following… but the Aastra will not auto-answer my page:

;Page
exten => *71,1,Verbose(2,Paging)
same => n,Page(PJSIP/2000,ib(paging_handler^addheader^1))
same => n,Hangup()

;Predial handler
[paging_handler]
exten => addheader,1,Set(PJSIP_HEADER(add,Call-Info)=;Answer-After=0)
same => n,Return()

Can the phone auto-answer at all?

How do you tell it to auto-answer? (There is no official standard for this.)

Auto-answer is a security risk; have you disabled the safeties on the phone?

1 Like

Yes the phone has the auto-answer enabled in the web interface.

How do you tell it to auto-answer?

That’s pretty much what I want to know. what is the sip header that the phones needs to see?

That information is usually provided by the vendor or their support channel

Apparently, Aastra has been sold to Mitel so it could be hard to have support.

A deep google search my help you, this is a commun question that maybe has been asked and aswered before by other Aastra users

I finally found how to page an Astraa phone, in case someone ever needs to do it:
It looks like I was missing the escape backslash.

;Page Astraa phone
exten => *71,1,Verbose(2,Paging)
same => n,Page(PJSIP/2005,ib(paging_handler^addheader^1))
same => n,Hangup()

;Predial handler
[paging_handler]
exten => addheader,1,Set(PJSIP_HEADER(add,Call-Info)=;answer-after=0)
same => n,Return()

1 Like

I dont see any scape

[paging_handler]
exten => addheader,1,Set(PJSIP_HEADER(add,Call-Info)=\;answer-after=0)
same => n,Return()

I think the Forum ate his markup, I believe it should look like above with the backslash before the semi colon so that Asterisk does not think the ‘answer-after=0’ portion of his line is a comment.