Listening to 403 Forbidden Response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Please take a look at my code at  http://pastebin.mozilla.org/657836. At 
line 160, I want to execute a conditional statement when a response to 
sent SIP MESSAGE is 403/Forbidden. That is,

                if(status == 403){
                strcpy(sender, to->ptr);
                strcpy(sentURL, "Web session transfer blocked");
                }


How can I go about it? The current implementation does not work?

Thanks in advance.
Michael.



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux