UCx50 and Digium G100?
UCx50 and Digium G100?
(OP)
Ok just installed my first G100 and I can get calls out but cannot get any calls inbound. Have a PRI comming in and converting to SIP with the G100. When I call in I just get a reorder tone no matter where I try to point the call to. I can capture the call in the digium log and see it there but it never gets to the UCx or it does and the UCx rejects it. Any ideas, I pretty much just followed the link below.
http://wiki.freepbx.org/display/CHP/Digium+Gateway...
http://wiki.freepbx.org/display/CHP/Digium+Gateway...
RE: UCx50 and Digium G100?
Can you provide a sample call from the digium log?
RE: UCx50 and Digium G100?
IP Addresses
Digium =192.xxx.xx.123
UCx = 192.xxx.xx.234
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[29240]: chan_sip.c:26214 in handle_request_do: --- (10 headers 0 lines) ---
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[29240]: chan_sip.c:4314 in send_request: Transmitting (no NAT) to 192.xxx.xx.234:5060: ACK sip:4591057@192.xxx.xx.234SIP/2.0^M Via: SIP/2.0/UDP 192.xxx.xx.123:5060;branch=z9hG4bK27c37218^M Max-Forwards: 70^M From: "N CAROLINA CALL" <sip:2523606252@192.xxx.xx.234>;tag=as61739bee^M To: <sip:4591057@192.xxx.xx.243>;tag=as2b2e31d3^M Contact: <sip:2523606252@192.xxx.xx.123:5060>^M Call-ID: 27686a8b7daf7d31103fe47d0900f11f@192.xxx.xx.234^M CSeq: 103 ACK^M User-Agent: Digium Gateway^M Content-Length: 0^M ^M ---
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: WARNING[29240]: chan_sip.c:20969 in handle_response_invite: Received response: "Forbidden" from '"N CAROLINA CALL" <sip:2523606252@192.xxx.xx.234>;tag=as61739bee'
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[10752]: chan_sip.c:4027 in sip_scheddestroy: Scheduling destruction of SIP dialog '27686a8b7daf7d31103fe47d0900f11f@192.xxx.xx.234' in 32000 ms (Method: INVITE)
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[10752]: app_dial.c:1114 in wait_for_answer: == Everyone is busy/congested at this time (1:0/0/1)
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[10752]: pbx.c:4522 in pbx_extension_helper: -- Executing [s@sub-failover:11] NoOp("GTW/port1:1-0", "21") in new stack
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[10752]: pbx.c:4522 in pbx_extension_helper: -- Executing [s@sub-failover:12] GotoIf("GTW/port1:1-0", "0?evalstring") in new stack
May 4 17:17:12 G100-59-ca-8e asterisk[29135]: VERBOSE[10752]: pbx.c:4522 in pbx_extension_helper:
RE: UCx50 and Digium G100?
In the pbx trunk settings -> outgoing -> peer details the defaultuser and secret matches what is in the gateway
In the pbx trunk settings -> incoming -> user context and details are left blank
In the pbx trunk settings -> registration string in the format of username:password@gatewayIP
RE: UCx50 and Digium G100?
Ok if I set the SIP endpoint in the Gateway
ENDPOINT REGISTERS WITH GATEWAY and I set everything like above I'm unable to call in or out.
GATEWAY TO REGISTER WITH ENDPOINT and fill in the information needed I can call out but not in.
REGISTRATION TO NONE and fill in the information needed I can call out but not in.
UCx Trunk set as SIP like above OUTBOUND PEER info filled in but no INBOUND PEER information.
INBOUND route set to catch all DID’s and I’ve tried pointing it to an Extension, ring Groups and VM but all I get is reorder.
RE: UCx50 and Digium G100?
On the gateway create a new sip endpoint
1. enable advanced options no
2. give the endpoint a descriptive name
3. username anything as long as it matches whats in the pbx
4. make a strong password
5. for registration choose “Endpoint registers with this gateway”
6. use udp yes
7. use tcp no
8. use tls no
9. nat traversal yes (for the time being)
goto the gateway settings and config
1. click on call routing rules
2. click create call routing rule
inbound
a. give a descriptive name
b. call comes from - set to the t1 port
c. send call through - select pbx endpoint
outbound
a. give a descriptive name
b. call comes from - set to pbx endpoint
c. send call through - select t1 port
click save call rule
In pbx configuration
basic trunks
1. add sip trunk
2. trunk give a descriptive name
3. outgoing settings
a. trunk name (can use the name from above)
b. peer details enter the following:
host=(gateway ip address)
defaultuser=(username from gateway)
secret=(password from gateway)
type=friend
context=from-trunk
4. incoming settings
a. user context - leave blank
b. user details - delete contents if any and leave blank
5. registration
a. set registration string using the format (gateway username):(gateway password)@(gateway ip address)
6. save and apply
create inbound and outbound routes in the pbx as needed
RE: UCx50 and Digium G100?
After renaming it calls started coming in.
I’m not really sure why it only affected Inbound and not any Outbound calls but it did and once it was changed they started working.
So now what I have is the Registration in the Digium set to None.
The UCx Peer Details under Inbound and the Registration string is blank and everything is working.
Do you think that’ll be ok or should I go back and change “Endpoint registers with this gateway”?
Thanks again for the help.
RE: UCx50 and Digium G100?
You can change it back if it doesn't work.
I would watch the cdr reports for suspicious calls