Elastix PBX (Asterisk) + My PME Office
Hello, I am looking for information to add a Swisscom “SIP Trunk” under Elastix (PBX based on Asterisk), but for the moment I have not yet succeeded.
I have a My SME Office L+ router subscription Centro Business PSB4212N
-----———————————– ————————————————– ——————————
Here are my current configs that I found here:
__Output Parameters*
Trunk Name: Swisscom
PEER details:
user=+4121XXXXXXX
type=peer
srvlookup=yes
secret=password
outboundproxy=bc1.ims.swisscom.ch
nat=yes
insecure=prompt,port
host=swisscom.ch
fromuser=+4121XXXXXXX
fromdomain=swisscom.ch
dtmfmode=auto
defaultuser=+4121XXXXXXX
canreinvite=no
disallow=all
allow=alaw&ulaw&g729&gsm&slinear&ulaw
Input Parameters
User Context: +4121XXXXXXX
User Details:
type=peer
host=bc1.ims.swisscom.ch
fromdomain=swisscom.ch
disallow=all
allow=alaw&ulaw&g729&gsm&slinear&ulaw
Registration
Recording channel:
+4121XXXXXXX@swisscom.ch:+4121XXXXXXX:+4121XXXXXXX@swisscom.ch/+4121XXXXXXX
-----———————————– ————————————————– ——————————
If it helps in the analysis/research, I carried out packet captures with Wireshark + Swisscom “Business telephony” app at the time of a call to a 079 mobile and I obtained the following results:
Request: INVITE sip:079XXXXXXX@swisscom.ch
Request: ACK sip:079XXXXXXX@swisscom.ch
Request: NOTIFY sip:+4121XXXXXXX-01@192.168.XX.XX:5075;transport=tcp
Request: PRACK sip:sgc_c@195.186.128.4:5075;transport=tcp
Request: BYE sip:+4121XXXXXXX-01@192.168.XX.XX:5075;transport=tcp
-----———————————– ————————————————– ——————————
Here is the output in the Elastix CLI (ssh) at the time of registration:
[2015-12-04 11:14:25] NOTICE[2478]: chan_sip.c:15067 sip_reg_timeout: – Registration for ‘+4121XXXXXXX@swisscom. ch’ timed out, trying again (Attempt #5)
Really destroying SIP dialog ‘305e3940689583541cfb3a9843631eb4@127.0.0.1’ Method: REGISTER
Retransmitting #1 (no NAT) to 193.222.73.227:5060:
REGISTER sip:swisscom.ch SIP/2.0
Via: SIP/2.0/UDP 192.168.10.52:5060;branch=z9hG4bK3b33d7ce
Max-Forwards: 70
From: <sip:4121XXXXXXX@Anonym.ch>;tag=as66323714
To: <sip:4121XXXXXXX@Anonym.ch>
Call-ID: 305e3940689583541cfb3a9843631eb4@127.0.0.1
CSeq: 106 REGISTER
User-Agent: FPBX-2.11.0(11.13.0)
Expires: 120
Contact: <sip:4121XXXXXXX@192.168.10.52:5060>
Content-Length: 0
-----———————————– ————————————————– ——————————
Has anyone ever had this kind of configuration on a PBX like Asterisk, Elastix, Trixbox, etc.? or any idea to fix this problem? If yes, can you please share?
P.S: I have already called the Swisscom hotline but they don’t seem to be too interested in giving this kind of information.
Thanks in advance,
Best regards
:smileyvery-happy: