Siproxd Pf2.0.2 - Registration Issue



  • Hello,

    I'm having trouble getting my VoIP phone to work with siproxd.  If I keep rebooting the FW and phone it will sometimes connect, but I'm not 100% sure this a predictable pattern.    When the phone is working the "Registered Phones" section of siproxd never shows any phone details, so It seems siproxd is not being used?

    If I remove the phone from the VoIP-LAN and place on the Office-VLAN then the phone connects (does not show in siproxd - I would not expect it too)

    Currently setting up one phone, but have a stack of various makes/models I'd like to test out, very happy to feed this information back

    Hopefully someone can give a little guidance to where I might have gone wrong?

    Some Relevant Details

    I have Pfsense 2.0.2 AMD64
    siproxd, nut, RDD Summary packages installed
    snom370/7.3.30 on VLAN203 (switch port untagged), Phone receives dhcp info ok
    Two WAN and Multiple LAN (All VLANs)
    Several External IP Aliases
    AON enabled with 11 rules, one of which:
    Int: WAN1  Source: VOIP-VLAN Subnet * * * NAT: IP Alias * Static: NO  (Has been switched to yes aswell)
    Gateway Groups:  WAN1 vs WAN2 / WAN2 vs WAN1 / LoadBalance

    [Text in square brackets has been masked]

    siproxd config

    Inbound: VOIPVLAN
    Outbound: WAN1
    Listening: 5060
    Expire : 300
    RTP Proxy On (Have also tried off)
    RTP Lower: 7070
    RTP Upper: 7170
    RTP Stream timeout: 300
    Expedited RTP & SIP: Both on (Have also tried off)

    Start siproxd

    siproxd[36694]: siproxd.c:349 INFO:siproxd-0.8.0-5472 amd64-portbld-freebsd8.1 started
    siproxd[36694]: sock.c:131 INFO:bound to port 5060
    siproxd[36694]: plugins.c:112 INFO:Plugin 'plugin_logcall' [Logs calls to syslog] loaded with success, exemask=0x40
    siproxd[36694]: siproxd.c:295 INFO:daemonized, pid=36694
    siproxd[36340]: siproxd.c:247 INFO:siproxd-0.8.0-5472 amd64-portbld-freebsd8.1 starting up
    php: /status_services.php: The command '/usr/local/etc/rc.d/siproxd.sh stop' returned exit code '1', the output was 'No matching processes were found'

    Phone Config

    Account/Auth details known to work
    Registrar: Set to external fqdn internet host
    Outbound Proxy: none  (have also tried fqdn internet host)
    SIP>Server Type Support: Asterisk (Also tried default, both are known to work)
    NAT>  No settings
    RTP>  RTP Encryption: Off

    Phone Results

    Identity 1 Status: 501@[Internet Based FQDN HOST]: Network Failure
    DNS: Is resolving

    [5] 11/4/2013 10:04:39:Add dirty host: udp/[Internet Based FQDN HOST]/5060
    [5] 11/4/2013 10:04:39:timeout::callback: Registering with timeout of 0 ms
    [2] 11/4/2013 10:04:39:Transport Error: Pending packet 1000046: generating fake
    [2] 11/4/2013 10:04:39:Registrar 501@[Internet Based FQDN HOST] timed out
    [5] 11/4/2013 10:05:09:Add dirty host: udp/[Internet Based FQDN HOST]/5060
    [5] 11/4/2013 10:05:09:timeout::callback: Registering with timeout of 0 ms
    [2] 11/4/2013 10:05:09:Transport Error: Pending packet 1000048: generating fake
    [2] 11/4/2013 10:05:09:Registrar 501@[Internet Based FQDN HOST] timed out



  • I'm having the same problems using 2.0.3-RELEASE (i386) and the siproxd package. You are supposed to set the "outbound proxy" of your phones to the siproxd ip. For me, this works fine but only for a few hours/days. After that time, I get the same messages from my SNOM phones:

    23/5/2013 00:46:42 [DEBUG1] PHN: SIP: send REGISTER (2: 5e000000a533-vvikzxlifbbb) -> udp:10.2.0.254:5060
    23/5/2013 00:46:42 [ERROR ] PHN: SIP: transaction_timeout udp: 1000002 (32000)
    23/5/2013 00:46:42 [ERROR ] PHN: SIP: transport error: 1000002 -> udp:10.2.0.254:5060
    23/5/2013 00:46:42 [NOTICE] PHN: SIP: Add dirty host: udp:10.2.0.254:5060 (0 sec)
    23/5/2013 00:46:42 [NOTICE] PHN: SIP: final transport error: 1000002 -> udp:10.2.0.254:5060
    23/5/2013 00:46:42 [ERROR ] PHN: SIP: transport error 1000002: generating fake 599
    23/5/2013 00:46:42 [DEBUG1] PHN: SIP: recv 599 REGISTER (2: 5e000000a533-vvikzxlifbbb) <- ::0
    23/5/2013 00:46:42 [ERROR ] PHN: SIP: Registrar 7771885676@sip.finotel.com timed out
    23/5/2013 00:46:42 [NOTICE] PHN: SIP: Registration Metrics failed
    23/5/2013 00:46:43 [DEBUG1] PHN: SIP: send REGISTER (3: 5e000000a533-vvikzxlifbbb) -> udp:10.2.0.254:5060
    

Locked