PJSIP - Freepbx - 中继注册被拒绝

时间:2017-06-30 19:25:40

标签: sip registration pjsip trunk freepbx

我正在尝试向我的提供商注册SIP帐户。实际上,在我的FreePBX上,我在不同服务器上注册了其他4个帐户而没有任何问题。

我无法理解,因为这个特定的帐户不想合作。

这是星号在PJSIP上返回我的日志

55555.5
555555
5.5555
.55555

我对星号和PJSIP都很陌生,特别是我查找了日志,但我看不出明显的错误。在我看来,这是一个循环,但正如我所说,我对星号并不那么专业。

有趣的是,如果我看CHAN_PJSIP注册,我会看到:

[2017-06-30 21:08:57] DEBUG[2787] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:08:57] DEBUG[2787] res_pjsip/pjsip_distributor.c: No dialog serializer for Response msg 200/OPTIONS/cseq=9979 (rdata0x7f5014015068). Using request transaction as basis.
[2017-06-30 21:08:57] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found transaction tsx0x2949cb8 for Response msg 200/OPTIONS/cseq=9979 (rdata0x7f5014015068).
[2017-06-30 21:08:57] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found serializer pjsip/default-00000011 on transaction tsx0x2949cb8
[2017-06-30 21:08:57] DEBUG[2788] res_pjsip.c: 0x23a5830: PJSIP tsx response received
[2017-06-30 21:08:57] DEBUG[2788] res_pjsip.c: 0x23a5830: Cancelling timer
[2017-06-30 21:08:57] DEBUG[2788] res_pjsip.c: 0x23a5830: Timer cancelled
[2017-06-30 21:08:57] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:08:57] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:57] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:08:57] DEBUG[2788] res_pjsip.c: 0x23a5830: Callbacks executed
[2017-06-30 21:08:57] DEBUG[2788] res_pjsip.c: 0x23a5830: wrapper destroyed
[2017-06-30 21:08:57] DEBUG[2825] res_pjsip/pjsip_configuration.c: Contact 390144485210/sip:8004001@sip.macrovoip.it:5060 status didn't change: Reachable, RTT: 26.417 msec
[2017-06-30 21:08:58] DEBUG[26619] manager.c: Running action 'Login'
[2017-06-30 21:08:58] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:08:58] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:58] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: Wrapper created
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: Set timer to 3000 msec
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:08:58] DEBUG[2787] res_pjsip/pjsip_distributor.c: No dialog serializer for Response msg 200/OPTIONS/cseq=36024 (rdata0x7f5014015068). Using request transaction as basis.
[2017-06-30 21:08:58] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found transaction tsx0x2939138 for Response msg 200/OPTIONS/cseq=36024 (rdata0x7f5014015068).
[2017-06-30 21:08:58] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found serializer pjsip/default-00000012 on transaction tsx0x2939138
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: PJSIP tsx response received
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: Cancelling timer
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: Timer cancelled
[2017-06-30 21:08:58] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:08:58] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:58] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: Callbacks executed
[2017-06-30 21:08:58] DEBUG[2788] res_pjsip.c: 0x2579740: wrapper destroyed
[2017-06-30 21:08:58] DEBUG[2825] res_pjsip/pjsip_configuration.c: Contact 390144485210/sip:8004001@sip.macrovoip.it:5060 status didn't change: Reachable, RTT: 23.996 msec
[2017-06-30 21:08:58] DEBUG[26619] manager.c: Running action 'Command'
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.0] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.000000] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [60] in [0, 86400] gives [60](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [5060] in [0, 4294967295] gives [5060](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.0] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.000000] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [60] in [0, 86400] gives [60](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [5060] in [0, 4294967295] gives [5060](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.0] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.000000] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [60] in [0, 86400] gives [60](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [5060] in [0, 4294967295] gives [5060](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.0] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract double from [3.000000] in [-inf, inf] gives [3.000000](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [60] in [0, 86400] gives [60](0)
[2017-06-30 21:08:58] DEBUG[26619] config.c: extract uint from [5060] in [0, 4294967295] gives [5060](0)
[2017-06-30 21:08:58] DEBUG[26619] manager.c: Running action 'Command'
[2017-06-30 21:08:58] DEBUG[26619] manager.c: Running action 'Command'
[2017-06-30 21:08:59] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:08:59] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:59] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: Wrapper created
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: Set timer to 3000 msec
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:08:59] DEBUG[2787] res_pjsip/pjsip_distributor.c: No dialog serializer for Response msg 200/OPTIONS/cseq=20989 (rdata0x7f5014015068). Using request transaction as basis.
[2017-06-30 21:08:59] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found transaction tsx0x2ff8de8 for Response msg 200/OPTIONS/cseq=20989 (rdata0x7f5014015068).
[2017-06-30 21:08:59] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found serializer pjsip/default-00000013 on transaction tsx0x2ff8de8
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: PJSIP tsx response received
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: Cancelling timer
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: Timer cancelled
[2017-06-30 21:08:59] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:08:59] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:08:59] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: Callbacks executed
[2017-06-30 21:08:59] DEBUG[2788] res_pjsip.c: 0x262c960: wrapper destroyed
[2017-06-30 21:08:59] DEBUG[2825] res_pjsip/pjsip_configuration.c: Contact 390144485210/sip:8004001@sip.macrovoip.it:5060 status didn't change: Reachable, RTT: 23.777 msec
[2017-06-30 21:09:00] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:09:00] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:09:00] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: Wrapper created
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: Set timer to 3000 msec
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:09:00] DEBUG[2787] res_pjsip/pjsip_distributor.c: No dialog serializer for Response msg 200/OPTIONS/cseq=50104 (rdata0x7f5014015068). Using request transaction as basis.
[2017-06-30 21:09:00] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found transaction tsx0x3016738 for Response msg 200/OPTIONS/cseq=50104 (rdata0x7f5014015068).
[2017-06-30 21:09:00] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found serializer pjsip/default-00000014 on transaction tsx0x3016738
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: PJSIP tsx response received
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: Cancelling timer
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: Timer cancelled
[2017-06-30 21:09:00] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:09:00] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:09:00] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: Callbacks executed
[2017-06-30 21:09:00] DEBUG[2788] res_pjsip.c: 0x3061f60: wrapper destroyed
[2017-06-30 21:09:00] DEBUG[2825] res_pjsip/pjsip_configuration.c: Contact 390144485210/sip:8004001@sip.macrovoip.it:5060 status didn't change: Reachable, RTT: 23.365 msec
[2017-06-30 21:09:01] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:09:01] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:09:01] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: Wrapper created
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: Set timer to 3000 msec
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:09:01] DEBUG[2787] res_pjsip/pjsip_distributor.c: No dialog serializer for Response msg 200/OPTIONS/cseq=24416 (rdata0x7f5014015068). Using request transaction as basis.
[2017-06-30 21:09:01] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found transaction tsx0x294d3c8 for Response msg 200/OPTIONS/cseq=24416 (rdata0x7f5014015068).
[2017-06-30 21:09:01] DEBUG[2787] res_pjsip/pjsip_distributor.c: Found serializer pjsip/default-0000000d on transaction tsx0x294d3c8
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: PJSIP tsx response received
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: Cancelling timer
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: Timer cancelled
[2017-06-30 21:09:01] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:09:01] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:09:01] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: Callbacks executed
[2017-06-30 21:09:01] DEBUG[2788] res_pjsip.c: 0x252cc30: wrapper destroyed
[2017-06-30 21:09:01] DEBUG[2825] res_pjsip/pjsip_configuration.c: Contact 390144485210/sip:8004001@sip.macrovoip.it:5060 status didn't change: Reachable, RTT: 26.968 msec
[2017-06-30 21:09:01] DEBUG[26656] manager.c: Running action 'Login'
[2017-06-30 21:09:01] DEBUG[26657] manager.c: Running action 'Login'
[2017-06-30 21:09:01] DEBUG[26658] manager.c: Running action 'Login'
[2017-06-30 21:09:01] DEBUG[26657] manager.c: Running action 'Command'
[2017-06-30 21:09:01] DEBUG[26657] manager.c: Running action 'Command'
[2017-06-30 21:09:01] DEBUG[26657] manager.c: Running action 'Command'
[2017-06-30 21:09:01] DEBUG[26657] manager.c: Running action 'Command'
[2017-06-30 21:09:01] DEBUG[26668] manager.c: Running action 'Login'
[2017-06-30 21:09:02] DEBUG[26696] manager.c: Running action 'Login'
[2017-06-30 21:09:02] DEBUG[2788] config.c: extract uint from [3] in [0, 4294967295] gives [3](0)
[2017-06-30 21:09:02] DEBUG[2788] config.c: extract uint from [0] in [0, 4294967295] gives [0](0)
[2017-06-30 21:09:02] DEBUG[2788] config.c: extract uint from [2] in [0, 4294967295] gives [2](0)
[2017-06-30 21:09:02] DEBUG[2788] res_pjsip.c: 0x2ea78a0: Wrapper created
[2017-06-30 21:09:02] DEBUG[2788] res_pjsip.c: 0x2ea78a0: Set timer to 3000 msec
[2017-06-30 21:09:02] DEBUG[2788] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:09:03] DEBUG[2787] res_pjsip/pjsip_message_ip_updater.c: Re-wrote Contact URI host/port to 192.168.250.5:5060
[2017-06-30 21:09:03] DEBUG[26707] manager.c: Running action 'Login'

它让我知道它可用。

我的日志错误在哪里?

谢谢!

0 个答案:

没有答案