SOLVED Outgoing calls not use effective_caller_id_name and effective_caller_id_number

Status
Not open for further replies.

Neo2SHYAlien

New Member
Feb 13, 2018
6
0
1
39
Hello fusionpbx community,

We are setup a fusionpbx server and met some issues. One of them is that when I'm making outgoing call fusionpbx do not use configured in the extension effective_caller_id_name and effective_caller_id_number. In the freeswitch log we have this debug information

Code:
2018-02-13 11:43:37.913894 [DEBUG] switch_core_state_machine.c:328 sofia/internal/102@X.X.X.X Standard EXECUTE
EXECUTE sofia/internal/102@X.X.X.X set(sip_h_X-accountcode=)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [sip_h_X-accountcode]=[UNDEF]
EXECUTE sofia/internal/102@X.X.X.X set(call_direction=outbound)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [call_direction]=[outbound]
EXECUTE sofia/internal/102@X.X.X.X unset(call_timeout)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1693 UNSET [call_timeout]
EXECUTE sofia/internal/102@X.X.X.X set(hangup_after_bridge=true)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [hangup_after_bridge]=[true]
EXECUTE sofia/internal/102@X.X.X.X set(effective_caller_id_name=)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [effective_caller_id_name]=[UNDEF]
EXECUTE sofia/internal/102@X.X.X.X set(effective_caller_id_number=)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [effective_caller_id_number]=[UNDEF]
EXECUTE sofia/internal/102@X.X.X.X set(inherit_codec=true)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [inherit_codec]=[true]
EXECUTE sofia/internal/102@X.X.X.X set(ignore_display_updates=true)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [ignore_display_updates]=[true]
EXECUTE sofia/internal/102@X.X.X.X set(callee_id_number=1234567890)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [callee_id_number]=[1234567890]
EXECUTE sofia/internal/102@X.X.X.X set(continue_on_fail=true)
2018-02-13 11:43:37.913894 [DEBUG] mod_dptools.c:1548 SET sofia/internal/102@X.X.X.X [continue_on_fail]=[true]

In the CDR we have this debug information.
Screen Shot 2018-02-13 at 14.06.54.png
I'm also attach the outbond rules
Screen Shot 2018-02-13 at 14.10.29.png

I'm pretty new in fusionpbx and I'll be grateful for every hint or suggestion how to solve my problem. I'm ready to provide any additional information according the configuration and debug output.
 
You need to fill in outbound caller id number and name in the extension
 
Well that definitely works but I notice in your outbound routes the defaults are gone, why is that?

It should say:

effective_caller_id_number=${outbound_caller_id_number}

etc, etc

Delete your outbound route and recreate it.
 
The only modification which I did in the outbound rule was to change the context because my call was in public context but the rule was in domain by default. After delete/create the behavior is the same.

Well that definitely works but I notice in your outbound routes the defaults are gone, why is that?

It should say:

effective_caller_id_number=${outbound_caller_id_number}

etc, etc

Delete your outbound route and recreate it.
 
The outbound route context should be the domain/tenant name. Screenshot your outbound route.
 
Yes this is by default but all my calls are in public context (probably I missed something in configuration)
Screen Shot 2018-02-13 at 17.15.17.png
 
Status
Not open for further replies.