[asterisk-users] Retaining P-Asserted Info

Eric Wieling EWieling at nyigc.com
Mon Feb 17 10:06:16 CST 2014

Asterisk is a B2BUA -- think of it as two calls, one inbound call from your switch to Asterisk and one for outbound call from Asterisk to the destination.

Using SIPAddHeader or similar is the proper way to copy headers from the inbound call to the outbound call in Asterisk.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nick Cameo
Sent: Sunday, February 16, 2014 3:29 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Retaining P-Asserted Info

Hello Markus,

Thank you so much for your response. Our switch is already generating the needed P-Asserted header:

P-Asserted-Identity: "John Doe"
<sip:14167493471 at toronto.location.com>; user=phone; nat=yes.

I really did not want to have to rebuild it using `SIPAddHeader` however, if I have no choice, can someone please provide an extension rule that will include the exiting inbound leg line above in the outbound leg.

Kind Regards,


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-users mailing list