Unable to dial out

825 views
Skip to first unread message

Fido

unread,
Feb 19, 2015, 8:37:03 AM2/19/15
to as...@googlegroups.com
I've installed the latest trunk version of 2.0 with freeswitch / etc using install.sh as part of an ongoing evaluation project looking at alternatives to our current in house ITSP solution which has "developed" over the last 10 years or so .... anyway 


I have then configured rates, trunks, gateways and profiles as well as a number translation per trunk (although I'm not sure that's working currently, however I do have an override rate set so regardless all calls beginning with 0 should be hitting this rate / trunk at a 0p cost for testing)

I have 2 issues currently, inbound calls only seem to work if I register the SIP device with the IP address of the FS box rather than the DNS name (ie x...@80.252.121.101 instead of x...@sip.voip.center) .. registering with the "domain" results in inbound calls being rejected due to the SIP user not being registered (even though sofia status profile default reg shows the peer fine)

Secondly, I can't get outbound calls to work at all .. instead I get this in the logs

[Thu Feb 19 13:16:50 2015] [error] [client 80.252.121.101] Use of uninitialized value in concatenation (.) or string at /usr/local/astpp/astpp-xml.pl line 258.

and

EXECUTE sofia/default/70490...@80.252.121.101 log(WARNING Accountcode  is not authenticated!!)

caveats .. whilst I know Asterisk and Kamailio "well" .. FreeSwitch is a new beast to me so it might be something simple and obvious, so please be patient :)

suggestions gratefully received

Samir Doshi

unread,
Feb 19, 2015, 1:48:03 PM2/19/15
to as...@googlegroups.com
Hi Fido, 

Ideally if domain is not used then it should not create this issue. We are trying to figure out the issue. 

Can you please provide me output of below commands? 

sofia status
sofia status profile default
reloadacl


Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

--
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/e15d34f9-2614-40f8-9e8c-19cb80005c6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Fido

