Inbound Not ringing
Inbound Not ringing
HI,
I was able to get outbound to work by using this string in the dialing plan
sys.Dial("PhonePower") where PhonePower is the same of the service provider I entered in the SipSorcery setup
I removed all dialing plans from the inbound and I don't receive any inbound calls. It just forwards to my secondary number.
How can I configure inbound calls to ring through to my SIP client?
I was able to get outbound to work by using this string in the dialing plan
sys.Dial("PhonePower") where PhonePower is the same of the service provider I entered in the SipSorcery setup
I removed all dialing plans from the inbound and I don't receive any inbound calls. It just forwards to my secondary number.
How can I configure inbound calls to ring through to my SIP client?
Re: Inbound Not ringing
Try this Dial Plan. Name it Out. ( Don't forget to name it PhonePower in Sip Provider )
In your Sip Account DO it this way. Set Out as your Out Dial Plan leave in blank In Dial Plan. Here is a ScreenShot Example.
Code: Select all
sys.Log("New outgoing call received to #{req.URI.User}.")
case req.URI.User
when /^[01]?([2-9]\d{9})/ then sys.Dial("PhonePower") # Example 10 # Call (123-456-7890)
when /^02/ then sys.Dial("12223456789@PhonePower") # Dial 02 to Call to somebody
when /^03/ then sys.Dial("13334567890@PhonePower") # ' ' 03 Another Call
when /^04/ then sys.Dial("3333@sip2sip.info") # Test Call
when /^05/ then sys.Dial("test@conference.sip2sip.info") # Test Conference
when /^06/ then sys.Dial("4444@sip2sip.info") # Test Microphone
when /^07/ then sys.Dial("904@mouselike.org") # Sound Test
when /^08/ then sys.Dial("music@iptel.org") # Sound Music Test
else sys.Dial(480, "OoPs NoOne is Available")
end
In your Sip Account DO it this way. Set Out as your Out Dial Plan leave in blank In Dial Plan. Here is a ScreenShot Example.
Re: Inbound Not ringing
If the SIP account has no setting for the "Incoming Dial Plan" (which is the default) then all incoming calls are automatcailly forwarded to your default SIP account.zargnut wrote:I removed all dialing plans from the inbound and I don't receive any inbound calls. It just forwards to my secondary number.
How can I configure inbound calls to ring through to my SIP client?
The main thing to get right is that the "Register Contact" on your sipsorcery SIP provider matches your username. For example in your case the "Register Contact" should be sip:zargnut@sipsorcery.com.
Re: Inbound Not ringing
Thank you. I was able to dial out and receive incoming. The register contact WAS the source of the problem.
Here is another issue. I am only using a soft phone and when my computers are asleep, the SIP account bindings lapse. When an incoming call comes in, It does not follow the VOIP forwarding rules from PhonePower and route to my cell.
Is there a way I can use incoming dialing plans to send a message back to the SIP provider that either the phone is dialing and in that case, will roll over to my cell.. or that the client is busy and will likewise roll over to my cell?
thanks
dan
Here is another issue. I am only using a soft phone and when my computers are asleep, the SIP account bindings lapse. When an incoming call comes in, It does not follow the VOIP forwarding rules from PhonePower and route to my cell.
Is there a way I can use incoming dialing plans to send a message back to the SIP provider that either the phone is dialing and in that case, will roll over to my cell.. or that the client is busy and will likewise roll over to my cell?
thanks
dan
Re: Inbound Not ringing
Yes there is.zargnut wrote: Is there a way I can use incoming dialing plans to send a message back to the SIP provider that either the phone is dialing and in that case, will roll over to my cell.. or that the client is busy and will likewise roll over to my cell?
The steps are:
1. Create a new dialplan and call it "defaultin" or something else that identifies it to you as an incoming dialplan,
2. For the dialplan contents you can add something as simple as the example below (replace the values as required). The second dial command will only be called if the first one fails.
Code: Select all
sys.Dial("zargnut@sipsorcery.com")
sys.Dial("1234567@phonepower")
Re: Inbound Not ringing
I had put in this
This seems to work... any issues with this approach?
Code: Select all
sys.Dial("zargnut@local", 10) #for incoming calls
sys.Respond(404, "No forwards answered")
Re: Inbound Not ringing
If your softphone is online you'll only have 10s to answer it but apart from that I don't see any problems.