Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want to be able to send SIP packets to different SIP servers using different local identities. Any tips on how this is best handled with this stack?

0
Posted

I want to be able to send SIP packets to different SIP servers using different local identities. Any tips on how this is best handled with this stack?

0

The way to do this through the router. Note that you can specify a Router class implementation when the stack is created. The Router sets up the path to the next hop. In your Router, look at the user trying to set up the call and return the Hop implementation corresponding to the gateway to which that user should be pointed to. Note also that the Router is only used to route requests out of dialog – which is to say it is used for pre-dialog establishment, requests that dont belong to any particular dialog and stateless requests.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123