I spent my last 2 days trying to figure out what is going on with my configuration but I can’t find a solution.
I need to setup a PBX with 5 different VoIP provider and I am having hard time with 1 of them: sipcall.ch
From their portal I understood that they use the platform PortaOne Switch to provide service to customers. I don’t know if this information could be useful to understand the issue.
The username is 419944XXXXX12, while the CID is 4144XXXXX12
The reason why I’m going crazy is that if I setup any SIP client it works correctly but if I setup the trunk on the server I don’t see any registration message from the console but only the OPTIONS messages from the “qualify=yes”.
I also installed a virtual machine with a brand new distribution installed and the trunk registers right away with exactly the same configuration!
The main differences between the virtual machine (working) and the real server (not working) are:
- The virtual machine is FreePBX 12.0.68, while the real server is Elastix 2.5 based on FreePBX 2.11.0.38
- The virtual machine is behind a router and a NAT, while the real server has it’s own public ip address. I don’t know if the server provider is blocking something.
This is how I setup my sip trunk:
Outgoing Settings
[Sipcall_12]
useragent=Elastix2.5
username=419944XXXXX12
type=peer
secret=password
host=212.117.XX.XX
fromuser=419944XXXXX12
qualify=yes
Incoming Settings
[19944XXXXX12]
useragent=portasipfriendly
type=friend
qualify=yes
dtmfmode=RFC2833
insecure=port,invite
canreinvite=no
secret=password
username=419944XXXXX12
fromdomain=212.117.XX.XX
host=212.117.XX.XX
disallow=all
allow=ulaw&alaw
Register String: 419944XXXXX12:password@212.117.XX.XX/4144XXXXX12
This is what I see from the debug (OPTIONS messages only):
<------------->
Really destroying SIP dialog '6320fe67762c7746065d8a157ff80f66@81.169.XX.XX:5060’ Method: OPTIONS
Reliably Transmitting (no NAT) to 212.117.XX.XX:5060:
OPTIONS sip:212.117.XX.XX SIP/2.0
Via: SIP/2.0/UDP 81.169.XX.XX:5060;branch=z9hG4bK00371e03
Max-Forwards: 70
From: “Unknown” sip:Unknown@81.169.XX.XX;tag=as7346743a
To: sip:212.117.XX.XX
Contact: sip:Unknown@81.169.XX.XX:5060
Call-ID: 7f1dc8fc656a6fba5188674c23a5fa9b@81.169.XX.XX:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Tue, 16 Jun 2015 11:13:42 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<— SIP read from UDP:212.117.XX.XX:5060 —>
SIP/2.0 501 Unsupported Method
Via: SIP/2.0/UDP 81.169.XX.XX:5060;branch=z9hG4bK00371e03
To: sip:212.117.XX.XX;tag=a8be9d6e
From: “Unknown” sip:Unknown@81.169.XX.XX;tag=as7346743a
Call-ID: 7f1dc8fc656a6fba5188674c23a5fa9b@81.169.XX.XX:5060
CSeq: 102 OPTIONS
Content-Length: 0
<------------->
sip show peers:
Sipcall_112/419944XXXXX12 212.117.XX.XX Auto (No) No 5060 OK (26 ms)
sip show users:
419944XXXXX12 password from-trunk-sip- No No
sip show registry:
212.117.XX.XX:5060 N 419944XXXXX12 120 Unregistered
From the provider’s panel I can see the number is not registered.
What else can I check to make it work??
Thanks a lot in advance for your help. Please let me know if you need any other info. I’ll be eternally grateful !