[SR-Users] Dispatcher and SUBSCRIBE issue

Barry Flanagan barry at flanagan.ie
Thu Apr 8 14:43:13 CEST 2021


On 08/04/2021 13:07, Daniel-Constantin Mierla wrote:
> Normally one should do loose_route() for requests within dialog if
> record_route is done for initial requests in a SIP proxy, in order to
> consume the Route headers. If you know that next hop is an endpoint and
> its routing is not influenced by Route headers, probably you can skip
> loose_route(), but I would do it to be proper SIP processing, or at
> least remove the Route header with remove_hf().
>
> On the other hand, I just noticed in your first message that you wanted
> to update R-URI, and that is done by ds_select_domain(). The
> ds_select_dst() update dst uri (outbound proxy address).


Thanks, I'll try ds_select_domain.

-Barry


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB1C81B216B50A825.asc
Type: application/pgp-keys
Size: 3066 bytes
Desc: OpenPGP public key
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210408/c00a2cfd/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210408/c00a2cfd/attachment.sig>


More information about the sr-users mailing list