Problem with outgoing call

Hello

I have problem with outgoing call from my asterisk. Incoming are ok. My uplink is only isdn. Let’s say that the problem is more less with 50% of all outgoing call, i don’t hear any ringing in phone. Sometimes when i try second time to call to the same number the call is ok. I don’t have any idea how figure out this, thank You for any advice

my sip.conf

allow=g729
[authentication]
canreinvite=no
disallow=all
domain=pbx.mobiwide.com
[general]
register=>121114020:pass_secret@eneo.integralnet.com/121114020

my zapata.conf:

callgroup=1
callreturn=yes
callwaitingcallerid=yes
callwaiting=yes
cancallforward=yes
canpark=yes
[channels]
context=default
echocancelwhenbridged=yes
echocancel=yes
group=1
hidecallerid=no
immediate=no
pickupgroup=1
rxgain=0.0
signalling=fxo_ls
switchtype=national
threewaycalling=yes
transfer=yes
[trunkgroups]
txgain=0.0
usecallerid=yes
usecallingpres=yes

and my logs:

working ok:

[Mar 26 11:22:53] VERBOSE[18111] logger.c:     -- Executing [0606827530@default:1] Dial("SIP/100-081e7368", "SIP/audiocodes/0606827530||W") in new stack
[Mar 26 11:22:53] VERBOSE[18111] logger.c:     -- Called audiocodes/0606827530
[Mar 26 11:22:57] VERBOSE[18111] logger.c:     -- SIP/audiocodes-081dd148 is ringing
[Mar 26 11:23:01] NOTICE[18111] cdr.c: CDR on channel 'SIP/audiocodes-081dd148' not posted
[Mar 26 11:23:01] VERBOSE[18111] logger.c:   == Spawn extension (default, 0606827530, 1) exited non-zero on 'SIP/100-081e7368'

not ringing:

[Mar 26 11:23:20] VERBOSE[18112] logger.c:     -- Executing [0608136204@default:1] Dial("SIP/100-081e5150", "SIP/audiocodes/0608136204||W") in new stack
[Mar 26 11:23:20] VERBOSE[18112] logger.c:     -- Called audiocodes/0608136204
[Mar 26 11:24:01] VERBOSE[18112] logger.c:     -- SIP/audiocodes-081dfb30 answered SIP/100-081e5150
[Mar 26 11:24:01] VERBOSE[18112] logger.c:     -- Packet2Packet bridging SIP/100-081e5150 and SIP/audiocodes-081dfb30
[Mar 26 11:24:06] VERBOSE[18112] logger.c:   == Spawn extension (default, 0608136204, 1) exited non-zero on 'SIP/100-081e5150'

ringing:

[Mar 26 11:24:13] VERBOSE[18113] logger.c:     -- Executing [0608136204@default:1] Dial("SIP/100-081dd148", "SIP/audiocodes/0608136204||W") in new stack
[Mar 26 11:24:13] VERBOSE[18113] logger.c:     -- Called audiocodes/0608136204
[Mar 26 11:24:20] VERBOSE[18113] logger.c:     -- SIP/audiocodes-081e7368 is ringing
[Mar 26 11:24:22] NOTICE[18113] cdr.c: CDR on channel 'SIP/audiocodes-081e7368' not posted
[Mar 26 11:24:22] VERBOSE[18113] logger.c:   == Spawn extension (default, 0608136204, 1) exited non-zero on 'SIP/100-081dd148'

not ringing:

[Mar 26 11:24:44] VERBOSE[18114] logger.c:     -- Executing [0694457421@default:1] Dial("SIP/100-081dd148", "SIP/audiocodes/0694457421||W") in new stack
[Mar 26 11:24:44] VERBOSE[18114] logger.c:     -- Called audiocodes/0694457421
[Mar 26 11:25:16] NOTICE[18114] cdr.c: CDR on channel 'SIP/audiocodes-081e10b8' not posted
[Mar 26 11:25:16] VERBOSE[18114] logger.c:   == Spawn extension (default, 0694457421, 1) exited non-zero on 'SIP/100-081dd148'

not ringing first time:

[Mar 26 11:23:20] VERBOSE[18112] logger.c:     -- Executing [0608136204@default:1] Dial("SIP/100-081e5150", "SIP/audiocodes/0608136204||W") in new stack
[Mar 26 11:23:20] VERBOSE[18112] logger.c:     -- Called audiocodes/0608136204
[Mar 26 11:24:01] VERBOSE[18112] logger.c:     -- SIP/audiocodes-081dfb30 answered SIP/100-081e5150
[Mar 26 11:24:01] VERBOSE[18112] logger.c:     -- Packet2Packet bridging SIP/100-081e5150 and SIP/audiocodes-081dfb30
[Mar 26 11:24:06] VERBOSE[18112] logger.c:   == Spawn extension (default, 0608136204, 1) exited non-zero on 'SIP/100-081e5150'

