![]() ![]() > To install res_xmpp, we need the iksemel development library. Serverhost=192.168.1.105 ip addresss of XMPP server(Openfire) > Before we can start sending messages to our XMPP buddies, we need to connect to an XMPP-enabled server. Save settingsand you have successfully completed the configurations. > Under Asterisk-IM > Phone Mappings > Add User/Asterisk Phone mapping, specify: > Let’s now go back to Openfire and add users to map to the SIP accounts we’ve added.You’ll configure: Secret=password a secure password for this deviceĪllowguest=no disable unauthenticated callsĭtmfmode=auto accept touch-tones from the devices, negotiated automatically Account nameĬontext=test default context for incoming calls Then add the following Lines at the end of the file. On general section add the line: callevents = yes $ is a variable holding extension number dialed.Īdd SIP users to be mapped to XMPP chat accounts. _XXX: It is a pattern matching meaning any extension with three digits. Įxten => _XXX,n,No0p ( This-is-a-sample-context) Go to the end of the file and add the following lines. Let’s create the context “ test” on Asterisk. Write = system, call, agent, user, config, comman, reportingĪdd the user that will connect to Asterisk Server, go to users and Groups then add user. ![]() Read = system, call, log, verbose, agent, user, config, DTMF,reporting Secret =password-that-you'll-set-on-next-step Port = 5038 This is the Asterisk AMI Port numberĪdd the user you specified on step 5 and the password. ![]() ![]() Make sure the general section has the following configuration options. Start your Asterisk PBX server, then: sudo vim /etc/asterisk/nf > Head over to Asterisk Server and add the user you specified on the previous step to /etc/asterisk/nf file. See screenshot below for my configuration.
0 Comments
Leave a Reply. |