FreePBX | Register | Issues | Wiki | Portal | Support

P-Asserted ID with Nextiva, use with different CIDs

Tags: #<Tag:0x00007f749df96ac8>

(Cesar Garcia) #1

I am using this code

exten => s,1,SipAddHeader(P-Asserted-Identity:<sip:${CALLERID(num)}>) exten => s,n,MacroExit()

to add the caller id to the SIP header, but I need an extension this one being ext 4012, to dial out of a different CID, but with this code I am assigning this PID to all the extensions. How can I add a specific PID to an extension?