Sir,
I have install asterisk 1.4 on fedora core 5 and all is going well except i am not able to call land line number. asterisk will call mobile number without problem but when i have dial land line number then call reach to service provider but it will say please check the number you have dial.
But when i have call mobile number then it will call without any problem using that telephone line when i have dial land line number using ordinary telephone then there is no problem it means there is no fault in telephone line.
Here is my extensions.conf
[outbound-local]
ignorepat => 9
exten => _9XXXXXXXXX,1,Macro(dial,${OUTBOUNDTRUNK},${EXTEN}) ; Mobile numbers
exten => _2XXXXXX,1,Macro(dial,${OUTBOUNDTRUNK},${EXTEN}) ; BSNL ex. 2513798
exten => _3XXXXXX,1,Macro(dial,${OUTBOUNDTRUNK},${EXTEN}) ; Reliance ex. 3280552
exten => _5XXXXXXX,1,Macro(dial,${OUTBOUNDTRUNK},${EXTEN}) ; Tata
exten => _0.,1,Macro(dial,${OUTBOUNDTRUNK},${EXTEN}) ; STD / ISD numbers
; Emergency and special numbers
exten => _1.,1,Macro(dial,${OUTBOUNDTRUNK},${EXTEN})
[macro-dial]
exten => s,1,Dial(${ARG1}/${ARG2})
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s,102,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG2}@default)
exten => s-BUSY,1,Voicemail(b${ARG2}@default)
exten => s-CHANUNAVAIL,1,Playback(pbx-invalid)
I am dialing 2513798 telephone no. from 101 extension and the CLI output is
-Executing [2513798@from-sip:1] Dial(“SIP/101-09d3f698”,“ZAP/3/2513798”) in new stack
-Called 3/2513798
-Zap/3-1 answered SIP/101-09d3f698
-Hungup “Zap/3-1”
==Spawn extension (from-sip,2513798,1) exited non-zero on “SIP-101-09d3f698”
I am from india and i am using tdm02b card with 2 fxo.
Rajeev.