返回列表 發帖

Incoming call problem in Elastix with CITIC SIP Trunk

Hi,

We've setup a Elastix and try to connect to CITIC SIP trunk. CITIC told us that they don't have any Elastix/Asterisk connection information can provided for us.

They do allow our Elastix IP to access to their gateway and give us a phone number say 88888888. ( No user name and password provided )

We have create a SIP trunk in Elastix but only able to make a outgoing call - Incoming call doesn't work.
The config for PEER Details
type=peer
insecure=invite
host=202.0.174.19
disallow=all
context=incoming_calls
allow=alaw&ulaw

No idea how to setup USER Details.

Any help/suggestion is much appreciated.

Thank you.
1.png

Thanks for your prompt response but it still doesn't work.

2.png

TOP

It seems not able to register at all. Log as below;
[2018-07-06 16:08:57] NOTICE[2391]: chan_sip.c:15285 sip_reg_timeout:    -- Registration for '85288888888@202.0.174.19' timed out, trying again (Attempt #2)

[2018-07-06 16:08:57] WARNING[2391]: chan_sip.c:24251 handle_response: Host '202.0.174.19:5060' does not implement 'REGISTER'

TOP

Solved.
Change to below seems make it works.
type=friend
insecure=very
host=202.0.174.19
disallow=all
allow=alaw&ulaw

Really appreciated your help. Great place to learn and ask for help.

Have a nice weekend.

TOP

Below is the working config;
PEER Details?:
type=friend
insecure=very
host=202.0.174.19
disallow=all
allow=alaw&ulaw

USER Details
type=friend
reinvite=yes
port=5060
insecure=very
host=202.0.174.19
fromdomain=202.0.174.19
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=no
allow=alaw&ulaw
qualify=300

TOP

返回列表