ftocc

Teliax sip inbound call problems

frankb_il
Posts: 65
Member Since:
2007-05-27

I have been messing with this for days, in excess to 8 hours of searching and trying different combinations and still am unsuccessful. Teliax account, using their new servers and the nyc.teliax.net proxy. Using Trixbox latest ver with fully updated freepbx. Trunk config below as well as the log file info.

The problem specifically is that when receiving incoming calls I am unable to receive audio from the calling party. The calling party hears me with no problems. When I make outbound calls from the Teliax trunk there are no problems, audio is transmitted both ways.

Trunk Name:
a-teliax-out

Peer Details:
type=peer
disallow=all
allow=ulaw&alaw&gsm
canreinvite=no
context=from-trunk
host=nyc.teliax.net
insecure=very
nat=yes
qualify=yes
secret=P1oLVCnWZVrxiGX
username=frankb

User Context:
teliax-in

User Details:
type=user
disallow=all
allow=ulaw&alaw&gsm
canreinvite=no
insecure=very

Logfile:
-- Executing [s@from-trunk:1] Set("SIP/frankb-09dc7a60", "__FROM_DID=s") in new stack
-- Executing [s@from-trunk:2] Gosub("SIP/frankb-09dc7a60", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/frankb-09dc7a60", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/frankb-09dc7a60", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/frankb-09dc7a60", "") in new stack
-- Executing [s@from-trunk:3] GotoIf("SIP/frankb-09dc7a60", "1 ?cidok") in new stack
-- Goto (from-trunk,s,5)
-- Executing [s@from-trunk:5] NoOp("SIP/frankb-09dc7a60", "CallerID is "VELOCITA TECH" <8157258818>") in new stack
-- Executing [s@from-trunk:6] Set("SIP/frankb-09dc7a60", "FAX_RX=disabled") in new stack
-- Executing [s@from-trunk:7] Goto("SIP/frankb-09dc7a60", "from-did-direct|105|1") in new stack
-- Goto (from-did-direct,105,1)
-- Executing [105@from-did-direct:1] Macro("SIP/frankb-09dc7a60", "exten-vm|105|105") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/frankb-09dc7a60", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/frankb-09dc7a60", "user-callerid: VELOCITA TECH 8157258818") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/frankb-09dc7a60", "AMPUSER=8157258818") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/frankb-09dc7a60", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/frankb-09dc7a60", "1|Set|REALCALLERIDNUM=8157258818") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/frankb-09dc7a60", "REALCALLERIDNUM is 8157258818") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/frankb-09dc7a60", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/frankb-09dc7a60", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/frankb-09dc7a60", "1?report") in new stack
-- Goto (macro-user-callerid,s,13)
-- Executing [s@macro-user-callerid:13] NoOp("SIP/frankb-09dc7a60", "TTL: ARG1: 105") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/frankb-09dc7a60", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/frankb-09dc7a60", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/frankb-09dc7a60", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/frankb-09dc7a60", "Using CallerID "VELOCITA TECH" <8157258818>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/frankb-09dc7a60", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/frankb-09dc7a60", "VMBOX=105") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/frankb-09dc7a60", "EXTTOCALL=105") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/frankb-09dc7a60", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/frankb-09dc7a60", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/frankb-09dc7a60", "RT=30") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/frankb-09dc7a60", "record-enable|105|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/frankb-09dc7a60", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/frankb-09dc7a60", "recordingcheck|20080619-012129|1213856489.0") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080619-012129|1213856489.0: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/frankb-09dc7a60", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/frankb-09dc7a60", "dial|30|tr|105") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/frankb-09dc7a60", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/frankb-09dc7a60", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'VELOCITA TECH' number is '8157258818'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 105 to extension map
-- dialparties.agi: Extension 105 cf is disabled
-- dialparties.agi: Extension 105 do not disturb is disabled
-- dialparties.agi: dbset CALLTRACE/105 to 8157258818
-- dialparties.agi: Filtered ARG3: 105
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/frankb-09dc7a60", "SIP/105|30|tr") in new stack
-- Called 105
-- SIP/105-09dccd00 is ringing
-- SIP/105-09dccd00 answered SIP/frankb-09dc7a60
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/frankb-09dc7a60' in macro 'dial'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/frankb-09dc7a60' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/frankb-09dc7a60'
-- Executing [h@macro-dial:1] Macro("SIP/frankb-09dc7a60", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/frankb-09dc7a60", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/frankb-09dc7a60", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/frankb-09dc7a60", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/frankb-09dc7a60", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/frankb-09dc7a60", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/frankb-09dc7a60", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/frankb-09dc7a60' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/frankb-09dc7a60'

All of the logged info is from receiving 1 call however not being able to hear the calling party. As I had mentioned I have tried many configurations of the trunk and no combination seems to allow me to hear the calling party.

Thanks!
Frank :)

PS ... The information on the Teliax website just does not work with the newer versions of Trixbox. I could not get anything (receiving or making a call) to work until I added a context= statement, for example context=from-trunk which Teliax's example does not have.



joshelson
Posts: 159
Member Since:
2006-12-07
Teliax is working great for

Teliax is working great for me. Can you quickly describe your network configuration?

If you are, as I presume, behind a firewall and port forwarding UDP 5060 and 10k - 20k, have you set the externip value in the sip.conf family of config files to the external interface on your router / firewall?

Josh



frankb_il
Posts: 65
Member Since:
2007-05-27
Sure ... my networking

Sure ... my networking config is what you had assumed. I have a router connected to my dsl connection and yes I have the 5060 upd, 10k - 30k forwarded as well as my external ip address in my sip_nat.conf file. Can you think of anything else to check??? Below is my sip_nat.conf file:

nat=yes
externip=69.217.101.238
localnet=192.168.0.0/255.255.255.0
externrefresh=10



joshelson
Posts: 159
Member Since:
2006-12-07
Have you tried one of the

Have you tried one of the free ipkall DIDs? It only takes a couple minutes to set up, and it would help to isolate whether your problem is on the router / TB or with Teliax specifically.

Your configuration looks correct to me - and is identical to mine, and I've had no problems with Teliax.

Josh



frankb_il
Posts: 65
Member Since:
2007-05-27
I really appreciate your

I really appreciate your help Josh. Actually I have been using Broadvoice for sometime and due to quality issues we are attempting to change over to Teliax ( I have read many comments stating that they are a quality provider ). We never had a problem with transmitting audio to our inbound callers when using Broadvoice. I have now gotten it to work as long as I allow annoymous SIP calls in the general settings area of FreePBX. I am apposed to leaving this setting this way due to security risks, which Teliax support is telling me that it is really not a security risk since Asterisk would challenge the security authentication based on the FreePBX setup any how. I just want it to work.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.