Hello,

i' ve tried to write something like this in my callback function:

void app_callback(nua_event_t event,
                  int status,
                  char const *phrase,
                  nua_t *nua,
                  nua_magic_t *magic,
                  nua_handle_t *nh,
                  nua_hmagic_t *hmagic,
                  sip_t const *sip,
                  tagi_t tags[])
{
    printf ("I have received an event %s status %d %s\n", 
            nua_event_name (event), status, phrase);

    if (event == nua_r_register)
    {
        nua_authenticate(nh, NUTAG_AUTH("Digest:Asterisk:xxx:pws"),TAG_END());
    }
    
}

by executing i get following message: status 904 No matching challenge.

What's the meaning and how can i resolve it.
Thank you for your help.


      
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to