diff -NaurbB old/chan_sip.c new/chan_sip.c --- old/chan_sip.c 2009-01-15 17:09:03.000000000 +0000 +++ new/chan_sip.c 2009-01-16 09:26:46.000000000 +0000 @@ -18613,7 +18613,7 @@ make_our_tag(p->tag, sizeof(p->tag)); /* First invitation - create the channel */ - c = sip_new(p, AST_STATE_DOWN, S_OR(p->username, NULL)); + c = sip_new(p, AST_STATE_DOWN, p->peername); *recount = 1; /* Save Record-Route for any later requests we make on this dialogue */