* You are viewing the archive for August 17th, 2012

BLF And Call Queues

Hello,

I’m trying to monitor a Call Queue with BLF-button to see if there are calls inside the Call Queue.

This I have :

extensions.conf

exten => 566,hint,Queue:voipq1

On the CLI I see :

566@908001-blf : Queue:voipq1 State:Unavailable Watchers 1


But when a call enters my queue “voipq1″, then my BLF-light stays green in stead of turning red or blinking red.

Is there something I’m missing to “monitor” a call queue ?



Kind regards, Jonas.

Hosted Softswitch Integration

Hello Everyone,

We are trying to integrate a hosted soft-switch to an Asterisks server and the error received on the Softswitch end is decline 603

The change that we made is to add the Softswitch IP in the SIP
configuration file, see below


[from-trunk]
hostf.77.199.205
type=user nat=yes insecure=very dtmfmode=rfc2833
context=from-trunk canreinvite=no disallow=all allow=ulaw allow=gsm allow=g729


On the attempt to integrate to the asterisks server nothing is seen in the asterisk log There is something we might not be doing well. can somebody please help.

Regards

OpenVox G400P SMS Messages Character Set Issues

I have just installed one of these cards with the intention of using it to send text messages.

O2 and Vodafone PAYG SIM cards worked fine (couldn’t make calls or send texts before putting on some credit, obviously). Orange and Virgin PAYG SIMs keep showing “Network status: Not Registered”. I have not added any credit to these SIMs for fear of it still not working ()

I can’t get “smsq” working. However, I can send an SMS message using the “gsm send sms” command in CLI, and so by using something like

# asterisk -rx “gsm send sms 1 0xxxxxxxxxx \”Wibble\””

I can send a message to my own mobile.

However, when doing this, some characters are getting changed in transit! The
$ sign gets changed to ¤, the @ sign gets changed to ¡, [\]^_` get changed to
ÄÖÑܧ̣¿ and {|}~ get changed to äöñü. (Tried with 2 different phones and two different spans on the card, same result each time.)

This is reminiscent of the old days of dot-matrix printers, where DIP switches were used to select a national variant of a 7-bit ASCII charset. (Though, I’m not sure what country speaks such a mixture of Spanish and German …..)

Should I be looking for a setting somewhere to change the charset?

Or should I be thinking in terms of encoding the message as PDU, and sending the charset with the binary coded message?

On a separate note, I managed to get SMS reception working nicely by configuring an extension “sms” in the [from-gsm] context of my dialplan; this gets called, with channel variables ${SMSTXT} and ${SMSSRC} defined, whenever an SMS message arrives.

; ========== 8< ==========
[from-gsm]
... exten => sms,1,NoOp(Incoming SMS)
exten => sms,2,AGI(sms_to_email.agi,${SMSTXT},${SMSSRC})
exten => sms,3,Hangup()
; ========== >8 ==========

The AGI script simply e-mails the SMS message text and sender’s number to me.


AJS

Answers come *after* questions.

Trouble With Call Pickup Using RPID With Cisco

I have a Cisco 1760V with FXO ports hooked to POTS lines talking SIP to Asterisk 1.8.15.0.

imagining in extensions.conf:
exten => 1,1,Dial(SIP/121)
exten => 2,1,Dial(SIP/121&SIP/122)

When a caller dials extension 2 /and/ I have
trustrpid=yes
generaterpid=yes
sendrpid=yes in sip.conf and I use the pickup exten, the caller is disconnected.

see: http://jeremy.kister.net/tmp/ast/group-with-rpid

if i set the rpid generate/send = no for the cisco peer, the user is connected. see: http://jeremy.kister.net/tmp/ast/group-without-rpid


calls to exten 1 work regardless of rpid settings.

i have replication configs at http://jeremy.kister.net/tmp/ast/

Can someone help me determine if this is a problem with asterisk or ios ?