unread,
Feb 19, 2015, 4:42:19 PM2/19/15
to as...@googlegroups.com
I am continuing to "experiment" in order to try to overcome / resolve this, however so far with no real success (although I am managing to break things "royally" every now and again .. so far I think we're back at a status quo however calling is still not working when registered to the domain ...



freeswitch@internal> sofia status
                     Name   Type                                      Data State
=================================================================================================
           80.252.121.101  alias                                   default ALIASED
                  default profile         sip:mod_...@80.252.121.101:5060 RUNNING (0)
          default::voip-2 gateway       sip:fido...@voip-2.server.fido.net REGED
=================================================================================================
1 profile 1 alias

freeswitch@internal> sofia status profile default
=================================================================================================
Name             default
Domain Name       N/A
Auto-NAT         false
DBName           sofia_reg_default
Pres Hosts
Dialplan         XML
Context           default
Challenge Realm   auto_to
RTP-IP           80.252.121.101
SIP-IP           80.252.121.101
URL               sip:mod_...@80.252.121.101:5060
BIND-URL         sip:mod_...@80.252.121.101:5060;transport=udp,tcp
HOLD-MUSIC       N/A
OUTBOUND-PROXY   N/A
CODECS IN         PCMU,PCMA
CODECS OUT       PCMU,PCMA
TEL-EVENT         101
DTMF-MODE         rfc2833
CNG               13
SESSION-TO       0
MAX-DIALOG       0
NOMEDIA           false
LATE-NEG         false
PROXY-MEDIA       false
ZRTP-PASSTHRU     false
AGGRESSIVENAT     false
CALLS-IN         1
FAILED-CALLS-IN   1
CALLS-OUT         0
FAILED-CALLS-OUT 0
REGISTRATIONS     1

2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1315 Created ip list rfc6598.auto default (deny)
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 100.64.0.0/10 (allow) [] to list rfc6598.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1321 Created ip list rfc1918.auto default (deny)
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 10.0.0.0/8 (allow) [] to list rfc1918.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 172.16.0.0/12 (allow) [] to list rfc1918.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 192.168.0.0/16 (allow) [] to list rfc1918.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1329 Created ip list wan.auto default (allow)
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 0.0.0.0/8 (deny) [] to list wan.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 10.0.0.0/8 (deny) [] to list wan.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 172.16.0.0/12 (deny) [] to list wan.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 192.168.0.0/16 (deny) [] to list wan.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 169.254.0.0/16 (deny) [] to list wan.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1339 Created ip list nat.auto default (deny)
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1341 Adding 80.252.121.101/255.255.255.0 (deny) to list nat.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 10.0.0.0/8 (allow) [] to list nat.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 172.16.0.0/12 (allow) [] to list nat.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 192.168.0.0/16 (allow) [] to list nat.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 100.64.0.0/10 (allow) [] to list nat.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1351 Created ip list loopback.auto default (deny)
2015-02-19 21:34:39.845013 [NOTICE] switch_utils.c:325 Adding 127.0.0.0/8 (allow) [] to list loopback.auto
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1357 Created ip list localnet.auto default (deny)
2015-02-19 21:34:39.845013 [NOTICE] switch_core.c:1360 Adding 80.252.121.101/255.255.255.0 (allow) to list localnet.auto
2015-02-19 21:34:39.965041 [INFO] switch_time.c:1411 Timezone reloaded 1781 definitions
2015-02-19 21:34:39.965041 [NOTICE] switch_core.c:1385 Created ip list default default (deny)
2015-02-19 21:34:39.965041 [NOTICE] switch_utils.c:325 Adding voip-2.server.fido.net/32 (allow) [] to list default
freeswitch@internal> 2015-02-19 21:34:39.965041 [NOTICE] switch_core.c:1460 Adding voip-2.server.fido.net/32 (allow) to list default


Jon Morby (Fido)

unread,
Feb 19, 2015, 6:45:52 PM2/19/15
to as...@googlegroups.com
I've also noticed that at startup / reloading mod_sofia this goes past

2015-02-19 23:42:36.167727 [NOTICE] sofia_reg.c:3329 Added gateway 'voip-2' to profile 'default'
2015-02-19 23:42:36.287672 [NOTICE] sofia.c:3732 Adding Alias [80.252.121.101] for profile [default]
2015-02-19 23:42:36.307671 [NOTICE] sofia_reg.c:448 Registering voip-2

But I can't see any way of getting an alias for the domain itself to be added

Samir Doshi

unread,
Feb 19, 2015, 11:35:06 PM2/19/15
to as...@googlegroups.com
Hi Fido, 

default::voip-2 gateway        sip:fido...@voip-2.server.fido.net REGED

You haven't changed domain to ip address. Please do and once you done, reload sofia. 


Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

--
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.

Jon Morby (Fido)

unread,
Feb 20, 2015, 1:46:56 AM2/20/15
to as...@googlegroups.com
Hi

Sorry I'm not sure what you mean?

Do you mean the gateway (voip-2?) or the sip client registration?

I've previously tried both as IP but dialling out still doesn't work



On Friday, 20 February 2015 04:35:06 UTC, Samir Doshi wrote:
Hi Fido, 

default::voip-2 gateway        sip:fi...@voip-2.server.fido.net REGED

You haven't changed domain to ip address. Please do and once you done, reload sofia. 


Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

On Fri, Feb 20, 2015 at 3:12 AM, Fido <jon....@gmail.com> wrote:
I am continuing to "experiment" in order to try to overcome / resolve this, however so far with no real success (although I am managing to break things "royally" every now and again .. so far I think we're back at a status quo however calling is still not working when registered to the domain ...



freeswitch@internal> sofia status
                     Name   Type                                      Data State
=================================================================================================
           80.252.121.101  alias                                   default ALIASED
                  default profile         sip:mod_...@80.252.121.101:5060 RUNNING (0)
          default::voip-2 gateway       sip:fi...@voip-2.server.fido.net REGED

Meejch

unread,
Feb 20, 2015, 2:09:00 AM2/20/15
to as...@googlegroups.com
Hi Jon,

i had the same problem and i solved this by editing the customer settings. I filled in the ip settings of the customer. Look at the screenshot. The IP addess is from the softphone.
Changing the field of outboundproxy and proxy of my gateway in a ip address didn't work for me as well. But now i get a new error message:

2015-02-19 15:01:04.459479 [DEBUG] switch_ivr_originate.c:3723 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
2015-02-19 15:01:04.459479 [INFO] mod_dptools.c:3234 Originate Failed.  Cause: CALL_REJECTED

It would be great if anyone could help me...this is only for outgoing calls. Inbound calls are working fine.
astppcustomer.png

Jon Morby (Fido)

unread,
Feb 20, 2015, 2:32:08 AM2/20/15
to as...@googlegroups.com
Hi,

That's basically where I am with this currently too

Inbound works (to a degree) if I register the customer to an IP but not a domain (and we always want to use DNS names for management, but don't care about the realm so much internally)

Outbound just doesn't want to work

I've just paid for one of their support packages to see if we can get this working (and to support the project) ... lets see what happens

Nate

unread,
Jul 31, 2015, 12:05:43 AM7/31/15
to ASTPP, j...@redmail.com
Hello,

I'm just wondering if you ever got this working.  I'm getting the same thing now.  Outgoing calls are passing the ACL:

2015-07-30 23:56:37.733161 [DEBUG] sofia.c:8960 IP 192.168.2.78 Approved by acl "default[]". Access Granted.

But they are getting "Accountcode is not authenticated":

4e31e238-6ddc-42cb-a667-a030a567c98e Dialplan: sofia/internal/55511...@192.168.2.78 Action log(WARNING Accountcode  is not authenticated!!)

This is coming from an internal device that is not registering.  So my guess is that it is not correctly tied to a customer account.  However, I have added the IP in the customer account, and even tried adding this IP address as a gateway.  I had my service provider registered by hostname, but after seeing the FAQ answer (http://wiki.astpp.org/faq.html#why-i-am-getting-accountcode-is-not-authenticated-error) I changed the proxy to an IP address, but it still didn't work.

I think a bunch of people seem to be having the same difficulties.  I would be happy to contribute to the documentation, but I need to understand how it works first.  If you had any luck buying an hour of support I might try buying 1 or even 5 hours as well.

Thanks,
Nate

Nate

unread,
Jul 31, 2015, 3:12:32 AM7/31/15
to ASTPP, j...@redmail.com, bak...@gmail.com
Alright I got this working for myself, and sorted out a bunch of things I was misunderstanding.  Here's what I had to do:

1) For the FreeSWITCH error "Accountcode  is not authenticated!!" I added the IP address to the customer account.  The important part I was missing is the prefix.  I assumed it was a subnet prefix (/24, etc) for an acl, but it isn't.  The prefix is the phone number prefix that is allowed.  I put in 1 for US, so any number that starts with 1 can be dialed from that IP address.

2) Then I got the error "Dialed number destination (15551112222) is blocked for account!!".  I had "1" as a block prefix in the customer account, which actually means it will block any number starting with 1.  I thought it was more like a block of numbers that would be allowed.

3) Then I got the error "Dialed number () termination rates not found!!".  I assumed termination rates and origination rates were the same as for SIP trunk providers (outbound and inbound rates).  That isn't how they work at all.  Termination rates are the rates you pay your carriers/providers.  Origination rates are the rates you bill your customers.  In the code, if the termination rate is greater than the origination rate, it ignores that route.  I had my termination rate slightly higher than the origination rate, so I had no valid routes.  When I corrected that (they can be equal) it worked fine.


On Friday, July 31, 2015 at 12:05:43 AM UTC-4, Nate wrote:
Hello,

I'm just wondering if you ever got this working.  I'm getting the same thing now.  Outgoing calls are passing the ACL:

2015-07-30 23:56:37.733161 [DEBUG] sofia.c:8960 IP 192.168.2.78 Approved by acl "default[]". Access Granted.

But they are getting "Accountcode is not authenticated":

4e31e238-6ddc-42cb-a667-a030a567c98e Dialplan: sofia/internal/5551112222@192.168.2.78 Action log(WARNING Accountcode  is not authenticated!!)

David

unread,
May 15, 2017, 2:44:21 AM5/15/17
to ASTPP
Please can you help.
New install and I am unable to make call.


logs


2017-05-15 01:42:12.704137 [NOTICE] switch_channel.c:1104 New Channel sofia/default/59637...@trunk4.do                    bcall.com [cb34bae1-61cf-4d6a-946a-0a2c388390ee]
2017-05-15 01:42:12.704137 [DEBUG] switch_core_state_machine.c:543 (sofia/default/59637...@trunk4.dobc                    all.com) Running State Change CS_NEW
2017-05-15 01:42:12.704137 [DEBUG] sofia.c:9376 sofia/default/59637...@trunk4.dobcall.com receiving in                    vite from 97.99.31.247:52946 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
2017-05-15 01:42:12.704137 [DEBUG] sofia.c:9543 IP 97.99.31.247 Rejected by acl "default". Falling back                     to Digest auth.
2017-05-15 01:42:12.704137 [WARNING] sofia_reg.c:1775 SIP auth challenge (INVITE) on sofia profile 'defa                    ult' for [234802...@trunk4.dobcall.com] from ip 97.99.31.247
2017-05-15 01:42:12.704137 [DEBUG] switch_core_state_machine.c:562 (sofia/default/59637...@trunk4.dobc                    all.com) State NEW
2017-05-15 01:42:12.704137 [DEBUG] sofia.c:2214 detaching session cb34bae1-61cf-4d6a-946a-0a2c388390ee
2017-05-15 01:42:12.964125 [DEBUG] sofia.c:2322 Re-attaching to session cb34bae1-61cf-4d6a-946a-0a2c3883                    90ee
2017-05-15 01:42:12.984114 [DEBUG] sofia.c:9376 sofia/default/59637...@trunk4.dobcall.com receiving in                    vite from 97.99.31.247:52946 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
2017-05-15 01:42:12.984114 [DEBUG] sofia.c:9543 IP 97.99.31.247 Rejected by acl "default". Falling back                     to Digest auth.
2017-05-15 01:42:12.984114 [DEBUG] sofia.c:6858 Channel sofia/default/59637...@trunk4.dobcall.com ente                    ring state [received][100]
2017-05-15 01:42:12.984114 [DEBUG] sofia.c:6868 Remote SDP:
v=0
o=Zoiper 0 0 IN IP4 97.99.31.247
s=Zoiper
c=IN IP4 97.99.31.247
t=0 0
m=audio 40674 RTP/AVP 3 0 8 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/                    [G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]                    /[G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]                    /[G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4681 sofia/default/59637...@trunk4.dobcall.com                     Set 2833 dtmf send payload to 101 recv payload to 101
2017-05-15 01:42:12.984114 [NOTICE] sofia.c:7306 Hangup sofia/default/59637...@trunk4.dobcall.com [CS_                    NEW] [INCOMPATIBLE_DESTINATION]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_state_machine.c:543 (sofia/default/59637...@trunk4.dobc                    all.com) Running State Change CS_HANGUP
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:809 (sofia/default/59637...@trunk4.dobc                    all.com) Callstate Change DOWN -> HANGUP
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:811 (sofia/default/59637...@trunk4.dobc                    all.com) State HANGUP
2017-05-15 01:42:13.003903 [DEBUG] mod_sofia.c:437 Channel sofia/default/59637...@trunk4.dobcall.com h                    anging up, cause: INCOMPATIBLE_DESTINATION
2017-05-15 01:42:13.003903 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 488
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:60 sofia/default/59637...@trunk4.dobcal                    l.com Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:811 (sofia/default/59637...@trunk4.dobc                    all.com) State HANGUP going to sleep
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:578 (sofia/default/59637...@trunk4.dobc                    all.com) State Change CS_HANGUP -> CS_REPORTING
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:543 (sofia/default/59637...@trunk4.dobc                    all.com) Running State Change CS_REPORTING
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:897 (sofia/default/59637...@trunk4.dobc                    all.com) State REPORTING
2017-05-15 01:42:13.003903 [INFO] mod_json_cdr.c:271 Process [cb34bae1-61cf-4d6a-946a-0a2c388390ee.cdr.j                    son]
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:174 sofia/default/59637...@trunk4.dobca                    ll.com Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:897 (sofia/default/59637...@trunk4.dobc                    all.com) State REPORTING going to sleep
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:569 (sofia/default/59637...@trunk4.dobc                    all.com) State Change CS_REPORTING -> CS_DESTROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_session.c:1646 Session 1900 (sofia/default/5963741860@tru                    nk4.dobcall.com) Locked, Waiting on external entities
2017-05-15 01:42:13.063903 [NOTICE] switch_core_session.c:1664 Session 1900 (sofia/default/5963741860@tr                    unk4.dobcall.com) Ended
2017-05-15 01:42:13.063903 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/5963741860@tr                    unk4.dobcall.com [CS_DESTROY]
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:700 (sofia/default/59637...@trunk4.dobc                    all.com) Running State Change CS_DESTROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:710 (sofia/default/59637...@trunk4.dobc                    all.com) State DESTROY
2017-05-15 01:42:13.063903 [DEBUG] mod_sofia.c:342 sofia/default/59637...@trunk4.dobcall.com SOFIA DES                    TROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:181 sofia/default/59637...@trunk4.dobca                    ll.com Standard DESTROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:710 (sofia/default/59637...@trunk4.dobc                    all.com) State DESTROY going to sleep
2017-05-15 01:42:26.384131 [WARNING] sofia_reg.c:1775 SIP auth challenge (REGISTER) on sofia profile 'default' for [45310...@trunk4.dobcall.com] from ip 97.99.31.247
2017-05-15 01:42:26.724115 [WARNING] sofia_reg.c:2889 Can't find user [45310...@172.16.1.168] from 97.99.31.247
You must define a domain called '172.16.1.168' in your directory and add a user with the id="4531049080" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2017-05-15 01:42:26.724115 [WARNING] sofia_reg.c:1720 SIP auth failure (REGISTER) on sofia profile 'default' for [45310...@trunk4.dobcall.com] from ip 97.99.31.247




On Thursday, February 19, 2015 at 3:42:19 PM UTC-6, Jon Morby (Fido) wrote:
I am continuing to "experiment" in order to try to overcome / resolve this, however so far with no real success (although I am managing to break things "royally" every now and again .. so far I think we're back at a status quo however calling is still not working when registered to the domain ...



freeswitch@internal> sofia status
                     Name   Type                                      Data State
=================================================================================================
           80.252.121.101  alias                                   default ALIASED
                  default profile         sip:mod_...@80.252.121.101:5060 RUNNING (0)
          default::voip-2 gateway       sip:fi...@voip-2.server.fido.net REGED

Devang Nathwani

unread,
May 15, 2017, 3:25:01 AM5/15/17
to as...@googlegroups.com
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/                    [G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]                    /[G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]                    /[G729:18:8000:20:8000:1]

No codec matched
UAC is only configured with g729, that is the issue.

On Mon, May 15, 2017 at 12:14 PM, David <bcell...@gmail.com> wrote:
Please can you help.
New install and I am unable to make call.


logs


2017-05-15 01:42:12.704137 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5963741860@trunk4.do                    bcall.com [cb34bae1-61cf-4d6a-946a-0a2c388390ee]
2017-05-15 01:42:12.704137 [DEBUG] switch_core_state_machine.c:543 (sofia/default/5963741860@trunk4.dobc                    all.com) Running State Change CS_NEW
2017-05-15 01:42:12.704137 [DEBUG] sofia.c:9376 sofia/default/5963741860@trunk4.dobcall.com receiving in                    vite from 97.99.31.247:52946 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit

2017-05-15 01:42:12.704137 [DEBUG] sofia.c:9543 IP 97.99.31.247 Rejected by acl "default". Falling back                     to Digest auth.
2017-05-15 01:42:12.704137 [WARNING] sofia_reg.c:1775 SIP auth challenge (INVITE) on sofia profile 'defa                    ult' for [234802...@trunk4.dobcall.com] from ip 97.99.31.247
2017-05-15 01:42:12.704137 [DEBUG] switch_core_state_machine.c:562 (sofia/default/5963741860@trunk4.dobc                    all.com) State NEW

2017-05-15 01:42:12.704137 [DEBUG] sofia.c:2214 detaching session cb34bae1-61cf-4d6a-946a-0a2c388390ee
2017-05-15 01:42:12.964125 [DEBUG] sofia.c:2322 Re-attaching to session cb34bae1-61cf-4d6a-946a-0a2c3883                    90ee
2017-05-15 01:42:12.984114 [DEBUG] sofia.c:9376 sofia/default/5963741860@trunk4.dobcall.com receiving in                    vite from 97.99.31.247:52946 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit

2017-05-15 01:42:12.984114 [DEBUG] sofia.c:9543 IP 97.99.31.247 Rejected by acl "default". Falling back                     to Digest auth.
2017-05-15 01:42:12.984114 [DEBUG] sofia.c:6858 Channel sofia/default/5963741860@trunk4.dobcall.com ente                    ring state [received][100]

2017-05-15 01:42:12.984114 [DEBUG] sofia.c:6868 Remote SDP:
v=0
o=Zoiper 0 0 IN IP4 97.99.31.247
s=Zoiper
c=IN IP4 97.99.31.247
t=0 0
m=audio 40674 RTP/AVP 3 0 8 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/                    [G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]                    /[G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]                    /[G729:18:8000:20:8000:1]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
2017-05-15 01:42:12.984114 [DEBUG] switch_core_media.c:4681 sofia/default/5963741860@trunk4.dobcall.com                     Set 2833 dtmf send payload to 101 recv payload to 101
2017-05-15 01:42:12.984114 [NOTICE] sofia.c:7306 Hangup sofia/default/5963741860@trunk4.dobcall.com [CS_                    NEW] [INCOMPATIBLE_DESTINATION]
2017-05-15 01:42:12.984114 [DEBUG] switch_core_state_machine.c:543 (sofia/default/5963741860@trunk4.dobc                    all.com) Running State Change CS_HANGUP
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:809 (sofia/default/5963741860@trunk4.dobc                    all.com) Callstate Change DOWN -> HANGUP
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:811 (sofia/default/5963741860@trunk4.dobc                    all.com) State HANGUP
2017-05-15 01:42:13.003903 [DEBUG] mod_sofia.c:437 Channel sofia/default/5963741860@trunk4.dobcall.com h                    anging up, cause: INCOMPATIBLE_DESTINATION

2017-05-15 01:42:13.003903 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 488
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:60 sofia/default/5963741860@trunk4.dobcal                    l.com Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:811 (sofia/default/5963741860@trunk4.dobc                    all.com) State HANGUP going to sleep
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:578 (sofia/default/5963741860@trunk4.dobc                    all.com) State Change CS_HANGUP -> CS_REPORTING
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:543 (sofia/default/5963741860@trunk4.dobc                    all.com) Running State Change CS_REPORTING
2017-05-15 01:42:13.003903 [DEBUG] switch_core_state_machine.c:897 (sofia/default/5963741860@trunk4.dobc                    all.com) State REPORTING

2017-05-15 01:42:13.003903 [INFO] mod_json_cdr.c:271 Process [cb34bae1-61cf-4d6a-946a-0a2c388390ee.cdr.j                    son]
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:174 sofia/default/5963741860@trunk4.dobca                    ll.com Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:897 (sofia/default/5963741860@trunk4.dobc                    all.com) State REPORTING going to sleep
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:569 (sofia/default/5963741860@trunk4.dobc                    all.com) State Change CS_REPORTING -> CS_DESTROY

2017-05-15 01:42:13.063903 [DEBUG] switch_core_session.c:1646 Session 1900 (sofia/default/5963741860@tru                    nk4.dobcall.com) Locked, Waiting on external entities
2017-05-15 01:42:13.063903 [NOTICE] switch_core_session.c:1664 Session 1900 (sofia/default/5963741860@tr                    unk4.dobcall.com) Ended
2017-05-15 01:42:13.063903 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/5963741860@tr                    unk4.dobcall.com [CS_DESTROY]
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:700 (sofia/default/5963741860@trunk4.dobc                    all.com) Running State Change CS_DESTROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:710 (sofia/default/5963741860@trunk4.dobc                    all.com) State DESTROY
2017-05-15 01:42:13.063903 [DEBUG] mod_sofia.c:342 sofia/default/5963741860@trunk4.dobcall.com SOFIA DES                    TROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:181 sofia/default/5963741860@trunk4.dobca                    ll.com Standard DESTROY
2017-05-15 01:42:13.063903 [DEBUG] switch_core_state_machine.c:710 (sofia/default/5963741860@trunk4.dobc                    all.com) State DESTROY going to sleep

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Devang Nathwani

Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
Reply all
Reply to author
Forward
0 new messages