[asterisk-bugs] [JIRA] (ASTERISK-29375) I can not make a call via zoiper (VOIP / SIP App)

Karna Sai (JIRA) noreply at issues.asterisk.org
Tue Mar 30 02:06:14 CDT 2021


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karna Sai updated ASTERISK-29375:
---------------------------------

    Description: 
5 or 6 day's working very well in inter calling purpose. But when i use to do as an out bounding call's purpose, then i don't know what happened on asterisk, it will not connect  in Zoiper Always says this

You have an error associated with this account 
Request Timeout (code: 408)
Username 2 
Account name2 at 192.168.1.5 
Timestamp2021-03-30T11:57:38+05:30 
Protocol5 
Error Layer(3) 
Error Code408 
Error TextRequest Timeout 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CLI> module load chan_sip.so
Unable to load module chan_sip.so
Command 'module load chan_sip.so' failed.
[Mar 30 11:55:59] WARNING[341]: loader.c:1769 load_resource: Module 'chan_sip.so' already loaded and running.
BIMx*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
2                         (Unspecified)                            D  Auto (No)  No             0        Unmonitored
3                         (Unspecified)                            D  Auto (No)  No             0        Unmonitored
5                         (Unspecified)                            D  Auto (No)  No             0        Unmonitored
7001/7001                 (Unspecified)                            D  Auto (No)  No             0        Unmonitored
7004                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
5 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 5 offline]


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ sudo vim /etc/asterisk/sip.conf
[geiineral]
context=internal
allowguest=no
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
alwaysauthreject=yes
srvlookup=yes
qualify=yes
disallow=all
allow=ulaw
session-timers=refuse
bindport=5060
localnet=192.168.1.0/255.255.255.0
nat=force_rport,comedia

[5]
type=friend
host=dynamic
disallow=all
secret=123
context=internal
allow=ulaw,alaw

[2]
type=friend
host=dynamic
secret=123
context=internal
disallow=all
allow=ulaw,alaw

[3]
type=friend
host=dynamic
secret=123
context=internal
disallow=all
allow=ulaw,alaw

[7004]
type=friend
host=dynamic
secret=123
context=internal
disallow=all
allow=ulaw,alaw

[7001]
type=friend
host=dynamic
secret=123
context=internal
disallow=all
allow=ulaw,alaw

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ sudo vim /etc/asterisk/extensions.conf

[internal]
exten => 5,1,Answer()
exten => 5,2,Dial(SIP/5)
exten => 5,5,Hangup()
exten => 5,3,Playback(vm-nobodyavail)
exten => 5,4,VoiceMail(5 at main)

exten => 2,1,Answer()
exten => 2,2,Dial(SIP/2,60)
exten => 2,3,Playback(vm-nobodyavail)
exten => 2,4,VoiceMail(2 at main)
exten => 2,5,Hangup()

exten => 3,1,Answer()
exten => 3,2,Dial(SIP/3,60)
exten => 3,3,Playback(vm-nobodyavail)
exten => 3,4,VoiceMail(3 at main)
exten => 3,5,Hangup()

exten => 7004,1,Answer()
exten => 7004,2,Dial(SIP/7004,60)
exten => 7004,3,Playback(vm-nobodyavail)
exten => 7004,4,VoiceMail(7004 at main)
exten => 7004,5,Hangup()

exten => 7001,1,Answer()
exten => 7001,2,Dial(SIP/7001,60)
exten => 7001,3,Playback(vm-nobodyavail)
exten => 7001,4,VoiceMail(7001 at main)
exten => 7001,5,Hangup()

exten => 8001,1,VoicemailMain(5 at main)
exten => 8001,2,Hangup()

exten => 8002,1,VoicemailMain(2 at main)
exten => 8002,2,Hangup()

exten => 8001,1,VoicemailMain(3 at main)
exten => 8001,2,Hangup()

exten => 8001,1,VoicemailMain(7004 at main)
exten => 8001,2,Hangup()

exten => 8001,1,VoicemailMain(7001 at main)
exten => 8001,2,Hangup()


  was:
5 or 6 day's working very well in inter calling purpose. But when i use to do as an out bounding call's purpose, then i don't know what happened on asterisk, it will not connect  in zoiper Always says this

You have an error associated with this account 
Request Timeout (code: 408)
Username 2 
Account name2 at 192.168.1.5 
Timestamp2021-03-30T11:57:38+05:30 
Protocol5 
Error Layer(3) 
Error Code408 
Error TextRequest Timeout 



