[SR-Users] Problem implementing Outbound Proxy

Benedito Marques benedito.marques1 at gmail.com
Fri Nov 26 10:56:17 CET 2021


I solve this problem in Asterisk putting the outbound_proxy parameter in
pjsip.conf.

outbound_proxy = sip:<kamailio_ip:5060>

On Tue, Nov 23, 2021, 11:32 AM Christoph Russow <russow at emtex.de> wrote:

> Hi all,
>
> im currently trying to add a Outbound Proxying to our system which right
> now does inbound loadbalancing for our application servers.
>
> Current:
> Inbound SIP Trunk -> Kamailio -> dispatcher -> ApplicationServer 1..n
>
> i now want to add the ability for our internal Application Servers to
> terminate their outbound calls through the kamailio system.
>
> currently i've setup a gateway in the (freeswitch) application server
> that has the kamailio system set as outbound-proxy. this leads to sip
> calls started with
>
> originate sofia/gateway/kamailio/<number>@<outbound carrier IP>
>
> to be sent to the kamailio system which then forwards it to the given
> carrier IP. Sadly our main carrier answers with "503 service unavailable
> - no bandwith available". (maybe due to the internal ip-addresses within
> some of the headers?)
>
> i've attached our current kamailio configuration and also a pcap of a
> call i tried to start with our main carrier.
>
> i tried this way as it seemed to be the easiest way so our application
> servers still can select the outbound carrier within their flow.
>
> maybe i'm on the wrong way here and need to solve this problem in a
> completely different way i don't know.
>
> TLDR: sip proxying does not work as expected. need a way to achieve
> outbound calls routed through kamailio from internal application servers
>
> any hint/help into the right direction is appreciated
>
> Best Regards
> Christoph Russow
>
> --
> ________________________________________________________________
>
> EMTEX GmbH
> Christoph Russow
> Software Engineer
>
> Bischof-Otto-Weg 9
> D-91086 Aurachtal
>                             Geschäftsführer:       Markus Enzinger
> Tel. +49 9132 7490 0      Sitz der Gesellschaft: 91086 Aurachtal
> Fax. +49 9132 7490 900    Amtsgericht Fürth:     HRB6804
>
> __________________________________________________________________________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211126/3a3580d7/attachment.htm>


More information about the sr-users mailing list