[asterisk-users] Retaining P-Asserted Info
    Matthew Jordan 
    mjordan at digium.com
       
    Mon Feb 17 06:15:26 CST 2014
    
    
  
On Mon, Feb 17, 2014 at 4:29 AM, Nick Cameo <symack at gmail.com> wrote:
> Hello Ishfaq,
>
> I just tried it and it did create a P-Asserted header however it
> contains the extension
> of the asterisk peer not what was passed by our switch. From the
> previous example:
>
> P-Asserted-Identity: "222" <sip:222 at 192.168.2.10> (which is asterisk
> peer extension and not)
> P-Asserted-Identity: "John Doe"
> <sip:14167493471 at toronto.location.com>; user=phone; nat=yes. (which is
> being passed by the call leg)
>
> Is there a flag that retains the rpid from the call leg?
>
No. Asterisk is a back to back user agent, not a proxy. Overriding the
settings of a peer with the peer that it is bridged with is typically
contrary to Asterisk's nature. If you want to copy information from
one SIP channel to another, you should do as Markus suggested.
Matt
    
    
More information about the asterisk-users
mailing list