> I can not make a call via zoiper (VOIP / SIP App) 
> --------------------------------------------------
>
>                 Key: ASTERISK-29375
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29375
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: Channels/chan_pjsip, Channels/chan_sip/General
>    Affects Versions: 18.2.2
>         Environment: Windows Subsystem for Linux (UBUNTU)
>            Reporter: Karna Sai
>            Severity: Major
>
> 5 or 6 day's working very well in inter calling purpose. But when i use to do as an out bounding call's purpose, then i don't know what happened on asterisk, it will not connect  in Zoiper Always says this
> You have an error associated with this account 
> Request Timeout (code: 408)
> Username 2 
> Account name2 at 192.168.1.5 
> Timestamp2021-03-30T11:57:38+05:30 
> Protocol5 
> Error Layer(3) 
> Error Code408 
> Error TextRequest Timeout 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> CLI> module load chan_sip.so
> Unable to load module chan_sip.so
> Command 'module load chan_sip.so' failed.
> [Mar 30 11:55:59] WARNING[341]: loader.c:1769 load_resource: Module 'chan_sip.so' already loaded and running.
> BIMx*CLI> sip show peers
> Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
> 2                         (Unspecified)                            D  Auto (No)  No             0        Unmonitored
> 3                         (Unspecified)                            D  Auto (No)  No             0        Unmonitored
> 5                         (Unspecified)                            D  Auto (No)  No             0        Unmonitored
> 7001/7001                 (Unspecified)                            D  Auto (No)  No             0        Unmonitored
> 7004                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
> 5 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 5 offline]
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> $ sudo vim /etc/asterisk/sip.conf
> [geiineral]
> context=internal
> allowguest=no
> allowoverlap=no
> udpbindaddr=0.0.0.0
> tcpenable=no
> tcpbindaddr=0.0.0.0
> transport=udp
> alwaysauthreject=yes
> srvlookup=yes
> qualify=yes
> disallow=all
> allow=ulaw
> session-timers=refuse
> bindport=5060
> localnet=192.168.1.0/255.255.255.0
> nat=force_rport,comedia
> [5]
> type=friend
> host=dynamic
> disallow=all
> secret=123
> context=internal
> allow=ulaw,alaw
> [2]
> type=friend
> host=dynamic
> secret=123
> context=internal
> disallow=all
> allow=ulaw,alaw
> [3]
> type=friend
> host=dynamic
> secret=123
> context=internal
> disallow=all
> allow=ulaw,alaw
> [7004]
> type=friend
> host=dynamic
> secret=123
> context=internal
> disallow=all
> allow=ulaw,alaw
> [7001]
> type=friend
> host=dynamic
> secret=123
> context=internal
> disallow=all
> allow=ulaw,alaw
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> $ sudo vim /etc/asterisk/extensions.conf
> [internal]
> exten => 5,1,Answer()
> exten => 5,2,Dial(SIP/5)
> exten => 5,5,Hangup()
> exten => 5,3,Playback(vm-nobodyavail)
> exten => 5,4,VoiceMail(5 at main)
> exten => 2,1,Answer()
> exten => 2,2,Dial(SIP/2,60)
> exten => 2,3,Playback(vm-nobodyavail)
> exten => 2,4,VoiceMail(2 at main)
> exten => 2,5,Hangup()
> exten => 3,1,Answer()
> exten => 3,2,Dial(SIP/3,60)
> exten => 3,3,Playback(vm-nobodyavail)
> exten => 3,4,VoiceMail(3 at main)
> exten => 3,5,Hangup()
> exten => 7004,1,Answer()
> exten => 7004,2,Dial(SIP/7004,60)
> exten => 7004,3,Playback(vm-nobodyavail)
> exten => 7004,4,VoiceMail(7004 at main)
> exten => 7004,5,Hangup()
> exten => 7001,1,Answer()
> exten => 7001,2,Dial(SIP/7001,60)
> exten => 7001,3,Playback(vm-nobodyavail)
> exten => 7001,4,VoiceMail(7001 at main)
> exten => 7001,5,Hangup()
> exten => 8001,1,VoicemailMain(5 at main)
> exten => 8001,2,Hangup()
> exten => 8002,1,VoicemailMain(2 at main)
> exten => 8002,2,Hangup()
> exten => 8001,1,VoicemailMain(3 at main)
> exten => 8001,2,Hangup()
> exten => 8001,1,VoicemailMain(7004 at main)
> exten => 8001,2,Hangup()
> exten => 8001,1,VoicemailMain(7001 at main)
> exten => 8001,2,Hangup()



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list