keywords: ip pbx voip gateway gsm gateway

× Questions about G400/G410 Cards.

How to receive CalledID from asterisk?

5 years 5 months ago #11066 by lelik
Good day everyone, I'm stuck while configuring trunk between asterisk server and openvox gsm-gateway. Connection realized through sip trunk.
peer on asterisk:
host=192.168.0.101
username=test_trunk
secret=zaq1xsw2cde3
fromuser=name
type=friend
qualify=yes
sendrpid=yes

connection established

The problem - I need to force some users to call from definite gsm-module but I could not receive CallerID from asterisk (can not see it in asterisk cli) - can you help meб please?
5 years 5 months ago #11067 by tim.june
try this:
host=192.168.0.101
username=test_trunk
secret=zaq1xsw2cde3
type=friend
insecure=port,invite

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
5 years 5 months ago #11068 by lelik
I tried it - but it does not work
5 years 5 months ago #11069 by lelik
Here is my openvox log
== Using SIP RTP CoS mark 5

-- Executing [[email protected]:1] NoOp("SIP/openvox-192.168.0.1-0000000c", "SIP Inbound") in new stack

-- Executing [[email protected]:2] GotoIf("SIP/openvox-192.168.0.1-0000000c", "1?:nocdr") in new stack

-- Executing [[email protected]:3] Goto("SIP/openvox-192.168.0.1-0000000c", "sip-openvox-192.168.0.1,89116749222,1") in new stack

-- Goto (sip-openvox-192.168.0.1,89116749222,1)

-- Executing [[email protected]:1] NoOp("SIP/openvox-192.168.0.1-0000000c", "_XXXXXXXXXXX matches Rule rtg-all-1") in new stack

-- Executing [[email protected]:2] Set("SIP/openvox-192.168.0.1-0000000c", "CDR_CALLEEID=89116749222") in new stack

-- Executing [[email protected]:3] Wait("SIP/openvox-192.168.0.1-0000000c", "1") in new stack

-- Executing [[email protected]:4] GrpPolicy("SIP/openvox-192.168.0.1-0000000c", "all_others") in new stack

-- Executing [[email protected]:5] GotoIf("SIP/openvox-192.168.0.1-0000000c", "0?nofreechannel") in new stack

-- Executing [[email protected]:6] GotoIf("SIP/openvox-192.168.0.1-0000000c", "0?nofreechannel") in new stack

-- Executing [[email protected]:7] Macro("SIP/openvox-192.168.0.1-0000000c", "dial-failover,,89116749222,SIP/9523541-192.168.128.85,0,Board-4-gsm-1,RET") in new stack

-- Executing [[email protected]:1] Set("SIP/openvox-192.168.0.1-0000000c", "ADEV=3") in new stack

-- Executing [[email protected]:2] Set("SIP/openvox-192.168.0.1-0000000c", "AEXTEN_FLAG=4") in new stack

-- Executing [[email protected]:3] Set("SIP/openvox-192.168.0.1-0000000c", "ACDR_NAME=5") in new stack

-- Executing [[email protected]:4] Set("SIP/openvox-192.168.0.1-0000000c", "ARG=ARG") in new stack

-- Executing [[email protected]:5] Set("SIP/openvox-192.168.0.1-0000000c", "MAX=128") in new stack

-- Executing [[email protected]:6] Set("SIP/openvox-192.168.0.1-0000000c", "COUNT=1") in new stack

-- Executing [[email protected]:7] SIPAddHeader("SIP/openvox-192.168.0.1-0000000c", "X-Best-Codec: ulaw") in new stack

-- Executing [[email protected]:8] GotoIf("SIP/openvox-192.168.0.1-0000000c", "1?dialstrnoforward") in new stack

-- Goto (macro-dial-failover,s,15)

-- Executing [[email protected]:15] GotoIf("SIP/openvox-192.168.0.1-0000000c", "0?dialstrnoexten") in new stack

-- Executing [[email protected]:16] GotoIf("SIP/openvox-192.168.0.1-0000000c", "0?dialstrnoexten") in new stack

-- Executing [[email protected]:17] GotoIf("SIP/openvox-192.168.0.1-0000000c", "0?dialstrnoexten") in new stack

-- Executing [[email protected]:18] Set("SIP/openvox-192.168.0.1-0000000c", "DIALSTR=SIP/9523541-192.168.128.85/89116749222") in new stack

-- Executing [[email protected]:19] Set("SIP/openvox-192.168.0.1-0000000c", "OUTDEV=SIP/9523541-192.168.128.85") in new stack

-- Executing [[email protected]:20] GotoIf("SIP/openvox-192.168.0.1-0000000c", "0?exit,1") in new stack

-- Executing [[email protected]:21] Set("SIP/openvox-192.168.0.1-0000000c", "CDR_TOCHAN=Board-4-gsm-1") in new stack

-- Executing [[email protected]:22] Set("SIP/openvox-192.168.0.1-0000000c", "CDR_CALLEEID=89116749222") in new stack

-- Executing [[email protected]:23] Goto("SIP/openvox-192.168.0.1-0000000c", "dial") in new stack

-- Goto (macro-dial-failover,s,31)

-- Executing [[email protected]:31] Dial("SIP/openvox-192.168.0.1-0000000c", "SIP/9523541-192.168.128.85/89116749222") in new stack
5 years 5 months ago #11070 by tim.june
prepare teamviewer and contact me on skype, my id is tim.jjune

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
5 years 5 months ago #11073 by lelik
Sorry, Because of organization rules I cant let you connect to me through the teamviewer :(
Time to create page: 0.035 seconds
Powered by Kunena Forum