Can't call international number with voipcheap

signo82

Joined
Jan 30, 2008
Messages
17
Likes
0
Points
0
#1
Hi,
I have the same problem...
I can call national number but not international numbers with voipcheap.

My dialplan is: 0033. for france
ecc...

for Italy I have 0z.

and in Voipcheap trunk i have 0039+0z. too add the prefix

but when I call internationally asterix repeat me the number I want to dial and hung up.

it works with elastix 1.0 but with 1.1 no
 

MageMinds

Joined
Jun 26, 2008
Messages
55
Likes
0
Points
0
#2
What do you see in the Asterisk CLI when you dial an international number?

I will try to configure their free account on my v1.1 installation to see if it work.

Does anyone have a European phone number I can call that will be answered by an IVR ?
 

signo82

Joined
Jan 30, 2008
Messages
17
Likes
0
Points
0
#3
This is what i get:

-- Executing [00441904448044@from-internal:1] SayDigits("SIP/201-083e9f18", "441904448044|") in new stack
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/1' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/9' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/0' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/8' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/0' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- <SIP/201-083e9f18> Playing 'digits/4' (language 'en')
-- Executing [00441904448044@from-internal:2] EAGI("SIP/201-083e9f18", "aste ridex.agi|00441904448044") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/asteridex.agi
-- AGI Script asteridex.agi completed, returning 0
-- Executing [00441904448044@from-internal:3] GotoIf("SIP/201-083e9f18", "0? 97") in new stack
-- Executing [00441904448044@from-internal:4] NoOp("SIP/201-083e9f18", "Numb er to Dial: ") in new stack
-- Executing [00441904448044@from-internal:5] NoOp("SIP/201-083e9f18", "Pers on to Dial: ") in new stack
== Spawn extension (from-internal, 00441904448044, 6) exited non-zero on 'SIP/ 201-083e9f18'
-- Executing [h@from-internal:1] Macro("SIP/201-083e9f18", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/201-083e9f18", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/201-083e9f18", "") in new sta ck
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/201-083e9f18", "1?skiprg") i n new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/201-083e9f18", "1?skipblkvm" ) in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/201-083e9f18", "1?theend") i n new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/201-083e9f18", "") in new s tack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/201-083e9 f18' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/201-083e9 f18'
 

signo82

Joined
Jan 30, 2008
Messages
17
Likes
0
Points
0
#4
Try: +39(0)4441830730 will answer you a fax!
 

MageMinds

Joined
Jun 26, 2008
Messages
55
Likes
0
Points
0
#5
It's working for me ...

You have a strange problem, here what I get when I dial the number you gave me. I used Voipbuster, since I already had a account with them ,but they are all the same Voipbuster, Voipcheap and a lot more other domain name with the same service...

