nwaycn / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Inbound Routes can not route to my exten 1001 #513

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I set inbound calls test with gateway 
2.outgoing calls work!
3.routing to incoming call does not work

What version of the product are you using? On what operating system?
3.4, and  Linux ubuntu 2.6.32-38-generic-pae #83-Ubuntu SMP Wed Jan 4 12:11:13 
UTC 2012 i686 GNU/Linux, 

Please provide any additional information below.
XECUTE sofia/internal/18665301040@192.168.1.104 set(continue_on_fail=true)
2013-12-04 17:58:51.532163 [DEBUG] mod_dptools.c:1402 
sofia/internal/18665301040@192.168.1.104 SET [continue_on_fail]=[true]
EXECUTE sofia/internal/18665301040@192.168.1.104 
hash(insert/192.168.1.104-call_return/8971/18665301040)
EXECUTE sofia/internal/18665301040@192.168.1.104 
hash(insert/192.168.1.104-last_dial_ext/8971/ad6cfe12-5cca-11e3-8059-4fea46a3f20
7)
EXECUTE sofia/internal/18665301040@192.168.1.104 set(called_party_call_group=)
2013-12-04 17:58:51.532163 [DEBUG] mod_dptools.c:1402 
sofia/internal/18665301040@192.168.1.104 SET [called_party_call_group]=[UNDEF]
EXECUTE sofia/internal/18665301040@192.168.1.104 
hash(insert/192.168.1.104-last_dial//ad6cfe12-5cca-11e3-8059-4fea46a3f207)
EXECUTE sofia/internal/18665301040@192.168.1.104 bridge(user/@192.168.1.104)
2013-12-04 17:58:51.532163 [DEBUG] switch_channel.c:1198 
sofia/internal/18665301040@192.168.1.104 EXPORTING[export_vars] 
[domain_name]=[192.168.1.104] to event
2013-12-04 17:58:51.532163 [DEBUG] switch_channel.c:1198 
sofia/internal/18665301040@192.168.1.104 EXPORTING[export_vars] 
[origination_callee_id_name]=[8971] to event
2013-12-04 17:58:51.532163 [DEBUG] switch_channel.c:1198 
sofia/internal/18665301040@192.168.1.104 EXPORTING[export_vars] 
[dialed_extension]=[8971] to event
2013-12-04 17:58:51.532163 [DEBUG] switch_ivr_originate.c:2060 Parsing global 
variables
2013-12-04 17:58:51.532163 [WARNING] mod_dptools.c:3943 Can't find user 
[@192.168.1.104]
2013-12-04 17:58:51.532163 [NOTICE] switch_ivr_originate.c:2661 Cannot create 
outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
2013-12-04 17:58:51.532163 [DEBUG] switch_ivr_originate.c:3632 Originate 
Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]
2013-12-04 17:58:51.532163 [INFO] mod_dptools.c:3201 Originate Failed.  Cause: 
SUBSCRIBER_ABSENT
EXECUTE sofia/internal/18665301040@192.168.1.104 answer()
2013-12-04 17:58:51.532163 [DEBUG] sofia_glue.c:3445 AUDIO RTP 
[sofia/internal/18665301040@192.168.1.104] 192.168.1.104 port 31716 -> 
192.168.1.101 port 10010 codec: 0 ms: 20
2013-12-04 17:58:51.532163 [DEBUG] switch_rtp.c:2012 Starting timer [soft] 160 
bytes per 20ms
2013-12-04 17:58:51.532163 [DEBUG] sofia_glue.c:3712 Set 2833 dtmf send payload 
to 101
2013-12-04 17:58:51.532163 [DEBUG] sofia_glue.c:3718 Set 2833 dtmf receive 
payload to 101
2013-12-04 17:58:51.532163 [DEBUG] sofia_glue.c:3745 
sofia/internal/18665301040@192.168.1.104 Set rtp dtmf delay to 40
2013-12-04 17:58:51.532163 [DEBUG] mod_sofia.c:866 Local SDP 
sofia/internal/18665301040@192.168.1.104:
v=0
o=FreeSWITCH 1386119415 1386119416 IN IP4 192.168.1.104
s=FreeSWITCH
c=IN IP4 192.168.1.104
t=0 0
m=audio 31716 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2013-12-04 17:58:51.532163 [DEBUG] switch_core_session.c:1006 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:51.532163 [DEBUG] sofia.c:5752 Channel 
sofia/internal/18665301040@192.168.1.104 entering state [completed][200]
2013-12-04 17:58:51.532163 [DEBUG] switch_core_session.c:861 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:51.532163 [NOTICE] mod_dptools.c:1225 Channel 
[sofia/internal/18665301040@192.168.1.104] has been answered
2013-12-04 17:58:51.532163 [DEBUG] switch_channel.c:3643 
(sofia/internal/18665301040@192.168.1.104) Callstate Change RINGING -> ACTIVE
EXECUTE sofia/internal/18665301040@192.168.1.104 sleep(1000)
2013-12-04 17:58:51.632166 [DEBUG] switch_core_session.c:1006 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:51.632166 [DEBUG] switch_core_session.c:1006 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:51.632166 [DEBUG] switch_core_session.c:1006 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:51.652141 [DEBUG] sofia.c:5752 Channel 
sofia/internal/18665301040@192.168.1.104 entering state [ready][200]
2013-12-04 17:58:51.712128 [DEBUG] switch_rtp.c:3727 Correct ip/port confirmed.
EXECUTE sofia/internal/18665301040@192.168.1.104 set(voicemail_action=save)
2013-12-04 17:58:52.532168 [DEBUG] mod_dptools.c:1402 
sofia/internal/18665301040@192.168.1.104 SET [voicemail_action]=[save]
EXECUTE sofia/internal/18665301040@192.168.1.104 set(voicemail_id=8971)
2013-12-04 17:58:52.532168 [DEBUG] mod_dptools.c:1402 
sofia/internal/18665301040@192.168.1.104 SET [voicemail_id]=[8971]
EXECUTE sofia/internal/18665301040@192.168.1.104 set(voicemail_profile=default)
2013-12-04 17:58:52.532168 [DEBUG] mod_dptools.c:1402 
sofia/internal/18665301040@192.168.1.104 SET [voicemail_profile]=[default]
EXECUTE sofia/internal/18665301040@192.168.1.104 lua(app.lua voicemail)
2013-12-04 17:58:52.532168 [DEBUG] freeswitch_lua.cpp:352 DBH handle 0x9a6acd8 
Connected.
EXECUTE sofia/internal/18665301040@192.168.1.104 unbind_meta_app()
2013-12-04 17:58:52.532168 [INFO] switch_ivr_async.c:3600 UnBound A-Leg: ALL
2013-12-04 17:58:52.532168 [DEBUG] freeswitch_lua.cpp:369 DBH handle 0x9a6acd8 
released.
2013-12-04 17:58:52.532168 [DEBUG] switch_cpp.cpp:1051 
sofia/internal/18665301040@192.168.1.104 destroy/unlink session from object
2013-12-04 17:58:52.532168 [NOTICE] switch_core_state_machine.c:262 
sofia/internal/18665301040@192.168.1.104 has executed the last dialplan 
instruction, hanging up.
2013-12-04 17:58:52.532168 [NOTICE] switch_core_state_machine.c:264 Hangup 
sofia/internal/18665301040@192.168.1.104 [CS_EXECUTE] [NORMAL_CLEARING]
2013-12-04 17:58:52.532168 [DEBUG] switch_channel.c:3183 Send signal 
sofia/internal/18665301040@192.168.1.104 [KILL]
2013-12-04 17:58:52.532168 [INFO] mod_hash.c:304 Usage for 192.168.1.104_8971 
is now 0
2013-12-04 17:58:52.532168 [DEBUG] switch_core_session.c:1341 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:477 
(sofia/internal/18665301040@192.168.1.104) State EXECUTE going to sleep
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:415 
(sofia/internal/18665301040@192.168.1.104) Running State Change CS_HANGUP
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:678 
(sofia/internal/18665301040@192.168.1.104) State HANGUP
2013-12-04 17:58:52.532168 [DEBUG] mod_sofia.c:506 Channel 
sofia/internal/18665301040@192.168.1.104 hanging up, cause: NORMAL_CLEARING
2013-12-04 17:58:52.532168 [DEBUG] mod_sofia.c:558 Sending BYE to 
sofia/internal/18665301040@192.168.1.104
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:48 
sofia/internal/18665301040@192.168.1.104 Standard HANGUP, cause: NORMAL_CLEARING
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:678 
(sofia/internal/18665301040@192.168.1.104) State HANGUP going to sleep
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:689 
(sofia/internal/18665301040@192.168.1.104) Callstate Change ACTIVE -> HANGUP
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:446 
(sofia/internal/18665301040@192.168.1.104) State Change CS_HANGUP -> 
CS_REPORTING
2013-12-04 17:58:52.532168 [DEBUG] switch_core_session.c:1341 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:415 
(sofia/internal/18665301040@192.168.1.104) Running State Change CS_REPORTING
2013-12-04 17:58:52.532168 [DEBUG] switch_core_state_machine.c:761 
(sofia/internal/18665301040@192.168.1.104) State REPORTING
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:92 
sofia/internal/18665301040@192.168.1.104 Standard REPORTING, cause: 
NORMAL_CLEARING
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:761 
(sofia/internal/18665301040@192.168.1.104) State REPORTING going to sleep
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:440 
(sofia/internal/18665301040@192.168.1.104) State Change CS_REPORTING -> 
CS_DESTROY
2013-12-04 17:58:52.572360 [DEBUG] switch_core_session.c:1341 Send signal 
sofia/internal/18665301040@192.168.1.104 [BREAK]
2013-12-04 17:58:52.572360 [DEBUG] switch_core_session.c:1549 Session 34 
(sofia/internal/18665301040@192.168.1.104) Locked, Waiting on external entities
2013-12-04 17:58:52.572360 [NOTICE] switch_core_session.c:1567 Session 34 
(sofia/internal/18665301040@192.168.1.104) Ended
2013-12-04 17:58:52.572360 [NOTICE] switch_core_session.c:1571 Close Channel 
sofia/internal/18665301040@192.168.1.104 [CS_DESTROY]
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:565 
(sofia/internal/18665301040@192.168.1.104) Callstate Change HANGUP -> DOWN
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:568 
(sofia/internal/18665301040@192.168.1.104) Running State Change CS_DESTROY
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:578 
(sofia/internal/18665301040@192.168.1.104) State DESTROY
2013-12-04 17:58:52.572360 [DEBUG] mod_sofia.c:399 
sofia/internal/18665301040@192.168.1.104 SOFIA DESTROY
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:99 
sofia/internal/18665301040@192.168.1.104 Standard DESTROY
2013-12-04 17:58:52.572360 [DEBUG] switch_core_state_machine.c:578 
(sofia/internal/18665301040@192.168.1.104) State DESTROY going to sleep

Original issue reported on code.google.com by zhulizh...@gmail.com on 4 Dec 2013 at 9:59

GoogleCodeExporter commented 9 years ago
Can't find user [@192.168.1.104]. This will work you need to give more details 
about what you are doing. Please provide details to make it easier. Single or 
multi-tenant?

Original comment by markjcrane@gmail.com on 4 Dec 2013 at 10:17

GoogleCodeExporter commented 9 years ago
@192.168.1.104 is a IP for gateway. I can use the gateway to make outgoing 
calls without any problem.It is in Single model.    

Original comment by zhulizh...@gmail.com on 5 Dec 2013 at 2:16

GoogleCodeExporter commented 9 years ago
this is log. 

Original comment by zhulizh...@gmail.com on 5 Dec 2013 at 3:06

GoogleCodeExporter commented 9 years ago
hello, the problem has been solved. you can close the issue. 

Original comment by zhulizh...@gmail.com on 7 Dec 2013 at 2:56

GoogleCodeExporter commented 9 years ago
Closed by request.

Original comment by markjcrane@gmail.com on 12 Dec 2013 at 4:38