Cisco 7945 Incoming Call Issues

Support zone
Post Reply
dkaczmark
Posts: 5
Joined: Mon Jun 18, 2012 4:58 am

Cisco 7945 Incoming Call Issues

Post by dkaczmark » Tue Nov 04, 2014 10:08 pm

I'm sure Aaron is going to look at this and twitch a bit. :)

I've since resurrected my 7945G and trying it out with my provider. I ditched it long ago, but decided to give it a whirl again.

It registers okay and can making outgoing calls with no issues. My trouble still is incoming calls.

Here's what I have:

Incoming Dial Plan:

Code: Select all

bindings = sys.GetBindings()
if bindings != nil && bindings.length > 0
  bindingURI = bindings[0].MangledContactSIPURI
  bindingURI.Host = bindingURI.ToSIPEndPoint().Address.ToString() + ":5060"
  sys.Dial(bindingURI.ToString())
else
  sys.Log("No bindings were found for your default SIP account.")
  sys.Respond(404, "No bindings found")
end
Nat Settings on Router:

Forwarding 5060/5061 & 16384-32768 to my phone.

Console Messages

Code: Select all

DialPlan 21:55:55:119 sip1(16080): Commencing Dial with: sip:dkaczmark@xx.xx.xx.xx:5060;transport=udp.
DialPlan 21:55:55:119 sip1(16080): Attempting to locate a provider for call leg: sip:dkaczmark@xx.xx.xx.xx:5060;transport=udp.
DialPlan 21:55:55:119 sip1(16080): ForkCall commencing call leg to sip:dkaczmark@xx.xx.xx.xx:5060;transport=udp.
DialPlan 21:55:55:119 sip1(16080): Switching to sip:dkaczmark@69.174.162.202:5060 via udp:xx.xx.xx.xx:5060.
DialPlan 21:55:55:119 sip1(16080): SDP on UAC call had public IP not mangled, RTP socket 199.7.173.51:18454.

Any ideas here would be greatly appreciated! :)

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Cisco 7945 Incoming Call Issues

Post by Aaron » Thu Nov 06, 2014 9:09 am

I just tried calling your sipsorcery account and got a ringing response back from your Cisco phone. Is the problem incomign calls not getting through at all or is it an audio issue?

dkaczmark
Posts: 5
Joined: Mon Jun 18, 2012 4:58 am

Re: Cisco 7945 Incoming Call Issues

Post by dkaczmark » Thu Nov 06, 2014 3:37 pm

Aaron,

Thanks for the reply. I was actually fiddling with things last night and seemed to get it to work. Not quite sure *what* I did, however (which is always the fun part).

I did change my <contact> setting to my DID instead of username. I read somewhere that if that's malformed the phone will ignore calls.

Last thing - From my SIP Provider, it looks like they send a 'Notify' message when a new voicemail is received. It looks like it's coming in and being directed to my phone at a random high port. Is there anyway through a dialplan or a setting which I can modify that to be changed to :5060?

Thanks again!

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Cisco 7945 Incoming Call Issues

Post by Aaron » Fri Nov 07, 2014 10:23 am

NOTIFY requests can't be processed in your dialplan, they are handled by a dedicated server agent.

I have set a don't mangle flag on your SIP account which will stop the sipsorcery registrar from adjusting the SIP contact URI set by your Cisco phone. Check if your MWI notifications get through now.

User avatar
Flip
Posts: 95
Joined: Sun Aug 19, 2012 3:53 am

Re: Cisco Incoming Call Issues

Post by Flip » Mon Jun 06, 2016 1:06 pm

Can I just say that your dial plan is really interesting! Where did you find it? or snippets of it?
So is this calling ALL accounts that are currently on-line and 'bound' to the SipSorcery server? or just for that particular SS Account? Bindings I figured could be any...

Would really appreciate your help to learn what you did to solve inbound calls? I also find I have to reboot everything to be able to receive calls. :cry: :x
Thanks!

dkaczmark wrote:Device registers okay and can making outgoing calls with no issues. My trouble still is incoming calls.

Here's what I have:
Incoming Dial Plan:

Code: Select all

bindings = sys.GetBindings()
if bindings != nil && bindings.length > 0
  bindingURI = bindings[0].MangledContactSIPURI
  bindingURI.Host = bindingURI.ToSIPEndPoint().Address.ToString() + ":5060"
  sys.Dial(bindingURI.ToString())
else
  sys.Log("No bindings were found for your default SIP account.")
  sys.Respond(404, "No bindings found")
end
ISP: Southern Phone ADSL2+ $55 Bundle. 22.4/1.2Mbps, GB Bundle [Telstra].
VSP: SIPTalk¹, Symbio² & MyNetFone³ via SIPSorcery Cloud PBX. [Warning! Avoid DIDLogic!!! Beware!!]
H/W: Asus RT-AC86U; Cisco SPA232D, 2 x SPA901's, SPA3102; Yealink SIP-T46G.

Post Reply