Asterisk-IM Phone Mappings

Goes without saying that documentation on this plugin doesn’t exist. If I’m missing something, please forward a link to documentation.

For Phone Mapping settings:

Username: <-- Is this the Openfire user or Asterisk user?

Device: <-- Is this the name of the phone device the user has, such as Linksys SPA942? or the UAD specified in Asterisk for the user? or whatever you want it to say?

Extension: <-- This is self explanatory.

Caller ID: <-- Custom Caller ID to be used when dialing from IM? Defaults to what? The Extension?

Primary: <-- What does this mean/do?

I’ll answer some of my own question as I learn… still some blank areas though:

For Phone Mapping settings:

Username: <-- This is the Openfire user

Device: <-- This is the SIP device, as in SIP/1000.

Extension: <-- This is self explanatory.

Caller ID: <-- Custom Caller ID to be used when dialing from IM? Defaults to what? The Extension?

Primary: <-- What does this mean/do?

“Caller ID” and “Primary” are both used when originating calls through Spark. Caller ID is the caller id used for those calls (it defaults to blank I think).

The primary flag only makes sense when you map multiple lines to one user: Say you have a phone with two lines (SIP/101 and SIP/102) and want to place outgoing calls originated through Spark on SIP/101 but want to be be away if either SIP/101 or SIP/102 are busy.

You map SIP/101 and SIP/102 to the user (jid) and mark SIP/101 as primary.

=Stefan

Perfect!