--- chan_sip.c.orig 2009-08-10 21:30:55.000000000 +0200 +++ chan_sip.c 2009-10-06 20:35:34.000000000 +0200 @@ -22090,6 +22090,8 @@ inet_aton(v->value, &(peer->addr.sin_addr)); } else if (realtime && !strcasecmp(v->name, "name")) ast_copy_string(peer->name, v->value, sizeof(peer->name)); + else if (realtime && !strcasecmp(v->name, "useragent")) + ast_copy_string(peer->useragent, v->value, sizeof(peer->useragent)); else if (realtime && !strcasecmp(v->name, "fullcontact")) { if (alt_fullcontact && !alt) { /* Reset, because the alternate also has a fullcontact and we