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:[email protected]
--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=z9hG4bKPj6ac20000000313cd8c03
Max-Forwards: 70
From: <sip:[email protected]>;tag=6ac20000000213cd8c03
To: <sip:[email protected]>
Call-ID: 6ac20000000113cd8c03
CSeq: 51529 REGISTER
User-Agent: PJSUA v0.7.0/openbsd
Contact: <sip:[email protected]: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

Reply via email to