SIP scanners
QBZappy:
oleg,
Nice to see you back on the forum. The IQ of the forum just spiked off the charts.
Our good friend in the UK ianobi came up with something I used in another use case which may be of interest in your setup.
([^*+]@@[^+].<+:@>@@.|[^*]@@.'@'@@.)
How to set up Music on hold (MOH) (the easy way)
http://www.obitalk.com/forum/index.php?topic=5180.msg33593#msg33593
oleg:
Hi QBZappy,
I am glad to see you again :-)
I am afraid you overrate me, I was starring at ianobi's "bizarre digitmap" like a fool :-)
Well, I guessed what that map could do, but I couldn't think how it may help in my case...
Anyway, I found the solution. The parentheses did the trick.
>'myname':ph1,ph2 <- does NOT work
>('myname'):ph1,ph2 <- works!
My final inbound call route is ">('myname'|123456@.):ph1" and it allows both "myname@sip.myhost.com:5078" and "123456_name@sip.myhost.com:5078", while rejects scanner calls like following (these are real calls ringing my phone last night):
3/20/2013 2:19:10 AM INVITE sip:+972592280470@12.34.56.78:5078 SIP/2.0
3/20/2013 2:19:14 AM INVITE sip:0972592280470@12.34.56.78:5078 SIP/2.0
3/20/2013 2:19:14 AM INVITE sip:00972592280470@12.34.56.78:5078 SIP/2.0
3/20/2013 2:19:17 AM INVITE sip:000972592280470@12.34.56.78:5078 SIP/2.0
3/20/2013 2:19:17 AM INVITE sip:0000972592280470@12.34.56.78:5078 SIP/2.0
3/20/2013 2:19:20 AM INVITE sip:00000972592280470@12.34.56.78:5078 SIP/2.0
.......
---oleg
Mango:
Excellent! This is a great solution that I hope will one day become the default setting.
Is there any way we could do this with a variable, so that changing AuthUserName resulted in the DigitMap changing?
I got such an example to work with a User Defined Macro and $VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName, but I think my solution is actually less convenient. Can it be done without the Macro?
Hortoristic:
Getting a bit lost on your examples - and I'm even a software engineer by trade!
You said: My final inbound call route is ">('myname'|123456@.):ph1" and it allows both "myname@sip.myhost.com:5078" and "123456_name@sip.myhost.com:50
What exactly am I doing with your snippet: ">('myname'|123456@.):ph1" ?
I have a couple SIP accounts, one is Callcentric and one is from 3C Softswitch in UK - by just putting your above snippet ">('myname'|123456@.):ph1" in InboundCallRoute, it will auto replace myname with the correct SIP info (either Callcentric or 3C Softswitch)?
Mango:
I believe the InboundCallRoute for Callcentric would be: (obviously, replace 1777xxxxxxx with your actual 1777 number.)
>('1777xxxxxxx'):ph1
Does that work?
Navigation
[0] Message Index
[#] Next page
[*] Previous page