[asterisk-users] sip.conf for internetcalls.com
Jaap Winius
jwinius at umrk.to
Mon Dec 24 17:14:03 CST 2007
Quoting Justin Case <nogoodnameswereavailable at gmail.com>:
> What comes up in the Asterisk CLI?
When it's not working, nothing appears in the CLI even though I've used
"set verbose 10".
> Also it can be a NAT issue?
How can that lead to this intermittent behavior? I've already set
"nat=yes". Also, I'm using an ADSL router with a NAT; not anything
like iptables.
> Have Asterisk register every 3-4 minutes.
I'm not sure how to do that. I found "defaultexpirey", but the default for it
is two minutes. Anyway, why would that help with Asterisk, when my
previous SIP client, a Linksys SPA3000, was configured with a register
expire time of an
hour and worked fine with InternetCalls.com.
I think something else is going on. Using tcpdump, I see this when
things are working okay:
----------------------
23:38:05.354523 IP 198-rsvd-tviconnect.62.221.194.in-addr.arpa.sip >
bitis.umrk.to.sip: SIP, length: 847
INVITE sip:inetcalls-in at 192.168.1.10:5060 SIP/2.0
Via
23:38:05.355065 IP bitis.umrk.to.sip >
198-rsvd-tviconnect.62.221.194.in-addr.arpa.sip: SIP, length: 471
FSIP/2.0 100 Trying
Via: SIP/2.0/UDP 194.221.62.198:50
.....
23:38:11.007350 IP 198-rsvd-tviconnect.62.221.194.in-addr.arpa.sip >
bitis.umrk.to.sip: SIP, length: 507
ACK sip:inetcalls-in at 192.168.1.10:5060 SIP/2.0
Via: S
----------------------
The ACK packet is sent after the conversation (.....) has ended.
However, when it doesn't work, I see this:
----------------------
23:42:24.736377 IP 194.120.0.198.sip > bitis.umrk.to.sip: SIP, length: 841
INVITE sip:inetcalls-in at 192.168.1.10:5060 SIP/2.0
Via
23:42:24.736898 IP bitis.umrk.to.sip > 194.120.0.198.sip: SIP, length: 445
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 194.120.0.198:
23:42:24.756967 IP 194.120.0.198.sip > bitis.umrk.to.sip: SIP, length: 505
ACK sip:inetcalls-in at 192.168.1.10:5060 SIP/2.0
Via: S
----------------------
In this case, the ACK follows immediately after the "404 Not Found".
Cheers,
Jaap
More information about the asterisk-users
mailing list