<blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=45891382" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/maryamb99">@maryamb99</a> - have you set the username and password before uac_req_send() -- see the attributes at:</p>
<ul>
<li><a href="https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#uac_req_key" rel="nofollow">https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#uac_req_key</a></li>
</ul>
<p>The CSeq is incremented automatically when getting the 401/407.</p>
</blockquote>
<p>I need something like $uac_req(method) which let me to assign new value to CSeq header of my new packet but it isn't defined in structure of uac module and I added this part in source of uac and tm modules<br>
according to my observations , always CSeq number is 10 in type of my requirements and my definitions , not incremental after receiving 401</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1768#issuecomment-447856359">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZfjfIMnhmeTVFGDlbCKVAfLFknhjks5u56QHgaJpZM4ZUmBV">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZbPphtuKWR6SQPAatfhAww_qRFeGks5u56QHgaJpZM4ZUmBV.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@maryamb99 in #1768: \u003e @maryamb99 - have you set the username and password before uac_req_send() -- see the attributes at:\r\n\u003e \r\n\u003e * https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#uac_req_key\r\n\u003e \r\n\u003e The CSeq is incremented automatically when getting the 401/407.\r\n\r\nI need something like $uac_req(method) which let me to assign new value to CSeq header of my new packet but it isn't defined in structure of uac module and I added this part in source of uac and tm modules \r\naccording to my observations , always CSeq number is 10 in type of my requirements and my definitions , not incremental after receiving 401"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1768#issuecomment-447856359"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1768#issuecomment-447856359",
"url": "https://github.com/kamailio/kamailio/issues/1768#issuecomment-447856359",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>