Menu

incoming calls with siproxd registration

Help
eddie
2011-11-22
2013-05-28
  • eddie

    eddie - 2011-11-22

    Hi,

    I've set up siproxd as a registraction proxy server, and I'm wondering if it is possible to receive incoming calls. (with outbound proxy host configured, I know, not recommended)

    I'm able to register but I can't receive any incoming calls. I've configured the authentication to be identical to the actual SIP server. Should this be possible ?

    This is my setup:

    SIP server (asterisk) ---> siproxd router -----> User agent

    config:

    if_inbound  = eth1
    if_outbound = tun0
    sip_listen_port = 5060
    daemonize = 1
    silence_log = 3
    user = siproxd
    chrootjail = /var/lib/siproxd/
    registration_file = /var/lib/siproxd/siproxd_registrations
    autosave_registrations = 300
    rtp_proxy_enable = 1
    rtp_port_low  = 7070
    rtp_port_high = 7089
    rtp_timeout = 300
    rtp_dscp = 46
    sip_dscp = 0
    rtp_input_dejitter  = 0
    rtp_output_dejitter = 0
    default_expires = 600
    proxy_auth_realm = 192.168.11.100
    proxy_auth_pwfile = /etc/siproxd_passwd.cfg
    debug_port = 0
    outbound_proxy_host = 192.168.11.100
    outbound_proxy_port = 5060
    plugindir=/usr/lib/siproxd/
    load_plugin=plugin_logcall.la
    plugin_demo_string = This_is_a_string_passed_to_the_demo_plugin
    plugin_shortdial_akey = *00
    plugin_shortdial_entry = 17474743246
    plugin_shortdial_entry = 17474745000
    plugin_defaulttarget_log = 1
    plugin_defaulttarget_target = sip:internal@dddd:port
    plugin_fix_bogus_via_networks = 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16

     
  • Thomas Ries

    Thomas Ries - 2011-11-23

    Hi,
    Any particular Wanrings or Errors in the log? Could you create a debug log for an incoming call and send it to me?

    Not clear to me is how the asterisk fits into the picture. If you setup siproxd as "registration proxy server", then siproxd itself will not register at any server. This means an incoming call must be directed towrds you public IP address.
    A debug log for an attempted incoming call should give enough information on what happens.

    /Thomas

     

Log in to post a comment.