I spent my last 2 days closed in my office and leaving only for indispensable duties until I understand that I’m not Einstein and I could have tried to ask for help to complete my setup.
I need to setup a PBX with 5 different VoIP provider and I am having hard time with a couple of them.
I opened this topic for the connection with 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.
It provides me with a range of 10 numbers from 4144XXXXX10 to 4144XXXXX19 and they are configured as different accounts (so I probably need 10 trunks).
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, no incoming calls.
This is how I setup my sip trunk:
*Outgoing Settings [/code][code] Trunk Name: Sipcall_12 [/code][code] PEER Details: useragent=Elastix2.5 username=419944XXXXX12 type=peer secret=password host=212.117.XX.XX fromuser=419944XXXXX12 qualify=yes [/code][code] *Incoming Settings [/code][code] USER Context: 419944XXXXX12 [/code][code] USER Details: 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 [/code][code] *Registration [/code][code] Register String: 419944XXXXX12:[email protected]/4144XXXXX12
The trunk is reachable but not registered. If I call the number 4144XXXXX12 I don’t see anything from the CLI.
If I enable the debug I can see that I’m sending the SIP message OPTIONS because I have qualify set on yes and the reply from the server:
<-------------> --- (7 headers 0 lines) --- Really destroying SIP dialog '[email protected]: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:[email protected]>;tag=as7346743a To: <sip:212.117.XX.XX> Contact: <sip:[email protected]:5060> Call-ID: [email protected]: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:[email protected]>;tag=as7346743a Call-ID: [email protected]: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.
Thanks a lot in advance for your help. Please let me know if you need any other info.