ringing second time

[Mar 26 11:24:13] VERBOSE[18113] logger.c:     -- Executing [0608136204@default:1] Dial("SIP/100-081dd148", "SIP/audiocodes/0608136204||W") in new stack
[Mar 26 11:24:13] VERBOSE[18113] logger.c:     -- Called audiocodes/0608136204
[Mar 26 11:24:20] VERBOSE[18113] logger.c:     -- SIP/audiocodes-081e7368 is ringing
[Mar 26 11:24:22] NOTICE[18113] cdr.c: CDR on channel 'SIP/audiocodes-081e7368' not posted
[Mar 26 11:24:22] VERBOSE[18113] logger.c:   == Spawn extension (default, 0608136204, 1) exited non-zero on 'SIP/100-081dd148'

[quote=“dark1965”]my sip.conf

allow=g729 [authentication] canreinvite=no disallow=all domain=pbx.mobiwide.com [general] register=>121114020:pass_secret@eneo.integralnet.com/121114020 [/quote]
AFAIK, disallow option will remove all CoDecs. The above configuration indicates that your Asterisk PBX system isn’t configured with any CoDec. Try to add allow=g729 after the disallow=all and see if that will resolve the issue.

Normaly order in config is ok:

disallow=all
allow=g729

i just made: cat /etc/asterisk/sip.conf | grep -v “;” | sort

I am also having problem with outgoing calls. Using Asterisk as PBX, xtelsio TAPI driver and TAPI application. From Asterisk i get this error log:

[Mar 26 09:02:31] NOTICE[8865] channel.c: Unable to request channel SIP/026202202
[Mar 26 09:04:30] WARNING[8867] chan_sip.c: No such host: 2202
[Mar 26 09:04:30] NOTICE[8867] channel.c: Unable to request channel SIP/2202
[Mar 26 09:04:49] WARNING[8869] chan_sip.c: No such host: 2202
[Mar 26 09:04:49] NOTICE[8869] channel.c: Unable to request channel SIP/2202
[Mar 26 09:05:32] NOTICE[8871] channel.c: Unable to request channel SIP/026202202
[Mar 26 09:08:40] NOTICE[8874] channel.c: Unable to request channel SIP/026202202
[Mar 26 09:09:02] NOTICE[8876] channel.c: Unable to request channel SIP/026202202
[Mar 26 09:09:38] NOTICE[8878] channel.c: Unable to request channel SIP/026202202
[Mar 26 10:13:24] NOTICE[8900] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:13:26] NOTICE[8901] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:14:11] NOTICE[8902] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:14:17] NOTICE[8903] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:14:28] NOTICE[8904] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:15:08] NOTICE[8905] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:15:19] NOTICE[8906] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:15:58] NOTICE[8907] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:16:01] NOTICE[8908] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:16:06] NOTICE[8909] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:17:09] NOTICE[8914] manager.c: 192.168.0.112 tried to authenticate with nonexistent user ‘026202202’
[Mar 26 10:17:17] NOTICE[8916] channel.c: Unable to request channel SIP/026202202
[Mar 26 10:26:18] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:26:18] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=00721-NN-054820a9-15116b5d4
[Mar 26 10:26:26] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:26:26] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=06909-UF-054821cf-5328cabd1
[Mar 26 10:26:29] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:26:29] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=14312-XR-05482275-580cb0612
[Mar 26 10:26:52] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:26:52] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=04825-NY-0548271d-074d33ed0
[Mar 26 10:27:19] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:27:19] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=01349-KR-05482c6b-2c74a6c65
[Mar 26 10:27:27] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:27:27] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=30612-SZ-05482dfd-04e9ad010
[Mar 26 10:28:51] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:28:51] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=06710-JN-05483e95-7ce206843
[Mar 26 10:29:57] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:29:57] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=21042-RR-05484b57-60c1630e0
[Mar 26 10:31:22] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:31:22] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=26981-ZP-05485c6a-01d90f2a5
[Mar 26 10:31:38] WARNING[7747] chan_sip.c: username mismatch, have <026202202>, digest has
[Mar 26 10:31:38] NOTICE[7747] chan_sip.c: Failed to authenticate user “026202202” sip:026202202@sip-priv.amis.net;user=phone;tag=15685-VT-05485faf-334d8d9d4

i don’t know what to do…i am new to Asterisk

Please help