Remote SIP (Softphone) Problem

Greetings to all!

Ok, here is the issue. I have 2 remote softphones that were working perfectly until today. Locally, they work fine. When I take them away from the local network, they will perform to the point of someone answering a call made from the softphone and then that call is dropped.

I have on of the softphones on a ring group and it sees every call to that ring group.

I have tried calling the softphones from one another and nothing is heard on either end but it’s the only situation I can find where the calls don’t drop as soon as they are picked up.

I am quite sure this is a simple addressing issue that may have changed when our IP address of the PBX system changed; however, every place I can find that has an address is stuck to the working (tried and tested) domain name.

Naturally, I tried a reboot of the system and that did not help.

I also tried calling a conference room and it hangs up as soon as it’s opened. Same with chanspy.

Any ideas?

EDIT: Please see the log below when chanspy (555) is attempted remotely from the softphone.

-- Executing [[email protected]:1] Macro("SIP/4000-00000012", "user-callerid                                                                                       ,") in new stack
-- Executing [[email protected]:1] Set("SIP/4000-00000012", "AMPUSER=400                                                                                       0") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/4000-00000012", "0?report                                                                                       ") in new stack
-- Executing [[email protected]:3] ExecIf("SIP/4000-00000012", "1?Set(RE                                                                                       ALCALLERIDNUM=4000)") in new stack
-- Executing [[email protected]:4] Set("SIP/4000-00000012", "AMPUSER=400                                                                                       0") in new stack
-- Executing [[email protected]:5] Set("SIP/4000-00000012", "AMPUSERCIDN                                                                                       AME=Josh - Remote") in new stack
-- Executing [[email protected]:6] GotoIf("SIP/4000-00000012", "0?report                                                                                       ") in new stack
-- Executing [[email protected]:7] Set("SIP/4000-00000012", "AMPUSERCID=                                                                                       4000") in new stack
-- Executing [[email protected]:8] Set("SIP/4000-00000012", "CALLERID(al                                                                                       l)="Josh - Remote" <4000>") in new stack
-- Executing [[email protected]:9] GotoIf("SIP/4000-00000012", "0?limit"                                                                                       ) in new stack
-- Executing [[email protected]:10] ExecIf("SIP/4000-00000012", "0?Set(G                                                                                       ROUP(concurrency_limit)=4000)") in new stack
-- Executing [[email protected]:11] GosubIf("SIP/4000-00000012", "7?sub-                                                                                       ccss,s,1(from-internal,555)") in new stack
-- Executing [[email protected]:1] ExecIf("SIP/4000-00000012", "0?Return()") in new                                                                                        stack
-- Executing [[email protected]:2] Set("SIP/4000-00000012", "CCSS_SETUP=TRUE") in n                                                                                       ew stack
-- Executing [[email protected]:3] GosubIf("SIP/4000-00000012", "0?monitor_config,1                                                                                       (from-internal,555):monitor_default,1(from-internal,555)") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/4000-00000012", "0?is_                                                                                       exten") in new stack
-- Executing [[email protected]:2] StackPop("SIP/4000-00000012", "")                                                                                        in new stack
-- Executing [[email protected]:3] Return("SIP/4000-00000012", "FALSE                                                                                       ") in new stack
-- Executing [[email protected]:12] ExecIf("SIP/4000-00000012", "0?Set(C                                                                                       HANNEL(language)=)") in new stack
-- Executing [[email protected]:13] GotoIf("SIP/4000-00000012", "0?conti                                                                                       nue") in new stack
-- Executing [[email protected]:14] Set("SIP/4000-00000012", "__TTL=64")                                                                                        in new stack
-- Executing [[email protected]:15] GotoIf("SIP/4000-00000012", "1?conti                                                                                       nue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [[email protected]:26] Set("SIP/4000-00000012", "CALLERID(n                                                                                       umber)=4000") in new stack
-- Executing [[email protected]:27] Set("SIP/4000-00000012", "CALLERID(n                                                                                       ame)=Josh - Remote") in new stack
-- Executing [[email protected]:28] Set("SIP/4000-00000012", "CHANNEL(la                                                                                       nguage)=en") in new stack
-- Executing [[email protected]:2] Answer("SIP/4000-00000012", "") in new st                                                                                       ack
-- Executing [[email protected]:3] Wait("SIP/4000-00000012", "1") in new sta                                                                                       ck
-- Executing [[email protected]:4] ChanSpy("SIP/4000-00000012", "") in new s                                                                                       tack
-- <SIP/4000-00000012> Playing 'beep.ulaw' (language 'en')

[2013-05-29 16:56:32] WARNING[3088]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission 3a882fb56c5634a9 for seqno 602740107 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 7104ms with no response
[2013-05-29 16:56:32] WARNING[3088]: chan_sip.c:3670 retrans_pkt: Hanging up call 3a882fb56c5634a9 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
== Spawn extension (from-internal, 555, 4) exited non-zero on ‘SIP/4000-00000012’
– Executing [[email protected]:1] Hangup(“SIP/4000-00000012”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/4000-00000012’

Yep, the ip address was the ‘problem’

sin_nat file contained the line: externip=12.34.56.78 (numbers replaced for security reasons but that was my old ip address).

I changed that line to: externhost=myhostnamehere.net (not actually my host name for security reasons).

Everything works great! Sorry to have bugged you guys. I hope this solution can help others.