cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2379
Views
0
Helpful
1
Replies

CME & Asterisk SIP Trunk

ma7moud.geek1
Level 1
Level 1

Dear all,

I'm having a hard time registering  Asterisk server with CME i tried this configuration with no luck(Asterisk IP:10.1.1.81, Router IP: 10.1.1.10):

voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
address-hiding
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server
midcall-signaling passthru

sip-ua
credentials username gwadmin password 7 097F43080B11161606050A79 realm 10.1.1.10
keepalive target ipv4:10.1.1.10:5060
authentication username gwadmin password 7 063502205E5A081D081E1C58
no remote-party-id
retry invite 2
retry register 10
timers connect 100
timers keepalive active 100
registrar ipv4:10.1.1.10:5060 expires 3600
sip-server ipv4:10.1.1.81:5060
host-registrar

dial-peer voice 13 voip
destination-pattern 6189500
session protocol sipv2
session target ipv4:10.1.1.81
dtmf-relay rtp-nte
codec g711alaw

on the Asterisk i did the following:

connections--> add trunk:

PEER Details

type=friend
context=incoming
host=10.1.1.10
disallow=all
allow=ulaw&alaw
nat=no
canreinvite=yes
qualify=yes

Register String:

gwadmin:Smartadmin3@10.1.1.10

Could please help me finding what is missing.

Thanks in advance.  

1 Reply 1

gurbatullahk
Level 1
Level 1

Try this link     https://www.gkhan.in/how-to-configure-sip-trunk-between-cme-and-issabel/

 

type=friend
context=incoming      ------->  this is like partition in Cisco CME or call manager 
host=10.1.1.10
disallow=all
allow=ulaw&alaw
nat=no
canreinvite=yes
qualify=yes

 

Register String:

gwadmin:Smartadmin3@10.1.1.10                  ---------->  if peer type is friend then register string not required