SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
johnmcenroyOffline



Joined: Dec 28, 2007
Posts: 26

Status: Offline
Posted: Feb 23, 2008 - 01:23 PM Reply with quote Back to top
I have dlink 7022s , stun server is only for voip to bypass NAT , but when i have stun server enabled i can't recieve calls from regular FXO , when it is disabled - all work fine.
Please help. Why it is so ?

Log file when FXO works (without stun):

15:51:04 *** SLMON start to log ***
15:51:14 [000513] Receive Cmd=1100, ParaLen=0, Para=[]
15:51:14 [000513] == Ver(1.02.36.99.4913 2007/04/03 13:54:09) PId(085.DLink.Nortel.NoPrefix.drtp) Drv(0.9.4.59.80 13/Oct/2006 18:06:41) Hw(IAD202) == 0.6.5-2
15:53:48 [002054] 2: Fxo Ringing
15:53:48 [002054] 2: FxoHookOff
15:53:48 [002054] 2: SetFxoHookOff()=0, CallerId=
15:53:48 [002054] 2: ==17:WaitAnswerDeviceOk
15:53:48 [002056] 2: ==4:GetDtmf
15:53:49 [002067] 2: WarmLine with [701]
15:53:49 [002067] 2: End Input Default Route [0]
15:53:49 [002067] 2: Line DialNum_New [701]
15:53:49 [002067] 2: OutPinCode=<>, dial_no=<701>
15:53:49 [002067] 2: PhoneBook has GwNo=701, addr=192.168.0.133:5060
15:53:49 [002067] 2: ==7:Inviting
15:53:49 [002067] 2: VoIP CallOut, Invite <sip:701@192.168.0.133:5060;user=phone>
15:53:49 [002068] 2: 703=DIALING
15:53:49 [002069] 0: 701=OFFERING
15:53:50 [002069] 0: Get CallerId=703
15:53:50 [002069] 0: Peer=192.168.0.133:9004, PT=4, RecvOnly=0
15:53:50 [002069] 0: ==9:FxsCallerIdShortRing
15:53:50 [002070] 2: 703=PROCEEDING
15:53:50 [002070] 2: 703=RINGBACK
15:53:50 [002070] 2: PlayFile(/opt/voc/NotifyVoip.pcm)=0
15:53:50 [002070] 2: ==8:RingBack
15:53:50 [002074] 0: Fxs Send DtmfCallerId(703)=0
15:53:50 [002074] 0: ==10:FxsCallerIdSending
15:53:51 [002083] 0: ==11:FxsCallerIdSent
15:53:51 [002086] 0: After CallerId Sent, SetFxsRing()=0
15:53:51 [002086] 0: ==12:Alerting
15:53:53 [002104] 0: Fxs Pickup
15:53:53 [002105] 0: 701=ACCEPT
15:53:53 [002105] 0: ==13:VoipAnswering
15:53:53 [002106] 2: 703=CONNECTED
15:53:53 [002106] 2: Peer=192.168.0.133:9000, PT=4, RecvOnly=0
15:53:53 [002106] 2: RtpApiTalk[1,1], Peer=192.168.0.133:9000, PT=4, FC=1, NewOOB=1
15:53:53 [002106] 2: ==14:Talking
15:53:53 [002107] 0: 701=CONNECTED
15:53:53 [002107] 0: RtpApiTalk[1,1], Peer=192.168.0.133:9004, PT=4, FC=1, NewOOB=1
15:53:53 [002107] 0: ==14:Talking
15:54:20 [002374] DSP_ch0_check=0
15:54:20 [002374] 0: Fxs Hangup
15:54:20 [002374] 0: Bye at Talking
15:54:20 [002374] 0: ==3:Idle
15:54:20 [002374] 0: SetFax(1)=0
15:54:20 [002375] 2: 703=DISCONNECT
15:54:20 [002375] 2: Release Active Dlg
15:54:20 [002375] 2: ==15:PlayBusyTone
15:54:20 [002376] 0: 701=DISCONNECT
15:54:20 [002376] 0: Release Old Dlg #2
15:54:23 [002406] 2: Start Btc Learning
15:54:25 [002420] 2: Btc Learning Exception No Change
15:54:25 [002420] DSP_ch2_check=0
15:54:25 [002420] 2: FxoHookOn
15:54:25 [002420] 2: ==3:Idle
15:54:25 [002420] 2: SetFax(1)=0

Log file when FXO doesn't work (with stun):

