Capture SIP response using PRI server:

Hello,

I am able to capture SIP responses when I don’t use asterisk with PRI but when I use asterisk with PRI I am unable to capture SIP responses. Why it is so ?
Is there any other technique to capture SIP response with PRI ?

I am using below line in extension to call:

I am using below line in extensino to capture SIP response:

PRI doesn’t use SIP and therefore there are no SIP responses to capture. On the otherhand, you will get ${HANGUPCAUSE} set accurately, and you can always extract the switch in the source code that maps these to SIP status codes, or you can use the table from the SIP/ISDN interworking RFC, which might differ slightly.

Ohkays…!!!
Here, Hangupcause is working properly.
Thanks a lot…!!