Signaling Incoming Call
Hi list!
Finally I got my Asterisk works with my two phones… It was a problem on my Firewall (for the phone of my wife) and on my Dialplan
(for forwarding calls).
Now all works as expected, at least in the simulation I did with AsteriskNOW. Hopefully it will work later, when Deutsche Telekom changes my ISDN to VoIP…
Well, now I have some time to spend with “fooling”… My phone will receive calls from 3 numbers. All that was done in my dialplan. Now, it would be nice, if I can signaling on the phone which number will be called, so that, for example, if I receive a call for +493511111111 I get a message on the display or the phone ring with a particular tone, and if I
receive a call for +493512222222 the phone write something other on the display or ring with another tone.
Is it possible? Maybe it depends from phone… I use a Thomson ST2022.
Thanks a lot Luca Bertoncello
(lucabert@lucabert.de)
11 thoughts on - Signaling Incoming Call
Don’t worry, Asterisk works very well with Deutsche Telekom and there new ip-based connections …
–
Guenther Boelter schrieb:
That’s a good news… Currenty I configured my sip.conf so:
register => 00493511111111:MYSECRET@pbxluca/00493511111111
register => 00493512222222:MYSECRET@pbxfax/00493512222222
register => 00493513333333:MYSECRET@pbxanika/00493513333333
register => 4444444444:MYVERYSECRET@messagenet/4444444444
[pbxluca]
type=peer defaultuser 493511111111
secret= MYSECRET
dtmfmode=rfc2833
host2.16.34.132
context=luca_incoming outboundproxy2.16.34.132
portP60
fromuser 493511111111
fromdomain2.16.34.132
usereqphone=yes canreinvite=no insecure=invite qualify=yes qualifyfreq`0
[pbxfax]
type=peer defaultuser 493512222222
secret= MYSECRET
dtmfmode=rfc2833
host2.16.34.132
context
Am 31. Mai 2015 10:58:56 MESZ, schrieb Luca Bertoncello:
Hi Luca,
I had a discussion recently regarding Asterisk and your provider. The result you can basically find in this message: http://lists.digium.com/pipermail/asterisk-users/2015-April/286353.html
Regards, Sebastian
[snip]
Just a few ‘stylistic’ and ‘ease of maintenance’ suggestions:
1) Group the ‘register’ with the stanza.
2) Add a bit of whitespace to increase ‘readability.’
3) Sort the parameters to make it easier to maintain.
4) Move ‘common’ settings to ‘general.’
Thus, I’d write your sip.conf as:
[general]
canreinvite = no
context = luca_incoming
dtmfmode = rfc2833
insecure = invite
outboundproxy = 172.16.34.132
port = 5060
qualify = yes
qualifyfreq = 600
usereqphone = yes
[general](+)
register = 00493511111111:MYSECRET@pbxluca/00493511111111
[pbxluca]
defaultuser = 00493511111111
fromdomain = 172.16.34.132
fromuser = 00493511111111
host = 172.16.34.132
secret = MYSECRET
type = peer
[general](+)
register = 00493512222222:MYSECRET@pbxfax/00493512222222
[pbxfax]
defaultuser = 00493512222222
fromdomain = 172.16.34.132
fromuser = 00493512222222
host = 172.16.34.132
secret = MYSECRET
type = peer
5) I’d try and move more of the common settings to general, but these were the ones listed on voip-info.org.
You can fiddle with the caller ID to change what is displayed on the phone.
You can fiddle with the ring tone by phone specific configuration and phone specific SIP headers (sipaddheader(Alert-Info: …)).
These seem relevant:
http://www.voip-info.org/wiki/view/RTTTL+melodies+for+ST2030 (the discussion looks relevant as well).
http://www.asteriskguru.com/tutorials/thomson_st2030.html
http://www.freepbx.org/support/documentation/howtos/how-to-enable-distinctive-ringing-alert-info-for-calls-from-particular-
Steve Edwards schrieb:
Thank you very much!
I’ll try it and report to the list.
Regards Luca Bertoncello
(lucabert@lucabert.de)
Steve Edwards schrieb:
Hi Steve!
Thank you very much!
It seems to run!
I wrote that:
exten => _00493513333333,n,Set(__ALERT_INFO
http://www.notused.com but it perfect,
Look into Set(CALLERID(name)) and Set(CALLERID(num)) to manipulate the caller id name and number that show up on the phone.
Kevin Larsen schrieb:
Hi Kevin
thank you very much for the suggestion. I think it’s not the right way, since I’d like to display the right number and the name from address book… If I change it, I’ll not get the right data on the display, isn’t it?
Anyway, I’ll try tomorrow…
Thanks Luca Bertoncello
(lucabert@lucabert.de)
Kevin Larsen schrieb:
Hi Kevin!
Thanks! It works!
I can set the name of the line with CALLERID(name) and see the caller number, too. And, it the number is in the address book, I see the name, too.
Perfect!
Regards Luca Bertoncello
(lucabert@lucabert.de)
number,
Glad it worked for you. I usually leave the number untouched, but will manipulate the name to suite what I want. I have mulitple call queues, so for instance, for my helpdesk lines, I will do something like transform
“Name” to “HD:Name” so that the person being called knows that the caller dialed the help desk number rather than their direct number. On people who work multiple queues, it is very handy so they can see at a glance what queue the caller is reaching.