I installed ASTPP again and things are
sort of working. I have the IP auth set in gateway settings
(there was no choice the dro-down box for the customer IP.) But
it's accepting the call, it just thinks my account number is the
DID and is prepending 00 before my account number. I have it set
in the calling card config. I don't see where FS receives the DID
info to know how to route it.
2016-06-02 06:32:41.656502 [INFO] mod_dptools.c:1713 [Customer
info] : [Account code: 1956333338, Rategroup Id: 1, Called number:
116412_88]
EXECUTE
sofia/external/65079...@107.6.67.237
set(origination_rates=ID:9202|CODE:^1.*|DESTINATION:United
States|CONNECTIONCOST:0.00240|INCLUDEDSECONDS:12|COST:0.02400|INC:6|RATEGROUP:1|MARKUP:0|ACCID:4)
2016-06-02 06:32:41.656502 [DEBUG] mod_dptools.c:1519 SET
sofia/external/65079...@107.6.67.237
[origination_rates]=[ID:9202|CODE:^1.*|DESTINATION:United
States|CONNECTIONCOST:0.00240|INCLUDEDSECONDS:12|COST:0.02400|INC:6|RATEGROUP:1|MARKUP:0|ACCID:4]
EXECUTE
sofia/external/65079...@107.6.67.237
set(effective_destination_number=116412_88)
2016-06-02 06:32:41.656502 [DEBUG] mod_dptools.c:1519 SET
sofia/external/65079...@107.6.67.237
[effective_destination_number]=[116412_88]
EXECUTE
sofia/external/65079...@107.6.67.237
set(termination_rates=ID:9201|CODE:^1.*|DESTINATION:United
States|CONNECTIONCOST:0.00100|INCLUDEDSECONDS:6|COST:0.01000|INC:6|TRUNK:2|PROVIDER:4)
2016-06-02 06:32:41.656502 [DEBUG] mod_dptools.c:1519 SET
sofia/external/65079...@107.6.67.237
[termination_rates]=[ID:9201|CODE:^1.*|DESTINATION:United
States|CONNECTIONCOST:0.00100|INCLUDEDSECONDS:6|COST:0.01000|INC:6|TRUNK:2|PROVIDER:4]
EXECUTE
sofia/external/65079...@107.6.67.237
bridge(sofia/gateway/Voipms/00116412_88)
2016-06-02 06:32:41.656502 [DEBUG] switch_ivr_originate.c:2127
Parsing global variables
2016-06-02 06:32:41.656502 [NOTICE] switch_channel.c:1104 New
Channel sofia/external/00116412_88
[b156ea9d-fefb-46af-a81f-b9249a1a32ea]
2016-06-02 06:32:41.656502 [DEBUG] mod_sofia.c:4813
(sofia/external/00116412_88) State Change CS_NEW -> CS_INIT
2016-06-02 06:32:41.656502 [DEBUG] switch_core_state_machine.c:543
(sofia/external/00116412_88) Running State Change CS_INIT
2016-06-02 06:32:41.656502 [DEBUG] switch_core_state_machine.c:586
(sofia/external/00116412_88) State INIT
2016-06-02 06:32:41.656502 [DEBUG] mod_sofia.c:89
sofia/external/00116412_88 SOFIA INIT
2016-06-02 06:32:41.656502 [DEBUG] sofia_glue.c:1228
sip:newyork3.voip.ms Setting proxy route to
sofia/external/00116412_88
2016-06-02 06:32:41.656502 [DEBUG] sofia_glue.c:1257
sofia/external/00116412_88 sending invite version: 1.6.8 git
99de0ad 2016-05-05 15:38:32Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1464840925 1464840926 IN IP4 107.170.68.211
s=FreeSWITCH
c=IN IP4 107.170.68.211
t=0 0
m=audio 22636 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
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:40
sofia/external/00116412_88 Standard INIT
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:48
(sofia/external/00116412_88) State Change CS_INIT -> CS_ROUTING
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:586
(sofia/external/00116412_88) State INIT going to sleep
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:543
(sofia/external/00116412_88) Running State Change CS_ROUTING
2016-06-02 06:32:41.676497 [DEBUG] sofia.c:6858 Channel
sofia/external/00116412_88 entering state [calling][0]
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:602
(sofia/external/00116412_88) State ROUTING
2016-06-02 06:32:41.676497 [DEBUG] mod_sofia.c:142
sofia/external/00116412_88 SOFIA ROUTING
2016-06-02 06:32:41.676497 [DEBUG] switch_ivr_originate.c:67
(sofia/external/00116412_88) State Change CS_ROUTING ->
CS_CONSUME_MEDIA
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:602
(sofia/external/00116412_88) State ROUTING going to sleep
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:543
(sofia/external/00116412_88) Running State Change CS_CONSUME_MEDIA
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:621
(sofia/external/00116412_88) State CONSUME_MEDIA
2016-06-02 06:32:41.676497 [DEBUG] switch_core_state_machine.c:621
(sofia/external/00116412_88) State CONSUME_MEDIA going to sleep
2016-06-02 06:32:41.716523 [DEBUG] sofia.c:6858 Channel
sofia/external/00116412_88 entering state [calling][0]
2016-06-02 06:32:41.716523 [DEBUG] sofia.c:6858 Channel
sofia/external/00116412_88 entering state [terminated][404]
2016-06-02 06:32:41.716523 [NOTICE] sofia.c:7881 Hangup
sofia/external/00116412_88 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:543
(sofia/external/00116412_88) Running State Change CS_HANGUP
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:809
(sofia/external/00116412_88) Callstate Change DOWN -> HANGUP
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:811
(sofia/external/00116412_88) State HANGUP
2016-06-02 06:32:41.716523 [DEBUG] mod_sofia.c:437 Channel
sofia/external/00116412_88 hanging up, cause: UNALLOCATED_NUMBER
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:60
sofia/external/00116412_88 Standard HANGUP, cause:
UNALLOCATED_NUMBER
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:811
(sofia/external/00116412_88) State HANGUP going to sleep
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:578
(sofia/external/00116412_88) State Change CS_HANGUP ->
CS_REPORTING
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:543
(sofia/external/00116412_88) Running State Change CS_REPORTING
2016-06-02 06:32:41.716523 [DEBUG] switch_core_state_machine.c:897
(sofia/external/00116412_88) State REPORTING
2016-06-02 06:32:41.736502 [DEBUG] switch_ivr_originate.c:3750
Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
2016-06-02 06:32:41.736502 [INFO] mod_dptools.c:3401 Originate
Failed. Cause: UNALLOCATED_NUMBER
2016-06-02 06:32:41.736502 [NOTICE]
switch_core_state_machine.c:385
sofia/external/65079...@107.6.67.237 has executed the last
dialplan instruction, hanging up.
2016-06-02 06:32:41.736502 [NOTICE]
switch_core_state_machine.c:387 Hangup
sofia/external/65079...@107.6.67.237 [CS_EXECUTE]
[NORMAL_CLEARING]
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:609
(
sofia/external/65079...@107.6.67.237) State EXECUTE going to
sleep
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:543
(
sofia/external/65079...@107.6.67.237) Running State Change
CS_HANGUP
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:809
(
sofia/external/65079...@107.6.67.237) Callstate Change RINGING
-> HANGUP
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:811
(
sofia/external/65079...@107.6.67.237) State HANGUP
2016-06-02 06:32:41.736502 [DEBUG] mod_sofia.c:431
sofia/external/65079...@107.6.67.237 Overriding SIP cause 480
with 404 from the other leg
2016-06-02 06:32:41.736502 [DEBUG] mod_sofia.c:437 Channel
sofia/external/65079...@107.6.67.237 hanging up, cause:
NORMAL_CLEARING
2016-06-02 06:32:41.736502 [DEBUG] mod_sofia.c:574 Responding to
INVITE with: 404
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:60
sofia/external/65079...@107.6.67.237 Standard HANGUP, cause:
NORMAL_CLEARING
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:811
(
sofia/external/65079...@107.6.67.237) State HANGUP going to
sleep
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:578
(
sofia/external/65079...@107.6.67.237) State Change CS_HANGUP
-> CS_REPORTING
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:543
(
sofia/external/65079...@107.6.67.237) Running State Change
CS_REPORTING
2016-06-02 06:32:41.736502 [DEBUG] switch_core_state_machine.c:897
(
sofia/external/65079...@107.6.67.237) State REPORTING
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:174
sofia/external/00116412_88 Standard REPORTING, cause:
UNALLOCATED_NUMBER
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:897
(sofia/external/00116412_88) State REPORTING going to sleep
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:569
(sofia/external/00116412_88) State Change CS_REPORTING ->
CS_DESTROY
2016-06-02 06:32:42.196506 [DEBUG] switch_core_session.c:1646
Session 6 (sofia/external/00116412_88) Locked, Waiting on external
entities
2016-06-02 06:32:42.196506 [NOTICE] switch_core_session.c:1664
Session 6 (sofia/external/00116412_88) Ended
2016-06-02 06:32:42.196506 [NOTICE] switch_core_session.c:1668
Close Channel sofia/external/00116412_88 [CS_DESTROY]
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:700
(sofia/external/00116412_88) Running State Change CS_DESTROY
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:710
(sofia/external/00116412_88) State DESTROY
2016-06-02 06:32:42.196506 [DEBUG] mod_sofia.c:342
sofia/external/00116412_88 SOFIA DESTROY
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:181
sofia/external/00116412_88 Standard DESTROY
2016-06-02 06:32:42.196506 [DEBUG] switch_core_state_machine.c:710
(sofia/external/00116412_88) State DESTROY going to sleep
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:174
sofia/external/65079...@107.6.67.237 Standard REPORTING, cause:
NORMAL_CLEARING
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:897
(
sofia/external/65079...@107.6.67.237) State REPORTING going to
sleep
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:569
(
sofia/external/65079...@107.6.67.237) State Change CS_REPORTING
-> CS_DESTROY
2016-06-02 06:32:42.216503 [DEBUG] switch_core_session.c:1646
Session 5 (
sofia/external/65079...@107.6.67.237) Locked, Waiting
on external entities
2016-06-02 06:32:42.216503 [NOTICE] switch_core_session.c:1664
Session 5 (
sofia/external/65079...@107.6.67.237) Ended
2016-06-02 06:32:42.216503 [NOTICE] switch_core_session.c:1668
Close Channel
sofia/external/65079...@107.6.67.237 [CS_DESTROY]
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:700
(
sofia/external/65079...@107.6.67.237) Running State Change
CS_DESTROY
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:710
(
sofia/external/65079...@107.6.67.237) State DESTROY
2016-06-02 06:32:42.216503 [DEBUG] mod_sofia.c:342
sofia/external/65079...@107.6.67.237 SOFIA DESTROY
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:181
sofia/external/65079...@107.6.67.237 Standard DESTROY
2016-06-02 06:32:42.216503 [DEBUG] switch_core_state_machine.c:710
(
sofia/external/65079...@107.6.67.237) State DESTROY going to
sleep
2016-06-02 06:32:42.656534 [DEBUG] switch_scheduler.c:144 Deleting
task 3 switch_ivr_schedule_hangup
(b81b12a3-cb37-4e7f-93ea-56dc86393638)
Maybe I should put my account number in the calling card field and
see what happens :)
Thanks,