Hi I am trying to setup DDI for one of our servers Our Provider has given us one DDI for use for eg 0800111111. On my main server A, I use an IAX trunk to connect to Client Server B.When calls come in from the outside world on main server A for 0800111111In the dial plan, I pattern match and connect with IAX2 truck named 087XXXXXX eg) SERVER A DIALPLANexten => 0800111111,1, Verbose( 3, " **** INCOMING CALLS SERVER B ****)same => n,Dial(IAX2/087XXXXXX,,r) On server B I have an incoming context in which I have both a general IVR and the 0800111111 patternto route the DDI number to a particular extension. [incoming] exten =>0800111111.,1,Answer()same => n,Dial(PJSIP/200)same => n,Hangup() exten => s,1,Answer()same => n,Goto(main_ivr,7777,1)same => n,Hangup() I cant seem to get a match on 087, it always go to the s context in incomingAny ideas on how I can get DDI to work thanks Zakir
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
