Search found 192 matches

by mnipp
Mon Jan 02, 2012 11:10 am
Forum: Technical Support
Topic: Dialing other SS numbers
Replies: 9
Views: 1454

Re: Dialing other SS numbers

Call leg is for local domain looking up bindings for 996765@sipsorcery.com for call leg ${EXTEN}@local.
0 found for 996765@sipsorcery.com.
Looks like no phone was registered to sipsorcery user "996765".
by mnipp
Mon Jan 02, 2012 10:13 am
Forum: Technical Support
Topic: Dialing other SS numbers
Replies: 9
Views: 1454

Re: Dialing other SS numbers

This post may show you what you can do to separate sipsorcery username, phone number and sip address.

viewtopic.php?f=6&t=3745
by mnipp
Sun Dec 25, 2011 10:49 am
Forum: Technical Support
Topic: Problem to receive inncomming from Phonzo
Replies: 5
Views: 804

Re: Problem to receive inncomming from Phonzo

change sip:xxxxx@sipsorcery.com to sip:xxxxx@69.59.142.213
by mnipp
Fri Dec 23, 2011 12:10 pm
Forum: Technical Support
Topic: Problem to receive inncomming from Phonzo
Replies: 5
Views: 804

Re: Problem to receive inncomming from Phonzo

Goto to your SIP Provider settings for Phonzo and try sipsorcery's IP address in the Register-Contact.

change sip:xxxxx@sipsorcery.com to sip:xxxxx@69.59.142.213
by mnipp
Fri Dec 09, 2011 8:58 am
Forum: Technical Support
Topic: Set Time in Dial Plan
Replies: 8
Views: 1116

Re: Set Time in Dial Plan

I tried the following time functions # Timezone function examples. sys.Log("Timezone=#{sys.GetTimezone()}.") sys.Log("Timezone offset minutes=#{sys.GetTimezoneOffsetMinutes()}.") # Get your local time localTime = System::DateTime.UtcNow.AddMinutes(sys.GetTimezoneOffsetMinutes()) sys.Log("Local time ...
by mnipp
Thu Nov 24, 2011 11:52 am
Forum: Technical Support
Topic: Set Time in Dial Plan
Replies: 8
Views: 1116

Re: Set Time in Dial Plan

I just wrote my own solution for setting time and following daylight saving time in different timezones ### ### http://au.php.net/manual/en/timezones.php << list of time zones ### Tz = "Australia/Sydney" # "set TimeZone" tzstring = sys.WebGet("http://free2call.me/timezone.php?tz=#{Tz}") || "default;...
by mnipp
Thu Nov 17, 2011 12:23 am
Forum: Technical Support
Topic: Set Time in Dial Plan
Replies: 8
Views: 1116

Re: Set Time in Dial Plan

Tz = +11 # Time zone (GMT+10)Sydney AEST time change to (+11 ADST for daylight saving time) @t = Time.now.utc + (Tz*60*60) # Get current time in utc+0 and adjust to sydney time utc+10(or utc+11). I use something similar to this in my dialplan. I believe (Time.now) in MikeTelis plan will follow US d...
by mnipp
Wed Nov 16, 2011 1:25 pm
Forum: Technical Support
Topic: Distinctive Ring for different callers?
Replies: 7
Views: 1344

Re: Distinctive Ring for different callers?

Code: Select all

sys.SetFromHeader("Co-Workers", "8888888888", nil)
You can change the fromname for the incoming number.

Code: Select all

sys.SetFromHeader(incomingnumber, "8888888888", nil)
by mnipp
Wed Nov 16, 2011 6:54 am
Forum: Technical Support
Topic: Distinctive Ring for different callers?
Replies: 7
Views: 1344

Re: Distinctive Ring for different callers?

You could try the following where I set 9 different incoming numbers to 3 set numbers to set into the ATA 6666666666, 7777777777, 8888888888 incomingnumber = req.Header.From.FromURI.User.to_s # create a copy of incoming callerID phonenumber case incomingnumber when ("6766......"|"6789......"|"6777.....