trying to get pjsua working with asterisk using a really basic config
file and am having trouble: registration keeps timing out.
here is the config file:
--registrar=sip:A.B.C.D
--id=sip:u...@a.b.c.d
--realm=*
--username=user
--password=pass
pjsua then sends registration requests and times out.
12:30:21.978 pjsua_core.c TX 410 bytes Request msg
REGISTER/cseq=51529 (tdta0x20b5330a8) to UDP A.B.C.D:5060:
REGISTER sip:A.B.C.D SIP/2.0
Via: SIP/2.0/UDP
172.17.57.242:5060;rport;branch=z9hG4bKPj6ac2000313cd8c03
Max-Forwards: 70
From: sip:u...@a.b.c.d;tag=6ac2000213cd8c03
To: sip:u...@a.b.c.d
Call-ID: 6ac2000113cd8c03
CSeq: 51529 REGISTER
User-Agent: PJSUA v0.7.0/openbsd
Contact: sip:u...@a.b.c.d:5060;transport=UDP
Expires: 55
Content-Length: 0
any clues as to how i can debug this or a working configuration for use
with asterisk would be appreciated.
cheers,
jake