[asterisk-users] PJSIP configuration question
Dan Cropp
dan at amtelco.com
Tue Dec 15 10:18:48 CST 2015
I am trying to configure a connection to BluIP. I am able to make incoming calls work. However outgoing calls are not working.
For the Outbound Registration, I noticed the contact field is always the internal IP address of my pc instead of mycompany dot com
I can Originate (using AMI) to my Vitelity trunk (IP based authentication).
However, when I Originate to my BluIP, it is being rejected.
When I compare this with another system that does the same behavior, the one difference I notice is that the other system does not pass the internal ip address for the From domain portion. Instead, it is passing companyname.com.
For the outbound Registration, I noticed the REGISTER Contact field is always my internal ip address. I programmed the contact for the registration portion of pjsip.conf to attempt to force the companyname instead of the internal ip address. However, this didn't change the REGISTER packet.
Is there a different setting that I need to enter to force the REGISTER to use my companyname dot com instead of the ip address?
contact = sip:didassignedbybluip at companyname.com
The REGISTER succeeds (which explains internal calls working). However, they are always using my internal ip address.
BluIP
Xmt
INVITE sip:18005551212 @bluipaddress SIP/2.0
Via: SIP/2.0/UDP myinternalipaddress:5060;rport;branch=z9hG4bKPj32298b5f-ed09-4de4-9649-da4c4b78fafb
From: "Name" <sip:didassignedbybluip at myinternalipaddress>;tag=4fda8a53-8831-45bd-9b29-15eb276ceafb
To: <sip:callphonenumber at bluipaddress >
Contact: <sip:d2a29c8c-d960-411a-aeb0-391313efe60e at myinternalipaddress:5060>
Call-ID: ebc6049a-d700-43a4-b230-b06cd6289eea
CSeq: 12733 INVITE
...
Rcv
SIP/2.0 100 Trying
Via: SIP/2.0/UDP myinternalipaddress:5060;received=myinternalipaddress;branch=z9hG4bKPj32298b5f-ed09-4de4-9649-da4c4b78fafb;rport=5060
From: "Name" <sip:didassignedbybluip at myinternalipaddress >;tag=4fda8a53-8831-45bd-9b29-15eb276ceafb
To: <sip:callphonenumber at bluipaddress>
Call-ID: ebc6049a-d700-43a4-b230-b06cd6289eea
CSeq: 12733 INVITE
....
Rcv
SIP/2.0 604 Does not exist anywhere
Via: SIP/2.0/UDP myinternalipaddress:5060;received=myinternalipaddress;branch=z9hG4bKPj32298b5f-ed09-4de4-9649-da4c4b78fafb;rport=5060
From: "Name" <sip:didassignedbybluip at myinternalipaddress >;tag=4fda8a53-8831-45bd-9b29-15eb276ceafb
To: <sip:callphonenumber at bluipaddress>;tag=1389319045-1450195105789
Call-ID: ebc6049a-d700-43a4-b230-b06cd6289eea
CSeq: 12733 INVITE
Content-Length: 0
Any suggestions of what I am doing wrong?
Have a great day!
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151215/a0497d7a/attachment.html>
More information about the asterisk-users
mailing list