John Kiniston wrote:
Howdy,

Kia ora,

I'm trying to re-write my voicemail check extension.

I formerly used the SIPPEER function to get the mailbox for a peer with
${SIPPEER(${peer},mailbox)}

Is there a way to do this with PJSIP now that I've converted over?

I see a function PJSIP_ENDPOINT and it has a mailboxes subset but I'm
not retrieving any data from it when I query it.

What is your pjsip.conf like for the endpoint and AOR? (Where have you configured it). If specified on the AOR then it won't be accessible via PJSIP_ENDPOINT and there is not, as of yet, a dialplan function for querying for AOR information.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to