Hi!
I’ve successfully set up voipbuster with asterisk for outbound calls.
However I still can’t register my username, although the logs seem to indicate that everything went well.
Here is what the log shows:
[code]Feb 13 16:49:56 VERBOSE[2439] logger.c: REGISTER 13 headers, 0 lines
Feb 13 16:49:56 VERBOSE[2439] logger.c: Reliably Transmitting (no NAT) to 80.239.235.200:5060:
REGISTER sip:sip1.voipbuster.com SIP/2.0
Via: SIP/2.0/UDP :5060;branch=z9hG4bK70ba9b43;rport
From: ;tag=as480c0395
To:
Call-ID: 4da8be604cce14397a82e38b53ba708d@127.0.0.1
CSeq: 135 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="", realm=“sipdiscount.com”, algorithm=MD5, uri=“sip:sip1.voipbuster.com”, nonce="", response="", opaque=""
Expires: 600
Contact:
Event: registration
Content-Length: 0
Feb 13 16:49:56 VERBOSE[2439] logger.c:
<-- SIP read from 80.239.235.200:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP :5060;branch=z9hG4bK70ba9b43;rport
From: ;tag=as480c0395
To:
Contact: sip:80.239.235.200:5060
Call-ID: 4da8be604cce14397a82e38b53ba708d@127.0.0.1
CSeq: 135 REGISTER
User-Agent: (Very nice Sip Registrar Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS
Content-Length: 0
Feb 13 16:49:56 VERBOSE[2439] logger.c: — (10 headers 0 lines)Feb 13 16:49:56 VERBOSE[2439] logger.c: — (10 headers 0 lines)—
Feb 13 16:49:56 DEBUG[2439] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on ‘4da8be604cce14397a82e38b53ba708d@127.0.0.1’ Request 135: Found
Feb 13 16:49:56 VERBOSE[2439] logger.c:
<-- SIP read from 80.239.235.200:5060:
SIP/2.0 200 Ok
Via: SIP/2.0/UDP :5060;branch=z9hG4bK70ba9b43;rport
From: ;tag=as480c0395
To:
Contact: sip:80.239.235.200:5060
Call-ID: 4da8be604cce14397a82e38b53ba708d@127.0.0.1
CSeq: 135 REGISTER
User-Agent: (Very nice Sip Registrar Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS
Content-Length: 0
Feb 13 16:49:56 VERBOSE[2439] logger.c: — (10 headers 0 lines)Feb 13 16:49:56 VERBOSE[2439] logger.c: — (10 headers 0 lines)—
Feb 13 16:49:56 DEBUG[2439] chan_sip.c: Stopping retransmission on ‘4da8be604cce14397a82e38b53ba708d@127.0.0.1’ of Request 135: Match Found
Feb 13 16:49:56 DEBUG[2439] chan_sip.c: Registration successful
Feb 13 16:49:56 DEBUG[2439] chan_sip.c: Cancelling timeout 4384
Feb 13 16:49:56 VERBOSE[2439] logger.c: Scheduling destruction of call ‘4da8be604cce14397a82e38b53ba708d@127.0.0.1’ in 32000 ms
Feb 13 16:49:56 NOTICE[2439] chan_sip.c: Outbound Registration: Expiry for sip1.voipbuster.com is 600 sec (Scheduling reregistration in 585 s)
Feb 13 16:50:28 DEBUG[2439] chan_sip.c: Auto destroying call '4da8be604cce14397a82e38b53ba708d@127.0.0.1’
Feb 13 16:50:28 VERBOSE[2439] logger.c: Destroying call ‘4da8be604cce14397a82e38b53ba708d@127.0.0.1’[/code]
I have the voipbuster client with another username logged on, and the user I am trying to register with asterisk is always offline.
Any Ideas?