回答pjsip电话时,星号会崩溃

时间:2014-10-22 11:45:06

标签: asterisk pjsip

我正在学习pjsip。当我拨打pjsip电话时,星号分解,我不知道为什么

    -- Executing [6002@default:1] Dial("PJSIP/6001-00000004", "PJSIP/6002") in new stack
    -- Called PJSIP/6002
    -- PJSIP/6002-00000005 is ringing
    > 0x7fb5c40105b0 -- Probation passed - setting RTP source address to 192.168.5.38:8006
    -- PJSIP/6002-00000005 answered PJSIP/6001-00000004
    -- Channel PJSIP/6001-00000004 joined 'simple_bridge' basic-bridge <78fbb271-d6a0-48d5-8f2f-d4307c3e4302>
    -- Channel PJSIP/6002-00000005 joined 'simple_bridge' basic-bridge <78fbb271-d6a0-48d5-8f2f-d4307c3e4302>
       > Bridge 78fbb271-d6a0-48d5-8f2f-d4307c3e4302: switching from simple_bridge technology to native_rtp
[Oct 22 19:22:58] WARNING[3749]: res_pjsip_pubsub.c:2848 pubsub_on_rx_publish_request: No registered publish handler for event presence
[Oct 22 19:22:58] WARNING[3749]: res_pjsip_pubsub.c:2848 pubsub_on_rx_publish_request: No registered publish handler for event presence
virtual-machine*CLI> 
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups

我刚接了电话,什么也没做。

pjsip.conf:

[simpletrans]
type=transport
protocol=udp
bind=0.0.0.0

[6001]
type=endpoint
transport=simpletrans
auth=auth-6001
aors=6001
context=default
disallow=all
allow=ulaw
callerid=6001

[auth-6001]
type=auth
auth_type=userpass
username=6001
password=6001

[6001]
type=aor
max_contacts=1

[6002]
type=endpoint
transport=simpletrans
auth=auth-6002
aors=6002
context=default
disallow=all
allow=ulaw
callerid=6002

[auth-6002]
type=auth
auth_type=userpass
username=6002
password=6002

[6002]
type=aor
max_contacts=1

的extensions.conf:

[default]
exten => _.,1,Dial(PJSIP/${EXTEN})

我正在使用zoiper拨打电话,asterisk verison:asterisk SVN - r425363

0 个答案:

没有答案