How to get the parameter


#1

How to get the SIP inound parameter, same as:

From: sip:852xxxxxxxx@xxx.xxx.xxx.xxx;tag=168C5B18-25AE
To: sip:3020xxx@xxx.xx.xxx.xx;tag=as1264f8c8
Call-ID: 2CF18116-28C511DA-A785928F-F194A2CE@xxx.xxx.xxx.xxx
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: sip:s@xx.xxx.xx.xxx
Content-Type: application/sdp
Content-Length: 162

I want to get the “To:” DID number parameter for differentiate which number coming. anyone can help? Thank you so much.


#2

Anybody can help me??