SIP URI dial - user@example.com

Status
Not open for further replies.

DoktorBen

New Member
Jun 29, 2017
13
1
3
39
Hello,

how can I enable SIP URI dialing on FusionPBX? I tried the following with the result that freeswitch is thinking that this is an internal call.

How could I enable the uri dialing using dns lookup and then make an sip invite to the target sip stack?

I added in the Dialplan Manager:
Bildschirmfoto 2019-11-16 um 16.36.11.png

On the fs_cli I see:
2019-11-16 16:38:57.441127 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/385@pbx.local [32575ecc-b283-4a2d-bb50-25cbf5c1ece7]
2019-11-16 16:38:57.441127 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/385@pbx.local) Running State Change CS_NEW (Cur 1 Tot 11)
2019-11-16 16:38:57.441127 [DEBUG] sofia.c:10243 sofia/internal/385@pbx.local receiving invite from 217.80.246.135:5060 version: 1.10.1 -release-12-f9990221e6 64bit
2019-11-16 16:38:57.441127 [DEBUG] sofia.c:10337 verifying acl "domains" for ip/port 217.80.246.135:0.
2019-11-16 16:38:57.441127 [WARNING] sofia_reg.c:1793 SIP auth challenge (INVITE) on sofia profile 'internal' for [+12345678@example.com] from ip 217.80.246.135
2019-11-16 16:38:57.441127 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/385@pbx.local) State NEW
2019-11-16 16:38:57.441127 [DEBUG] sofia.c:2426 detaching session 32575ecc-b283-4a2d-bb50-25cbf5c1ece7
2019-11-16 16:38:57.541112 [DEBUG] sofia.c:2535 Re-attaching to session 32575ecc-b283-4a2d-bb50-25cbf5c1ece7
2019-11-16 16:38:57.561117 [DEBUG] sofia.c:10243 sofia/internal/385@pbx.local receiving invite from 217.80.246.135:5060 version: 1.10.1 -release-12-f9990221e6 64bit
2019-11-16 16:38:57.561117 [DEBUG] sofia.c:10337 verifying acl "domains" for ip/port 217.80.246.135:0.
2019-11-16 16:38:57.561117 [WARNING] sofia_reg.c:2930 Can't find user [385@example.com] from 217.80.246.135
You must define a domain called 'example.com' in your directory and add a user with the id="385" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2019-11-16 16:38:57.561117 [WARNING] sofia_reg.c:1738 SIP auth failure (INVITE) on sofia profile 'internal' for [+12345678@example.com] from ip 217.80.246.135
2019-11-16 16:38:57.561117 [NOTICE] sofia.c:2424 Hangup sofia/internal/385@pbx.local [CS_NEW] [CALL_REJECTED]
2019-11-16 16:38:57.581307 [DEBUG] sofia.c:1540 Channel is already hungup.
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/385@pbx.local) Running State Change CS_HANGUP (Cur 1 Tot 11)
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/385@pbx.local) Callstate Change DOWN -> HANGUP
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/385@pbx.local) State HANGUP
2019-11-16 16:38:57.581307 [DEBUG] mod_sofia.c:460 Channel sofia/internal/385@pbx.local hanging up, cause: CALL_REJECTED
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:60 sofia/internal/385@pbx.local Standard HANGUP, cause: CALL_REJECTED
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/385@pbx.local) State HANGUP going to sleep
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/385@pbx.local) State Change CS_HANGUP -> CS_REPORTING
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/385@pbx.local) Running State Change CS_REPORTING (Cur 1 Tot 11)
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/385@pbx.local) State REPORTING
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:174 sofia/internal/385@pbx.local Standard REPORTING, cause: CALL_REJECTED
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/385@pbx.local) State REPORTING going to sleep
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/385@pbx.local) State Change CS_REPORTING -> CS_DESTROY
2019-11-16 16:38:57.581307 [DEBUG] switch_core_session.c:1726 Session 11 (sofia/internal/385@pbx.local) Locked, Waiting on external entities
2019-11-16 16:38:57.581307 [NOTICE] switch_core_session.c:1744 Session 11 (sofia/internal/385@pbx.local) Ended
2019-11-16 16:38:57.581307 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/385@pbx.local [CS_DESTROY]
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/385@pbx.local) Running State Change CS_DESTROY (Cur 0 Tot 11)
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/385@pbx.local) State DESTROY
2019-11-16 16:38:57.581307 [DEBUG] mod_sofia.c:365 sofia/internal/385@pbx.local SOFIA DESTROY
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:181 sofia/internal/385@pbx.local Standard DESTROY
2019-11-16 16:38:57.581307 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/385@pbx.local) State DESTROY going to sleep
 
Status
Not open for further replies.