[SR-Users] Changing outgoing/source port

Carsten Bock carsten at ng-voice.com
Mon Feb 25 17:49:38 CET 2013


Hi Efelin,

please check the force_send_socket() method from core, it does exactly
what you want:
http://www.kamailio.org/wiki/cookbooks/devel/core#force_send_socket

Kind regards,
Carsten

2013/2/25 Efelin Novak <efelin.novak at gmail.com>:
> Hi,
>
> I'd like to ask whether I am able to change an outgoing port. I'm
> using t_relay for outgoing INVITEs & Kamailio uses 5060 port defined
> in listen. When the call fails I am rerouting it using append_branch
> and I'd like to change an outgoing port to 5061. The reason I'd like
> to do this is a Loop detection of my buggy VoIP/analog gateway.
>
> Am I able to specify an outgoing interface/port for t_relay in
> Kamailio or should I find an another gateway? :)
>
> Thanks for help
>
> Kind regards
>
> Efelin
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
Carsten Bock
CEO (Geschäftsführer)

=============================================================
Visit us on the Kamailio World 2013, 16./17. April 2013
=> http://conference.kamailio.com/k01/                             See
you there!
=============================================================

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Office +49 40 34927219
Fax +49 40 34927220

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/



More information about the sr-users mailing list