on-internet
← Community

How to configure on asterisk trunk PJSIP<->SIP?

Stack Overflow ·

I've got a problem with configure trunk on asterisk with PJSIP(IP:X.X.X.X) to SIP-server(IP:Y.Y.Y.Y). I want to configure trunk by IP not with user:pass. On SIP-server i have config in sip.conf file like below: [asterisk-pjsip] type=peer context=tests host=X.X.X.X deny=0.0.0.0/0.0.0.0 permit=X.X.X.X qualify=yes disallow=all allow=g729 allow=alaw allow=ulaw nat=yes canreinvite=no insecure=port,invite and on SIP-server peer with PJSIP are available: asterisk-pjsip X.X.X.X Yes Yes A 5060 OK (11 ms) On PJSIP-Server i use script to convert SIP.conf to PJSIP.conf and in SIP.conf i have: [asterisk_si

Comments

Sign in or sign up to comment and upvote.

No comments yet.