[OpenSIPS-Users] OpenSER as reverse proxy / relay, external to internal

Adam Goldberg ensnare at gmail.com
Tue Oct 21 16:55:14 CEST 2008


Hi -- Maybe a better question to ask is: does anyone have a sample
config or know of a sample config that I could reference to configure
a reverse proxy / gateway setup like this?

Thanks,
Adam





On Fri, Oct 17, 2008 at 11:47 PM, Adam Goldberg <ensnare at gmail.com> wrote:
> Hi -- the logs are below !
>
> Oct 17 17:45:39 [31493] DBG:core:parse_msg:  method:  <INVITE>
> Oct 17 17:45:39 [31493] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:39 [31493] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:39 [31493] DBG:core:parse_headers: flags=2
> Oct 17 17:45:39 [31493] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:39 [31493] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:39 [31493] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:39 [31493] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:39 [31493] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:39 [31493] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:39 [31493] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:39 [31493] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:39 [31493] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:39 [31494] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:39 [31494] DBG:core:parse_msg:  method:  <INVITE>
> Oct 17 17:45:39 [31494] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:39 [31494] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:39 [31494] DBG:core:parse_headers: flags=2
> Oct 17 17:45:39 [31494] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:39 [31494] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:39 [31494] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:39 [31494] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:39 [31494] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:39 [31494] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:39 [31494] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:39 [31494] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:39 [31494] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:40 [31495] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:40 [31495] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:40 [31495] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:40 [31495] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:40 [31495] DBG:core:parse_headers: flags=2
> Oct 17 17:45:40 [31495] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:40 [31495] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001b48f90775737a01730000000b>;
> state=16
> Oct 17 17:45:40 [31495] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:40 [31495] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:40 [31495] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:40 [31495] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:40 [31495] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:40 [31495] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:40 [31495] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:40 [31492] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:40 [31492] DBG:core:parse_msg:  method:  <INVITE>
> Oct 17 17:45:40 [31492] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:40 [31492] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:40 [31492] DBG:core:parse_headers: flags=2
> Oct 17 17:45:40 [31492] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:40 [31492] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:40 [31492] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:40 [31492] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:40 [31492] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:40 [31492] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:40 [31492] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:40 [31492] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:40 [31492] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:42 [31493] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:42 [31493] DBG:core:parse_msg:  method:  <INVITE>
> Oct 17 17:45:42 [31493] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:42 [31493] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:42 [31493] DBG:core:parse_headers: flags=2
> Oct 17 17:45:42 [31493] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:42 [31493] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:42 [31493] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:42 [31493] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:42 [31493] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:42 [31493] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:42 [31493] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:42 [31493] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:42 [31493] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:44 [31494] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:44 [31494] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:44 [31494] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:44 [31494] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:44 [31494] DBG:core:parse_headers: flags=2
> Oct 17 17:45:44 [31494] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:44 [31494] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001b48f90775737a01730000000b>;
> state=16
> Oct 17 17:45:44 [31494] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:44 [31494] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:44 [31494] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:44 [31494] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:44 [31494] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:44 [31494] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:44 [31494] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:44 [31495] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:44 [31495] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:44 [31495] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:44 [31495] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:44 [31495] DBG:core:parse_headers: flags=2
> Oct 17 17:45:44 [31495] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:44 [31495] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:44 [31495] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:44 [31495] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:44 [31495] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:44 [31495] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:44 [31495] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:44 [31495] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:44 [31495] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:45 [31492] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:45 [31492] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:45 [31492] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:45 [31492] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:45 [31492] DBG:core:parse_headers: flags=2
> Oct 17 17:45:45 [31492] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:45 [31492] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:45 [31492] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:45 [31492] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:45 [31492] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:45 [31492] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:45 [31492] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:45 [31492] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:45 [31492] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:46 [31493] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:46 [31493] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:46 [31493] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:46 [31493] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:46 [31493] DBG:core:parse_headers: flags=2
> Oct 17 17:45:46 [31493] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:46 [31493] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:46 [31493] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:46 [31493] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:46 [31493] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:46 [31493] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:46 [31493] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:46 [31493] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:46 [31493] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:48 [31494] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:48 [31494] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:48 [31494] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:48 [31494] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:48 [31494] DBG:core:parse_headers: flags=2
> Oct 17 17:45:48 [31494] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:48 [31494] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:48 [31494] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:48 [31494] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:48 [31494] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:48 [31494] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:48 [31494] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:48 [31494] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:48 [31494] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:52 [31495] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:52 [31495] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:52 [31495] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:52 [31495] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:52 [31495] DBG:core:parse_headers: flags=2
> Oct 17 17:45:52 [31495] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:52 [31495] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:52 [31495] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:52 [31495] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:52 [31495] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:52 [31495] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:52 [31495] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:52 [31495] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:52 [31495] DBG:core:receive_msg: cleaning up
> Oct 17 17:45:56 [31492] DBG:core:parse_msg: SIP Request:
> Oct 17 17:45:56 [31492] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:45:56 [31492] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:45:56 [31492] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:45:56 [31492] DBG:core:parse_headers: flags=2
> Oct 17 17:45:56 [31492] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:45:56 [31492] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:45:56 [31492] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:45:56 [31492] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:45:56 [31492] DBG:core:parse_headers: this is the first via
> Oct 17 17:45:56 [31492] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:45:56 [31492] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:45:56 [31492] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:45:56 [31492] DBG:core:receive_msg: cleaning up
> Oct 17 17:46:00 [31493] DBG:core:parse_msg: SIP Request:
> Oct 17 17:46:00 [31493] DBG:core:parse_msg:  method:  <CANCEL>
> Oct 17 17:46:00 [31493] DBG:core:parse_msg:  uri:
> <sip:5029 at external.example.com>
> Oct 17 17:46:00 [31493] DBG:core:parse_msg:  version: <SIP/2.0>
> Oct 17 17:46:00 [31493] DBG:core:parse_headers: flags=2
> Oct 17 17:46:00 [31493] DBG:core:parse_via_param: found param type
> 235, <rport> = <n/a>; state=6
> Oct 17 17:46:00 [31493] DBG:core:parse_via_param: found param type
> 232, <branch> = <z9hG4bK0a000a650000001e48f90783195e155e0000000c>;
> state=16
> Oct 17 17:46:00 [31493] DBG:core:parse_via: end of header reached, state=5
> Oct 17 17:46:00 [31493] DBG:core:parse_headers: via found, flags=2
> Oct 17 17:46:00 [31493] DBG:core:parse_headers: this is the first via
> Oct 17 17:46:00 [31493] DBG:core:receive_msg: After parse_msg...
> Oct 17 17:46:00 [31493] DBG:core:receive_msg: preparing to run routing
> scripts...
> Oct 17 17:46:00 [31493] DBG:core:destroy_avp_list: destroying list (nil)
> Oct 17 17:46:00 [31493] DBG:core:receive_msg: cleaning up
>



More information about the Users mailing list