15:44:00 *** SLMON start to log ***
15:44:10 [049923] Receive Cmd=1100, ParaLen=0, Para=[]
15:44:10 [049923] == Ver(1.02.36.99.4913 2007/04/03 13:54:09) PId(085.DLink.Nortel.NoPrefix.drtp) Drv(0.9.4.59.80 13/Oct/2006 18:06:41) Hw(IAD202) == 0.6.5-2
15:47:03 [051655] 2: Fxo Ringing
15:47:03 [051655] 2: FxoHookOff
15:47:03 [051655] 2: SetFxoHookOff()=0, CallerId=
15:47:03 [051655] 2: ==17:WaitAnswerDeviceOk
15:47:03 [051656] 2: ==4:GetDtmf
15:47:04 [051667] 2: WarmLine with [701]
15:47:04 [051668] 2: End Input Default Route [0]
15:47:04 [051668] 2: Line DialNum_New [701]
15:47:04 [051668] 2: OutPinCode=<>, dial_no=<701>
15:47:04 [051668] 2: PhoneBook has GwNo=701, addr=192.168.0.133:5060
15:47:04 [051668] 2: ==7:Inviting
15:47:04 [051668] 2: VoIP CallOut, Invite <sip:701@192.168.0.133:5060;user=phone>
15:47:04 [051669] 2: 703=DIALING
15:47:05 [051670] 0: 701=OFFERING
15:47:05 [051670] 0: Get CallerId=703
15:47:05 [051670] 0: Peer=91.149.153.91:61825, PT=4, RecvOnly=0
15:47:05 [051670] 0: ==9:FxsCallerIdShortRing
15:47:05 [051675] 0: Fxs Send DtmfCallerId(703)=0
15:47:05 [051675] 0: ==10:FxsCallerIdSending
15:47:06 [051684] 0: ==11:FxsCallerIdSent
15:47:06 [051686] 0: After CallerId Sent, SetFxsRing()=0
15:47:06 [051686] 0: ==12:Alerting
15:47:12 [051746] 0: Fxs Pickup
15:47:12 [051747] 0: 701=ACCEPT
15:47:12 [051747] 0: ==13:VoipAnswering
15:47:12 [051748] 2: Invite timeout, Onhook ===
15:47:12 [051749] 2: ==15:PlayBusyTone
15:47:15 [051779] 2: Start Btc Learning
15:47:17 [051794] 2: Btc Learning Exception No Change
15:47:17 [051794] DSP_ch2_check=0
15:47:17 [051794] 2: FxoHookOn
15:47:17 [051794] 2: ==3:Idle
15:47:17 [051794] 2: SetFax(1)=0
15:47:32 [051944] DSP_ch0_check=0
15:47:32 [051944] 0: Fxs Hangup
15:47:32 [051944] 0: ==3:Idle
15:47:32 [051944] 0: SetFax(1)=0
15:47:36 [051984] 4: matrix_just=OFFERING
15:47:36 [051984] 4: Get CallerId=valera_low
15:47:36 [051984] 0: Offering, Fxs Hunting
15:47:36 [051984] 0: Peer PTime=20 #2
15:47:36 [051984] 0: Peer=77.72.168.9:11170, PT=18, RecvOnly=0
15:47:36 [051984] 0: ==9:FxsCallerIdShortRing
15:47:36 [051989] 0: Fxs Send DtmfCallerId(valera_low)=-1
15:47:36 [051989] 0: ==10:FxsCallerIdSending
15:47:36 [051989] 0: ==11:FxsCallerIdSent
15:47:37 [051991] 0: After CallerId Sent, SetFxsRing()=0
15:47:37 [051991] 0: ==12:Alerting
View user's profile Send private message
deanOffline
Site Admin


Joined: Dec 13, 2003
Posts: 7057
Location: London
Status: Offline
Posted: Feb 23, 2008 - 02:30 PM Reply with quote Back to top
Looks to me from the IP addresses like you've configured this to run on a local network ?
View user's profile Send private message
johnmcenroyOffline



Joined: Dec 28, 2007
Posts: 26

Status: Offline
Posted: Feb 23, 2008 - 09:17 PM Reply with quote Back to top
Yes my voip gateway (192.168.0.133) is connected to internet by my computer (192.168.0.135) , on which i have enabled internet sharing for my gateway.
View user's profile Send private message
maziloOffline
Moderator


Joined: Feb 09, 2005
Posts: 2072
Location: USA
Status: Offline
Posted: Feb 23, 2008 - 10:47 PM Reply with quote Back to top
johnmcenroy :
Why it is so ?

To configure an ATA device to work properly behind a NAT/Firewall router using STUN, your device must be connected behind a non-symmetrical NAT/Firewall router. What type of NAT/Firewall router is your DLink 7022S connected?
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.