SIP trunk with sipcall.ch - Registration problems

alex0r
Joined: Tue 16 of Jun, 2015

Re: SIP trunk with sipcall.ch - Registration problems

Posted:Tue 21 of Jul, 2015 (07:12 UTC)
Hello


My name is Alex Michel, you may be interested in the next product.

GoAntiFraud (https://goantifraud.com) is a complete solution to manage GoIP equipment more effectively.

It can be achieved by the fact that GoAntiFraud offers:

SIM cards rotation according to the large number of options;
Full automation of the majority of routine processes;
Dealing with USSD requests;
Automated work with SMS traffic;
Simulation of human behavior in GSM networks;
Banding SIM cards in groups to imitate calls on ‘favorite numbers’;
Implementation of daily and weekly cycles of human behavior;
Wide call routing functionality.


And much more, that you can learn from me if you use contacts listed below. Or you can find more information on the website: https://goantifraud.com.

Best regards,
Alex Michel,
E-mail: alex@goantifraud.com
Skype: alex.michel1989
Phone: +1 202 864 1191
https://goantifraud.com



Get richer with every minute
GoAntiFraud!!!!
lorenzo06
Joined: Wed 17 of Jun, 2015

SIP trunk with sipcall.ch - Registration problems

Posted:Wed 17 of Jun, 2015 (06:51 UTC)
Hello guys,

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

Trunk Name: Sipcall_12

PEER Details:
useragent=Elastix2.5
username=419944XXXXX12
type=peer
secret=password
host=212.117.XX.XX
fromuser=419944XXXXX12
qualify=yes

  • Incoming Settings

USER Context: 419944XXXXX12

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

  • Registration

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.