Who generate response 402 Payment Required

Hello everyone,

I need send response 402 “Payment Required” for my customers.

I use Asterisk 1.8 and phpagi.

Best regards
Adilson Magnus

Wrong forum. Use support forums for support.

402 is not supported. You will need to modify cause2sip in chan_sip.c and recompile.

It is handled as a default AST_CAUSE_INTERWORKING for inbound calls. This is used for all unrecognized 4xx and 6xx codes.