I just recently moved to a virtual image for Astlinux and also moved away from 
DAHDI card that I replaced my internal land lines with a Cisco SPA box and 
Cisco IP phone as per below.  All incoming calls work fine but outgoing I get 
this error / loop as per below logs. It never dials out, just loops like this.  

Any ideas what’s going on?  Any pointers I can research this further or try 
something different?   MANY THANKS


SIP Clients —> Astlinux (asterisk 18.x) —> VoIp Provider Romania (Oriunde)
                                                               —> VoIp Provider 
USA (Teliax)
                                                               —> VoIp Provider 
USA (Vitelity)


101/SIP - Cisco SPA-2102
200/SIP -  Cisco IP Phone 7965


And some info from my sip.conf and extensions.conf

;---------------------------------------------------------
;  USER 101 CHILA HOME LINE 1 SPA-2102
;---------------------------------------------------------
[101]
context=voip
type=friend
secret=*******
host=dynamic
canreinvite=yes
qualify=5000
qualifyfreq=60

;---------------------------------------------------------
;  USER 200 Cisco Phone Office 7965
;---------------------------------------------------------
[200]
context=voip
type=friend
secret=********
host=dynamic
canreinvite=no
qualify=5000
qualifyfreq=60
transport=udp,tcp
mailbox=200
;

in extensions.conf:

;       DIAL IN ROMANIA NUMBER
;
[oriunde]
exten => _338810603,1,Answer() ; Answer the call
exten => _338810603,2,DIAL(SIP/101&SIP/105&SIP/200&SIP/203,30)
exten => _338810603,3,Voicemail(101,u) ; Go to voicemail if no answer
exten => _338810603,n,Hangup() ; Hang up the call


;       DIAL OUT ROMANIA NUMBERS
;
[voip]
exten => _XXXXXXXXXX,1,Set(CALLERid(NUmber)=0338810603)
exten => _XXXXXXXXXX,n,DIAL(SIP/oriunde/4${EXTEN}, 60)


VM-HOME-PBX asterisk # asterisk -rvv
Asterisk 18.22.0, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation 
and others.
Created by Mark Spencer <marks...@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for 
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 18.22.0 currently running on VM-HOME-PBX (pid = 1062)
VM-HOME-PBX*CLI> 
VM-HOME-PBX*CLI> 

Extensions 101:
[Aug 29 12:25:49] WARNING[1116][C-00000030]: acl.c:890 resolve_first: Unable to 
lookup 'VM-HOME-PBX'
  == Using SIP RTP CoS mark 5
       > 0x151c20052820 -- Strict RTP learning after remote address set to: 
192.168.0.99:16414
    -- Executing [0338810606@voip:1] Set("SIP/101-00000081", 
"CALLERid(NUmber)=0338810600") in new stack
[Aug 29 12:25:50] ERROR[1413][C-00000030]: pbx_functions.c:700 ast_func_write: 
Function CALLERid not registered
    -- Executing [0338810606@voip:2] Dial("SIP/101-00000081", 
"SIP/oriunde/40338810606, 60") in new stack
[Aug 29 12:25:50] ERROR[1413][C-00000030]: netsock2.c:303 ast_sockaddr_resolve: 
getaddrinfo("VM-HOME-PBX", "(null)", ...): No address associated with hostname
[Aug 29 12:25:50] WARNING[1413][C-00000030]: acl.c:890 resolve_first: Unable to 
lookup 'VM-HOME-PBX'
  == Using SIP RTP CoS mark 5
    -- Called SIP/oriunde/40338810606
       > 0x151c2400a2d0 -- Strict RTP learning after remote address set to: 
3.233.63.160:44094
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
       > 0x151c2400a2d0 -- Strict RTP switching to RTP target address 
3.233.63.160:44094 as source
       > 0x151c20052820 -- Strict RTP switching to RTP target address 
192.168.0.99:16414 as source
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 requested media update control 26, passing it to 
SIP/101-00000081
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 requested media update control 26, passing it to 
SIP/101-00000081
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 requested media update control 26, passing it to 
SIP/101-00000081
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
       > 0x151c20052820 -- Strict RTP learning complete - Locking on source 
address 192.168.0.99:16414
    -- SIP/oriunde-00000082 is making progress passing it to SIP/101-00000081
    -- SIP/oriunde-00000082 requested media update control 26, passing it to 
SIP/101-00000081
       > 0x151c2400a2d0 -- Strict RTP learning complete - Locking on source 
address 3.233.63.160:44094
  == Spawn extension (voip, 0338810606, 2) exited non-zero on 'SIP/101-00000081'



Extension 200:
[Aug 29 12:24:33] ERROR[1384][C-0000002e]: netsock2.c:303 ast_sockaddr_resolve: 
getaddrinfo("VM-HOME-PBX", "(null)", ...): No address associated with hostname
[Aug 29 12:24:33] WARNING[1384][C-0000002e]: acl.c:890 resolve_first: Unable to 
lookup 'VM-HOME-PBX'
  == Using SIP RTP CoS mark 5
    -- Called SIP/oriunde/40338810606
       > 0x151c080264a0 -- Strict RTP learning after remote address set to: 
3.233.63.160:44040
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
       > 0x151c080264a0 -- Strict RTP switching to RTP target address 
3.233.63.160:44040 as source
       > 0x151c200547c0 -- Strict RTP switching to RTP target address 
192.168.0.33:16390 as source
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
    -- SIP/oriunde-0000007e requested media update control 26, passing it to 
SIP/200-0000007d
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
    -- SIP/oriunde-0000007e requested media update control 26, passing it to 
SIP/200-0000007d
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
       > 0x151c200547c0 -- Strict RTP learning complete - Locking on source 
address 192.168.0.33:16390
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
    -- SIP/oriunde-0000007e requested media update control 26, passing it to 
SIP/200-0000007d
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
       > 0x151c080264a0 -- Strict RTP learning complete - Locking on source 
address 3.233.63.160:44040
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
    -- SIP/oriunde-0000007e requested media update control 26, passing it to 
SIP/200-0000007d
    -- SIP/oriunde-0000007e is making progress passing it to SIP/200-0000007d
    -- SIP/oriunde-0000007e requested media update control 26, passing it to 
SIP/200-0000007d
  == Spawn extension (voip, 0338810606, 2) exited non-zero on 'SIP/200-0000007d’


_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to