MicroSIP Softphone not registered to ViciDial

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Thu Aug 12, 2021 3:03 pm

Goof Afternoon Colleagues
I hope you are doing good and safe.

I am new to ViciDial . I have just install it yesterday . I tried to register MicroSIP Softphone but it is not registered. I am already working with 3CX IP PBX so i test registering Microsip Softphone with 3CX IP PBX and it has registered successfully.

Below are snapshots for Microsip & Vicidial phone configurations.

https://drive.google.com/file/d/1BOQUNI ... sp=sharing

https://drive.google.com/file/d/13RZ2KD ... sp=sharing


Any suggestion to make this work ?

Thanks in advance.

Best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby carpenox » Thu Aug 12, 2021 10:32 pm

do you have the correct ports open on your firewall?
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Thu Aug 12, 2021 11:23 pm

Good Morning Carpenox
Thx for your replay . I have used the below commands:

vicibox9:~ # iptables -A INPUT -p udp -m udp --dport 5004:5082 -j ACCEPT
vicibox9:~ # iptables -A INPUT -p tcp -m tcp --dport 5004:5082 -j ACCEPT
vicibox9:~ # iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT

Does the above commands is ok ? Should i need to save or commit before commands take effect ?

Best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby carpenox » Fri Aug 13, 2021 12:47 am

on vicibox you can just use "yast firewall" and did you change the SIP ports? and i meant your network firewall/router
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Fri Aug 13, 2021 4:03 am

Hello Carpenox
Thx for your replay . i have write the command "yast firewall" and it had open the firewall menu . I didnt make any modification to it before.

which ports should i add and where to make things work?

Thx in advance.

best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby carpenox » Fri Aug 13, 2021 7:34 am

Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Fri Aug 13, 2021 3:09 pm

Good Afternoon Carpenox
i have totally stop & disable the firewall using the below commands:

sudo systemctl stop firewalld

sudo systemctl disable firewalld

Inspite of this , Microsip Softphone still not registered .

Any suggestion ?

Best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby carpenox » Fri Aug 13, 2021 3:15 pm

is dahdi running? run this command: dahdi_cfg -v
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Fri Aug 13, 2021 4:31 pm

Hello Carpenox
kindly find the output of the command

vicibox9:~ # dahdi_cfg -v
DAHDI Tools Version - 3.1.0

DAHDI Version: 3.1.0
Echo Canceller(s):
Configuration
======================


0 channels to configure.

vicibox9:~ #
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby striker » Mon Aug 16, 2021 4:58 am

can you post your asterisk cli log,while registering the microsip softphone.

type asterisk -vvvvvr for asterisk cli logs.

also in your microsip remove the sip proxy field and try again.
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Mon Aug 16, 2021 7:09 am

Good Afternoon Striker
Thx for trying to help . When i try to issue the command , I received the below error:


vicibox9:~ # asterisk -vvvvvr
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
vicibox9:~ #


So kindly advice.

Best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby striker » Mon Aug 16, 2021 9:04 am

asterisk not running

try asterisk -vgc and post the output here
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Mon Aug 16, 2021 9:39 am

Hello Striker
HYG


