* You are viewing the archive for February 23rd, 2012

Hot desking and presence

One modification to my previous dialplan:
[hotdesk_outbound]
includes (via cascade) internal-calls

exten => .X,1,NoOp()
…snip do stuff to determine who’s calling, set their extension number to WHO…
same => n,Set(GROUP(activecalls)=${WHO})
same => n,Set(DEVICE_STATE(Custom:${WHO})=INUSE)
…snip make the call…

Needs to be:
[hotdesk_outbound]
includes (via cascade) internal-calls

exten => .X,1,NoOp()
…snip do stuff to determine who’s calling, set their extension number to WHO…
same => n,Set(GROUP(activecallers)=${WHO})
same => n,Set(DEVICE_STATE(Custom:${WHO})=INUSE)
…snip make the call…

And similarly, all checks or use of GROUP_COUNT(${WHO}@activecalls) should be changed to GROUP_COUNT(${WHO}@activecallers). I missed the fact that setting GROUP(activecalls)=${E} later on in my dialplan was overwriting the GROUP(activecalls)=${WHO} for intra-office calls, and thus breaking my ability to see that the person placing the intra-office call was “on another line” if a second call rang their phone or what have you.

Noah Engelberth
MetaLINK Technologies
System Administration

The message does not contain any threats
AVG for MS Exchange Server (2012.0.1913 – 2114/4827)

Rejecting transfers to in-use parking spaces

> I’m trying to emulate the functionality of our existing phone system,
> which is somewhat different than what Asterisk provides with a
> trivial parking configuration. I’d like each user to have three park
> buttons, park 1, park 2, park 3. The snom 870s I’m using have a
> “Park+Orbit” button, which best I can determine, is a shortcut to
> transfer someone to an extension. So, I defined some extensions:
>
> exten => _*70[123],1,NoOp(parking in ${EXTEN:1})
> same => n,Set(PARKINGEXTEN=${EXTEN:1})
> same =>
> n,GotoIf(${DEVICE_STATE(park:${PARKINGEXTEN}@parkedcalls)}=INUSE?busy)
> same => n,Park()
> same => n(busy),Busy()
>
> As you can see, I’m calling Busy() if someone is already parked in
> the space, but this doesn’t do what I’d like. What I’m hoping to
> accomplish is have Asterisk respond to the Sip REFER to *701 with a
> 404 or similar response; if Asterisk can do this, then the Snom will
> say “transfer failed!”. As it is, the transfer is successful, and
> the caller hears a busy tone. Is there an application that has the
> effect of “Pretend this extension doesn’t exist”, or can I somehow
> get the caller back to the person that tried to park them in this
> space that’s in use?

The dialplan device state check above is not always going to work
because another call could park in that space between the check
and the actual park. The device state check in this case is
also unnecessary because Park will continue executing dialplan if
the park fails.

You could try three parkinglots with one parking space each. Each
phone park button would transfer the call to a different parkinglot.
Then all you need to do is include the parkinglot context(s) into your
dialplan context to have access to the generated parking extensions.

Please note that for Asterisk to detect an extension as a parking
extension, the first priority of the extension must be the park
application. If the park application is not the first priority of
the extension, then the transfer is treated as a normal transfer.

Richard

Trunking betweeb two Asterisk System

Hi guys,
I am trying to make a trunk between two asterisk system SIP Trunk on Asterisk 1.6
but I cannt make it work, can any body help me plz?
Thank you

Transmit NOA (sss) to Dialogic IMG via SIP / Transmisi

Spanish/Español:

Hola a Tod@s,

Estoy en la implementación de una solución a medida en la cual requerimos conectarnos vía SIP a un IMG de DIalogic y salir hacia otras centrales (MSC) vía SS7, la conexión entre Asterisk y el IMG es SIP, pero como requerimiento necesito enviar un NOA (Nature of Address) con valor 8 por requerimientos normativos, hasta ahora no he podido encontrar como puedo enviar dicho valor sobre SIP, asumo que existirá algún parámetro en las cabeceras del Invite, pero no me ha funcionado nada, ya que el NOA siempre lo recibe el IMG y las demás centrales con valor 3.

Cualquier ayuda sobre como forzar el NOA a 8 sobre la troncal SIP se las agradezco mucho.

El escenario:

Asterisk < ----SIP----> IMG Dialogic < --------SS7--------> MSC

Un Saludo!

English/Ingles:

Hi Everyone,

I’m implementing a custom solution in which we require to connect via SIP a Dialogic IMG with Asterisk and make calls to other MSC via SS7, to connect Asterisk and IMG we have a SIP trunk, but now i need to send the NOA (Nature of Address ) with value 8 for regulatory requirements, so far I couldn’t find how can i send the NOA value on SIP, I assume that there will be some parameters on the Invite headers, but nothing had worked so far, because the NOA always get to the IMG in 3.

Thanks for any help on how to force the NOA value to 8 on the SIP trunk.

The Scenario:

Asterisk < ----SIP----> IMG Dialogic < --------SS7--------> MSC

Regards!

Asterisk 10.1.3 Now Available

The Asterisk Development Team has announced the release of Asterisk 10.1.3.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/

The release of Asterisk 10.1.3 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following are the issues resolved in this release:

* — Fix ACK routing for non-2xx responses.
(Closes issue ASTERISK-19389. Reported by: Karsten Wemheuer)

* — Fix regressions with regards to route-set creation on early dialogs —
(Closes issue ASTERISK-19358. Reported-by: Karsten Wemheuer)

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-10.1.3

Thank you for your continued support of Asterisk!