[asterisk-users] Get a SHAKEN Identity Token

Joshua C. Colp jcolp at digium.com
Thu Jan 7 17:00:13 CST 2021


On Thu, Jan 7, 2021 at 6:50 PM Alexander Perkins <
alexanderhenryperkins at gmail.com> wrote:

> Hi All.  We have old Asterisk servers, 1,89, (we cannot upgrade because of
> several reasons) and we are now implementing SHAKEN via our provider.  We
> place a SIP call to our provider and they return a 302 (information
> below).  I am trying to get the X-Identity information below, but I do not
> seem to be able to do so.  Can somebody help me with this?  Any suggestions
> on how to get it?
>
> Thank you, All.  Very much appreciated!
>
> <--- SIP read from UDP:XXX.XXX.XXX.XXX:5060 --->
> SIP/2.0 302 STIR/SHAKEN
> Via: SIP/2.0/UDP
> XXX.XXX.XXX.XXX:5066;received=XXX.XXX.XXX.XXX;branch=z9hG4bK37b49c97;rport=5066
> From: "12125551212" <sip:12125551212 at XXX.XXX.XXX.XXX:5066>;tag=as0026c4e3
> To: <sip:12125551213 at XXX.XXX.XXX.XXX
> >;tag=bcaa-20103108495689bb4065d39c43badb69
> Call-ID: 6755a4484427f12b0e56d6903fe50ae4 at XXX.XXX.XXX.XXX:5066
> CSeq: 102 INVITE
> X-Identity:
> eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9jZXJ0aWZpY2F0ZXMuY2xlYXJpcC5jb20vZmRmYjMzMjgtYjc1NC00YTBkLThiMzQtZGUzMGIwOGFkYWMyLzQ3NmMyODliYTgxY2QxNWU3MjBmNzkxOWM5NGU5MzU2LmNydCJ9.eyJhdHRlc3QiOiJBIiwiZGVzdCI6eyJ0biI6WyIxMjU2NTI3NjIwMSJdfSwiaWF0IjoxNjEwMDU2MDE3LCJvcmlnIjp7InRuIjoiMTI1NjkwNjQ5NTUifSwib3JpZ2lkIjoiMGFlODFjZWQtYzhlZS00ZWFiLTliNjAtMDY3OWM0Y2Q1MjUwIn0.lr3uj0fmlHbSori-msdbvKu5SQrVnLA-ZMswCY_dLk79jrpr1yFhWmL4GiAr16VtMKVSamQ-0bi3Pptoi7TUfw;info=<
> https://certificates.clearip.com/fdfb3328-b754-4a0d-8b34-de30b08adac2/476c289ba81cd15e720f7919c94e9356.crt
> >;alg=ES256;ppt=shaken
> Server: TILTX Technology Innovation Lab SHAKEN
> Content-Length: 0
>

The chan_sip module does not provide the ability to access this
information, 'nor does chan_pjsip in recent versions.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210107/b6ca6ac8/attachment.html>


More information about the asterisk-users mailing list