I'm trying to implement a SIP client for a Call Center software based on asterisk. Is there any SIP Code in response when I call a number that is not in service? Or another way to recognize it from a SIP session message?
It doesn't matter if this code exist or not.
Most provider not care and return 503 for any case when they can't deliver call.
You can check for your provider by enable SIP debug and test.