-- Executing [003904441830730@from-internal:1] Macro("SIP/223-09a942d0", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/223-09a942d0", "user-callerid: device 223") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/223-09a942d0", "AMPUSER=223") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/223-09a942d0", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/223-09a942d0", "1|Set|REALCALLERIDNUM=223") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/223-09a942d0", "REALCALLERIDNUM is 223") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/223-09a942d0", "AMPUSER=223") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/223-09a942d0", "AMPUSERCIDNAME=PMS") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/223-09a942d0", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/223-09a942d0", "AMPUSERCID=223") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/223-09a942d0", "CALLERID(all)="PMS" <223>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/223-09a942d0", "REALCALLERIDNUM=223") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/223-09a942d0", "1|Set|CHANNEL(language)=fr") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/223-09a942d0", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/223-09a942d0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/223-09a942d0", "Using CallerID "PMS" <223>") in new stack
-- Executing [003904441830730@from-internal:2] Set("SIP/223-09a942d0", "_NODEST=") in new stack
-- Executing [003904441830730@from-internal:3] Macro("SIP/223-09a942d0", "record-enable|223|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/223-09a942d0", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/223-09a942d0", "recordingcheck|20080717-094725|1216302445.316") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080717-094725|1216302445.316: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/223-09a942d0", "No recording needed") in new stack
-- Executing [003904441830730@from-internal:4] Macro("SIP/223-09a942d0", "dialout-trunk|7|003904441830730||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/223-09a942d0", "DIAL_TRUNK=7") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/223-09a942d0", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/223-09a942d0", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/223-09a942d0", "DIAL_NUMBER=003904441830730") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/223-09a942d0", "DIAL_TRUNK_OPTIONS=trwW") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/223-09a942d0", "GROUP()=OUT_7") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/223-09a942d0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/223-09a942d0", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/223-09a942d0", "DIAL_TRUNK_OPTIONS=tTwW") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/223-09a942d0", "outbound-callerid|7") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/223-09a942d0", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] GotoIf("SIP/223-09a942d0", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing [s@macro-outbound-callerid:4] NoOp("SIP/223-09a942d0", "REALCALLERIDNUM is 223") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("SIP/223-09a942d0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,10)
-- Executing [s@macro-outbound-callerid:10] Set("SIP/223-09a942d0", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/223-09a942d0", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] Set("SIP/223-09a942d0", "TRUNKOUTCID=hidden") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/223-09a942d0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,17)
-- Executing [s@macro-outbound-callerid:17] GotoIf("SIP/223-09a942d0", "0?usercid") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/223-09a942d0", "CALLERID(all)=hidden") in new stack
-- Executing [s@macro-outbound-callerid:19] GotoIf("SIP/223-09a942d0", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,23)
-- Executing [s@macro-outbound-callerid:23] NoOp("SIP/223-09a942d0", "CallerID set to "hidden" <>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/223-09a942d0", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/223-09a942d0", "OUTNUM=003904441830730") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/223-09a942d0", "custom=SIP/voipbuster") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/223-09a942d0", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/223-09a942d0", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/223-09a942d0", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/223-09a942d0", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/223-09a942d0", "SIP/voipbuster/003904441830730|300|tTwW") in new stack
-- Called voipbuster/003904441830730
-- SIP/voipbuster-09aedc88 is making progress passing it to SIP/223-09a942d0
-- SIP/voipbuster-09aedc88 answered SIP/223-09a942d0
 

MageMinds

Joined
Jun 26, 2008
Messages
55
Likes
0
Points
0
#6
Here is my config...

The trunk
Note that you should probably remove the disallow and allow parameters, my system have g729 installed, so I prefer using g729 and fall back to ulaw.



The Outbound route

<br><br>Post edited by: MageMinds, at: 2008/07/17 20:10
 

signo82

Joined
Jan 30, 2008
Messages
17
Likes
0
Points
0
#7
i have the same,
but if I call my country number without 0039 it works..could it be the number is too long? Or 00 is a special function of elastix?!?!

look at this when I call 04441830730
ok perfect

-- Executing [04441830730@from-internal:1] Macro("SIP/202-08456b90", "dialou t-trunk|3|04441830730||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/202-08456b90", "DIAL_TRUNK=3 ") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("SIP/202-08456b90", "DIAL_NUMBER= 04441830730") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("SIP/202-08456b90", "ROUTE_PASSWD =") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/202-08456b90", "1?noauth" ) in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("SIP/202-08456b90", "0?disable trunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("SIP/202-08456b90", "_NODEST=") i n new stack
-- Executing [s@macro-dialout-trunk:8] Set("SIP/202-08456b90", "DIAL_TRUNK_O PTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("SIP/202-08456b90", "GROUP()=OUT_ 3") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("SIP/202-08456b90", "user-call erid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/202-08456b90", "user-caller id: device 202") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/202-08456b90", "AMPUSER=202" ) in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/202-08456b90", "0?report" ) in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("SIP/202-08456b90", "0?start") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/202-08456b90", "REALCALLERID NUM=202") in new stack
-- Executing [s@macro-user-callerid:6] NoOp("SIP/202-08456b90", "REALCALLERI DNUM is 202") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/202-08456b90", "AMPUSER=202" ) in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/202-08456b90", "AMPUSERCIDNA ME=Lynksys") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/202-08456b90", "0?report" ) in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/202-08456b90", "AMPUSERCID= 202") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/202-08456b90", "CALLERID(al l)="Lynksys" <202>") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/202-08456b90", "REALCALLERI DNUM=202") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/202-08456b90", "TTL: ARG1 : SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/202-08456b90", "1?contin ue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/202-08456b90", "Using Call erID "Lynksys" <202>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/202-08456b90", "record-en able|202|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/202-08456b90", "0?2:4") i n new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/202-08456b90", "recordingche ck|20080717-161405|1216304045.70") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080717-161405|1216304045.70: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/202-08456b90", "No recordin g needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/202-08456b90", "0?skipou tcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/202-08456b90", "DIAL_TRUNK_ OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("SIP/202-08456b90", "outbound- callerid|3") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/202-08456b90", "1?sta rt") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("SIP/202-08456b90", "REALCAL LERIDNUM is 202") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/202-08456b90", "1?nor mcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("SIP/202-08456b90", "USEROUTC ID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("SIP/202-08456b90", "EMERGEN CYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/202-08456b90", "TRUNKOU TCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/202-08456b90", "1?tr unkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/202-08456b90", "1?us ercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/202-08456b90", "1?re port") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("SIP/202-08456b90", "Caller ID set to "Lynksys" <202>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/202-08456b90", "1?nomax" ) in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("SIP/202-08456b90", "fixlocalpre fix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern 0039+0z. matched. 04441830730 -> 0039044418307 30
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("SIP/202-08456b90", "OUTNUM=0039 04441830730") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("SIP/202-08456b90", "custom=SIP/ Voipcheap") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/202-08456b90", "1?gocall ") in new stack
-- Goto (macro-dialout-trunk,s,24)
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/202-08456b90", "0?custom trunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("SIP/202-08456b90", "SIP/Voipch eap/003904441830730|300|") in new stack
-- Called Voipcheap/003904441830730
-- SIP/Voipcheap-084689f0 is making progress passing it to SIP/202-08456b90
-- SIP/Voipcheap-084689f0 answered SIP/202-08456b90
-- Packet2Packet bridging SIP/202-08456b90 and SIP/Voipcheap-084689f0
== Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'SIP/202-08 456b90' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'SIP/202-08 456b90'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/202-08456b90", "hangupcall ") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/202-08456b90", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/202-08456b90", "") in new sta ck
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/202-08456b90", "1?skiprg") i n new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/202-08456b90", "1?skipblkvm" ) in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/202-08456b90", "1?theend") i n new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/202-08456b90", "") in new s tack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-08456 b90' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-08456 b90'
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top