[Aug 16 16:37:59] == res_format_attr_h264.so => (H.264 Format Attribute Module)
[Aug 16 16:37:59] Loading app_echo.so.
[Aug 16 16:37:59] == Registered application 'Echo'
[Aug 16 16:37:59] == app_echo.so => (Simple Echo Application)
[Aug 16 16:37:59] Loading func_math.so.
[Aug 16 16:37:59] == Registered custom function 'MATH'
[Aug 16 16:37:59] == Registered custom function 'INC'
[Aug 16 16:37:59] == Registered custom function 'DEC'
[Aug 16 16:37:59] == func_math.so => (Mathematical dialplan function)
[Aug 16 16:37:59] Loading func_cut.so.
[Aug 16 16:37:59] == Registered custom function 'CUT'
[Aug 16 16:37:59] == Registered custom function 'SORT'
[Aug 16 16:37:59] == func_cut.so => (Cut out information from a string)
[Aug 16 16:37:59] Loading res_realtime.so.
[Aug 16 16:37:59] == res_realtime.so => (Realtime Data Lookup/Rewrite)
[Aug 16 16:37:59] Loading res_ari_asterisk.so.
[Aug 16 16:37:59] == res_ari_asterisk.so => (RESTful API module - Asterisk resources)
[Aug 16 16:37:59] Loading app_osplookup.so.
[Aug 16 16:37:59] == Registered application 'OSPAuth'
[Aug 16 16:37:59] == Registered application 'OSPLookup'
[Aug 16 16:37:59] == Registered application 'OSPNext'
[Aug 16 16:37:59] == Registered application 'OSPFinish'
[Aug 16 16:37:59] == app_osplookup.so => (Open Settlement Protocol Applications)
[Aug 16 16:37:59] Loading app_adsiprog.so.
[Aug 16 16:37:59] == Registered application 'ADSIProg'
[Aug 16 16:37:59] == app_adsiprog.so => (Asterisk ADSI Programming Application)
[Aug 16 16:37:59] Loading func_srv.so.
[Aug 16 16:37:59] == Registered custom function 'SRVQUERY'
[Aug 16 16:37:59] == Registered custom function 'SRVRESULT'
[Aug 16 16:37:59] == func_srv.so => (SRV related dialplan functions)
[Aug 16 16:37:59] Loading app_originate.so.
[Aug 16 16:37:59] == Registered application 'Originate'
[Aug 16 16:37:59] == app_originate.so => (Originate call)
[Aug 16 16:37:59] Loading func_sorcery.so.
[Aug 16 16:37:59] == Registered custom function 'AST_SORCERY'
[Aug 16 16:37:59] == func_sorcery.so => (Get a field from a sorcery object)
[Aug 16 16:37:59] Loading pbx_config.so.
[Aug 16 16:37:59] == Setting global variable 'CONSOLE' to 'Console/dsp'
[Aug 16 16:37:59] == Setting global variable 'TRUNK' to 'DAHDI/r1'
[Aug 16 16:37:59] == Setting global variable 'TRUNKX' to 'DAHDI/r2'
[Aug 16 16:37:59] == Setting global variable 'TRUNKIAX' to 'IAX2/ASTtest1:test@10.10.10.16:4569'
[Aug 16 16:37:59] == Setting global variable 'TRUNKIAX1' to 'IAX2/ASTtest1:test@10.10.10.16:4569'
[Aug 16 16:37:59] == Setting global variable 'TRUNKBINFONE' to 'IAX2/1112223333:PASSWORD@iax.binfone.com'
[Aug 16 16:37:59] == Setting global variable 'SIPtrunk' to 'SIP/1234:PASSWORD@sip.provider.net'
[Aug 16 16:37:59] == Setting global variable 'TRUNKloop' to 'IAX2/ASTloop:GWlsh3vDhSSHiD7@127.0.0.1:40569'
[Aug 16 16:37:59] == Setting global variable 'TRUNKblind' to 'IAX2/ASTblind:GWlsh3vDhSSHiD7@127.0.0.1:41569'
[Aug 16 16:37:59] == Setting global variable 'TRUNKplay' to 'IAX2/ASTplay:GWlsh3vDhSSHiD7@127.0.0.1:42569'
[Aug 16 16:37:59] -- Time to scan old dialplan and merge leftovers back into the new: 0.000033 sec
[Aug 16 16:37:59] -- Time to restore hints and swap in new dialplan: 0.000002 sec
[Aug 16 16:37:59] -- Time to delete the old dialplan: 0.000027 sec
[Aug 16 16:37:59] -- Total time merge_contexts_delete: 0.000062 sec
[Aug 16 16:37:59] -- pbx_config successfully loaded 3 contexts (enable debug for details).
[Aug 16 16:37:59] == Manager registered action DialplanExtensionAdd
[Aug 16 16:37:59] == Manager registered action DialplanExtensionRemove
[Aug 16 16:37:59] == pbx_config.so => (Text Extension Configuration)
[Aug 16 16:37:59] Loading func_groupcount.so.
[Aug 16 16:37:59] == Registered custom function 'GROUP_COUNT'
[Aug 16 16:37:59] == Registered custom function 'GROUP_MATCH_COUNT'
[Aug 16 16:37:59] == Registered custom function 'GROUP_LIST'
[Aug 16 16:37:59] == Registered custom function 'GROUP'
[Aug 16 16:37:59] == func_groupcount.so => (Channel group dialplan functions)
[Aug 16 16:37:59] Loading func_vmcount.so.
[Aug 16 16:37:59] == Registered custom function 'VMCOUNT'
[Aug 16 16:37:59] == func_vmcount.so => (Indicator for whether a voice mailbox has messages in a given folder.)
[Aug 16 16:37:59] Loading func_jitterbuffer.so.
[Aug 16 16:37:59] == Registered custom function 'JITTERBUFFER'
[Aug 16 16:37:59] == func_jitterbuffer.so => (Jitter buffer for read side of channel.)
[Aug 16 16:37:59] Loading func_extstate.so.
[Aug 16 16:37:59] == Registered custom function 'EXTENSION_STATE'
[Aug 16 16:37:59] == func_extstate.so => (Gets an extension's state in the dialplan)
[Aug 16 16:37:59] Loading res_ari_playbacks.so.
[Aug 16 16:37:59] == res_ari_playbacks.so => (RESTful API module - Playback control resources)
[Aug 16 16:37:59] Loading app_macro.so.
[Aug 16 16:37:59] == Registered application 'MacroExit'
[Aug 16 16:37:59] == Registered application 'MacroIf'
[Aug 16 16:37:59] == Registered application 'MacroExclusive'
[Aug 16 16:37:59] == Registered application 'Macro'
[Aug 16 16:37:59] == app_macro.so => (Extension Macros)
[Aug 16 16:37:59] Loading func_channel.so.
[Aug 16 16:37:59] == Registered custom function 'CHANNEL'
[Aug 16 16:37:59] == Registered custom function 'CHANNELS'
[Aug 16 16:37:59] == Registered custom function 'MASTER_CHANNEL'
[Aug 16 16:37:59] == func_channel.so => (Channel information dialplan functions)
[Aug 16 16:37:59] Loading app_dumpchan.so.
[Aug 16 16:37:59] == Registered application 'DumpChan'
[Aug 16 16:37:59] == app_dumpchan.so => (Dump Info About The Calling Channel)
[Aug 16 16:37:59] Loading app_authenticate.so.
[Aug 16 16:37:59] == Registered application 'Authenticate'
[Aug 16 16:37:59] == app_authenticate.so => (Authentication Application)
[Aug 16 16:37:59] Loading func_volume.so.
[Aug 16 16:37:59] == Registered custom function 'VOLUME'
[Aug 16 16:37:59] == func_volume.so => (Technology independent volume control)
[Aug 16 16:37:59] Loading codec_alaw.so.
[Aug 16 16:37:59] == Registered translator 'alawtolin' from codec alaw to slin, table cost, 900000, computational cost 64
[Aug 16 16:37:59] == Registered translator 'lintoalaw' from codec slin to alaw, table cost, 600000, computational cost 17
[Aug 16 16:37:59] == codec_alaw.so => (A-law Coder/Decoder)
[Aug 16 16:37:59] Loading func_logic.so.
[Aug 16 16:37:59] == Registered custom function 'ISNULL'
[Aug 16 16:37:59] == Registered custom function 'SET'
[Aug 16 16:37:59] == Registered custom function 'EXISTS'
[Aug 16 16:37:59] == Registered custom function 'IF'
[Aug 16 16:37:59] == Registered custom function 'IFTIME'
[Aug 16 16:37:59] == Registered custom function 'IMPORT'
[Aug 16 16:37:59] == func_logic.so => (Logical dialplan functions)
[Aug 16 16:37:59] Loading app_read.so.
[Aug 16 16:37:59] == Registered application 'Read'
[Aug 16 16:37:59] == app_read.so => (Read Variable Application)
[Aug 16 16:37:59] Loading res_hep_pjsip.so.
[Aug 16 16:37:59] WARNING[17547]: res_hep_pjsip.c:240 load_module: res_hep is not loaded or running; declining module load
[Aug 16 16:37:59] Loading func_callerid.so.
[Aug 16 16:37:59] == Registered custom function 'CALLERPRES'
[Aug 16 16:37:59] == Registered custom function 'CALLERID'
[Aug 16 16:37:59] == Registered custom function 'CONNECTEDLINE'
[Aug 16 16:37:59] == Registered custom function 'REDIRECTING'
[Aug 16 16:37:59] == func_callerid.so => (Party ID related dialplan functions (Caller-ID, Connected-line, Redirecting))
[Aug 16 16:37:59] Loading func_env.so.
[Aug 16 16:37:59] == Registered custom function 'ENV'
[Aug 16 16:37:59] == Registered custom function 'STAT'
[Aug 16 16:37:59] == Registered custom function 'FILE'
[Aug 16 16:37:59] == Registered custom function 'FILE_COUNT_LINE'
[Aug 16 16:37:59] == Registered custom function 'FILE_FORMAT'
[Aug 16 16:37:59] == func_env.so => (Environment/filesystem dialplan functions)
[Aug 16 16:37:59] Loading app_externalivr.so.
[Aug 16 16:37:59] == Registered application 'ExternalIVR'
[Aug 16 16:37:59] == app_externalivr.so => (External IVR Interface Application)
[Aug 16 16:37:59] Loading app_softhangup.so.
[Aug 16 16:37:59] == Registered application 'SoftHangup'
[Aug 16 16:37:59] == app_softhangup.so => (Hangs up the requested channel)
[Aug 16 16:37:59] Loading app_bridgewait.so.
[Aug 16 16:37:59] == Registered application 'BridgeWait'
[Aug 16 16:37:59] == app_bridgewait.so => (Place the channel into a holding bridge application)
[Aug 16 16:37:59] Loading func_lock.so.
[Aug 16 16:37:59] == Registered custom function 'LOCK'
[Aug 16 16:37:59] == Registered custom function 'TRYLOCK'
[Aug 16 16:37:59] == Registered custom function 'UNLOCK'
[Aug 16 16:37:59] == func_lock.so => (Dialplan mutexes)
[Aug 16 16:37:59] Loading codec_lpc10.so.
[Aug 16 16:37:59] == Registered translator 'lpc10tolin' from codec lpc10 to slin, table cost, 900000, computational cost 535
[Aug 16 16:37:59] == Registered translator 'lintolpc10' from codec slin to lpc10, table cost, 600000, computational cost 729
[Aug 16 16:37:59] == codec_lpc10.so => (LPC10 2.4kbps Coder/Decoder)
[Aug 16 16:37:59] Loading res_ari_recordings.so.
[Aug 16 16:37:59] == res_ari_recordings.so => (RESTful API module - Recording resources)
[Aug 16 16:37:59] Loading codec_ilbc.so.
[Aug 16 16:37:59] == Registered translator 'ilbctolin' from codec ilbc to slin, table cost, 900000, computational cost 731
[Aug 16 16:37:59] == Registered translator 'lintoilbc' from codec slin to ilbc, table cost, 600000, computational cost 3731
[Aug 16 16:37:59] == codec_ilbc.so => (iLBC Coder/Decoder)
[Aug 16 16:37:59] Loading func_aes.so.
[Aug 16 16:37:59] == Registered custom function 'AES_DECRYPT'
[Aug 16 16:37:59] == Registered custom function 'AES_ENCRYPT'
[Aug 16 16:37:59] == func_aes.so => (AES dialplan functions)
[Aug 16 16:37:59] Loading app_senddtmf.so.
[Aug 16 16:37:59] == Manager registered action PlayDTMF
[Aug 16 16:37:59] == Registered application 'SendDTMF'
[Aug 16 16:37:59] == app_senddtmf.so => (Send DTMF digits Application)
[Aug 16 16:37:59] Loading res_ari_sounds.so.
[Aug 16 16:37:59] == res_ari_sounds.so => (RESTful API module - Sound resources)
[Aug 16 16:37:59] Loading app_chanisavail.so.
[Aug 16 16:37:59] == Registered application 'ChanIsAvail'
[Aug 16 16:37:59] == app_chanisavail.so => (Check channel availability)
[Aug 16 16:37:59] Loading codec_a_mu.so.
[Aug 16 16:37:59] == Registered translator 'alawtoulaw' from codec alaw to ulaw, table cost, 915000, computational cost 16
[Aug 16 16:37:59] == Registered translator 'ulawtoalaw' from codec ulaw to alaw, table cost, 915000, computational cost 20
[Aug 16 16:37:59] == codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder)
[Aug 16 16:37:59] Loading func_pjsip_aor.so.
[Aug 16 16:37:59] == Registered custom function 'PJSIP_AOR'
[Aug 16 16:37:59] == func_pjsip_aor.so => (Get information about a PJSIP AOR)
[Aug 16 16:37:59] Loading res_ari_events.so.
[Aug 16 16:37:59] == WebSocket registered sub-protocol 'ari'
[Aug 16 16:37:59] == res_ari_events.so => (RESTful API module - WebSocket resource)
[Aug 16 16:37:59] Loading res_manager_presencestate.so.
[Aug 16 16:37:59] == Manager registered action PresenceStateList
[Aug 16 16:37:59] == res_manager_presencestate.so => (Manager Presence State Topic Forwarder)
[Aug 16 16:37:59] Loading res_manager_devicestate.so.
[Aug 16 16:37:59] == Manager registered action DeviceStateList
[Aug 16 16:37:59] == res_manager_devicestate.so => (Manager Device State Topic Forwarder)
[Aug 16 16:37:59] =========================================================================
[Aug 16 16:37:59] Please note that this version of Asterisk no longer receives bug fixes.
[Aug 16 16:37:59] Consult the following URL for Asterisk version support status information:
[Aug 16 16:37:59] https://wiki.asterisk.org/wiki/display/ ... k+Versions
[Aug 16 16:37:59] =========================================================================
[Aug 16 16:37:59] Asterisk Ready.
*CLI> asterisk: symbol lookup error: asterisk: undefined symbol: json_vsprintf
vicibox9:~ #



Best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby carpenox » Mon Aug 16, 2021 10:50 am

you need to install libjansson

zypper in libjansson4
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: MicroSIP Softphone not registered to ViciDial

Postby ahmedsallam » Mon Aug 16, 2021 9:53 pm

Good Morning Carpenox
Thx so much for your great support.

Issue solved and phone registered.

Best Regards
ahmedsallam
 
Posts: 12
Joined: Thu Dec 07, 2017 9:12 am

Re: MicroSIP Softphone not registered to ViciDial

Postby carpenox » Mon Aug 16, 2021 11:16 pm

no problem, glad 2 help
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 83 guests