HT503 como SIP TRUNK en Asterisk con PJSIP

Hace algunos días configuré un Grandstream HT503 como puerta de enlace FXO con Asterisk. Este ATA permite marcar directamente a la extensión SIP donde se registra el FXO, sin embargo esto significaba que no podría marcar de manera transparente números locales (e.g. tendría que marcar 9 para llamadas "externas"), o que al hacerlo, se escuchara siempre el tono de discado antes de enlazar la llamada (usando Dial para rediscado en extension.conf).

Para evitar lo anterior y poder usar el HT503 como un trunk SIP, para redirigir las llamadas de manera transparente, hubo que realizar la siguiente configuración. Esto es utilizando Asterisk 14 y PJSIP, no encontré nada (en inglés ni en español) que explicara cómo realizar la configuración utilizando PJSIP, así que lo comparto.

Configuración pjsip.conf

[ht503fxo]
type=aor
contact=sip:HT503_IP:5062
 
[ht503fxo]
type=endpoint
context=internal
disallow=all
allow=ulaw
aors=ht503fxo,EXT_FXO,EXT_FXS
direct_media=yes
 
[ht503fxo]
type=identify
endpoint=ht503fxo
match=HT503_IP

Algunas notas sobre la configuración:

HT503_IP: Debe ser la IP asignada al Grandstream (puerto WAN o LAN, dependiendo su configuración).
EXT_FXO: La extensión asignada al puerto FXO. Únicamente necesario si se está registrando la extensión con el servidor.
EXT_FXS: La extensión asignada al puerto FXS.

En varias partes encontré información sobre el usuario SIP del puerto FXO, que debía ser el utilizado para autenticarse con el SIP trunk, pero esto resultó no ser necesario (por eso no hay secciones tipo auth en la configuración). Registrar el FXO en nuestro asterisk con su propia extensión es opcional.

Algo que sí es importante configurar en el HT503: Port FXO -> Channel Dialing -> Stage Method (1/2), elegir 1. Si no se especifica esta configuración, las llamadas no serán redirigidas por el HT503 y no podremos realizar llamadas al exterior de manera transparente.

Una vez realizados los ajustes anteriores, podemos marcar directamente al exterior utilizando la siguiente configuración para nuestras extensiones.

Configuración extensions.conf

[internal]
; números como 030, 070, etc. se van por el HT503
exten => _XXX,1,Dial(PJSIP/${EXTEN}@ht503fxo,25)
exten => _XXX,n,Hangup()
 
; números de más de 5 elementos, se van automáticamente por el HT503
exten => _XXXXX.,1,Dial(PJSIP/${EXTEN}@ht503fxo,25)
exten => _XXXXX.,n,Hangup()
 

Posted by:

Share:

Posted by Shanjounk on
Viagra Gel Cephalexin For Dental How To Buy Stendra Erectile Dysfunction Shop cheap cialis I Want To Buy Alli! Generic Viagra Pills Can I Purchase Provera Wakefield
Posted by Stascanty on
Quiero Comprar Viagra Sin Receta Cialis 20 Mg Comprimes Pellicules Where I Can Buy Cialis cialis How To Get Viagra In Indiana Lioresal Oral Effets Secondaires Viagra 25mg Erfahrung
Posted by Stascanty on
Vente De Viagra En Pharmacie Cialis 5 Giorni Amoxicillin 500mg Dosing cialis Fluoxetine 60mg For Sale Medicine
Posted by Stascanty on
Cheaplevitra Cialis E Pericoloso cialis Cephalexin Altace Zyprexa Postitive Direct Coombs
Posted by Stascanty on
Zentel 400mg Can I Purchase cialis Amoxicilline Clavulanate Potassium Tablets
Posted by Stascanty on
Canadian Pharmacies Online Forum Cialis En Pharmacie What Is Priligy 30mg cialis buy online Viagra Achat Ligne Comprar Cialis En Barcelona
Posted by Stascanty on
Zithromax For Diarrhea cialis buy online Achat De Viagra Anglais
Posted by Stascanty on
Clomid Hemorragie Secure Stendra Cheap cialis price Ampicillin Amoxicillin Penicillin Cialis Jelly Keflex Acid Reflux
Posted by Stascanty on
Cialis Generika Serios Original Achat Levitra Pharmacie Combivent Inhalers Without An Rx generic cialis Kamagra Sales Kamagra Achat
Posted by Stascanty on
Amoxicillin Refrigerate Kamagra Oral Jelly Kopen cialis Zithromax Used To Treat Chlamydia
Posted by Stascanty on
Acheter Cialis En Angleterre Cialis Apotheke Online buy cialis Vendo Cialis Milano Carte Levitra Amoxicillin Expiration
Posted by Stascanty on
Keflex Dosage For Skin Infection Cialis Dangereux Pour La Sante cialis price Free Shipping Hydrochlorothiazide Hctz Medication Cialiis Fake Companies
Posted by Stascanty on
Buy Clomid cialis online Generic Viagra From India
Posted by Stascanty on
Viagra Free Belgium Viagra Tiempo Free Samples Of Cialis Sold In The Usa online pharmacy Ronlinepharmacy Buy Doxycycline In Bali Cheap Pharmacy
Posted by Stascanty on
Metronidazole Amoxicillin Tooth Ache viagra cialis Kamagra Gunstig Achat Cialis Generic Viagra Generique Paypal
Posted by Stascanty on
Amoxicillin Clav 875 125mg Amoxil Pas Amoxicillin And Tylenol viagra cialis Buy Levitra From India Viagra Generika Test
Posted by Stascanty on
Cialis Pour Homme cialis Lilly Cialis 10mg Et 20mg Cialis Originale Controindicazioni Leclerc Levitra
Posted by Stascanty on
Is Expired Amoxicillin Dangerous Compare Viagra To Generic Methylprednisolone Black Market generic cialis Buy Propecia 1mg Baclofen For Sale
Posted by Stascanty on
Cytotec Generique Penicilling Vs Cephalexin cialis Viagra Ohne Rezept Preisvergleich
Posted by Stascanty on
For sale isotretinoin Cheap Viagra Pills Overnight cialis Verfallsdatum Viagra Cialis Levitra Propecia Medication Order Borne Encephalitis Vir
Posted by Stascanty on
Finasteride 1 Mg No Prescription Needed Review Best Place To Buy Viagra Online Dose Of Amoxicillin viagra cialis Fedex Shipping Zentel Direct Amex Vente Viagra Montreal Can I Purchase Discount Amoxicilina Website
Posted by Stascanty on
Cialis A Largo Plazo Types Of Propecia Does Viagra Super Active Work cialis Levofloxacin Cats Prix Du Cialis C20
Posted by Stascanty on
Cialis Buen Precio Sildenafil Kumagai viagra cialis Cialis Daily 2.5 Mg Online Buy Citalaprom Online No Prescription
Posted by Stascanty on
Cephalexin Dosage Chart For Cats Cialis 5 Mg Best Price cialis Buy Plavix No Prescription Amoxil Bd
Posted by Stascanty on
Ou Acheter Kamagra Doxycycline Online Canada No Prescription cialis buy online Cialis En Allemagne
Posted by Stascanty on
Amoxicillin Sun Effects 10 Mg Kamagra Oral Jelly Greece online pharmacy Can You Buy Zithromax Over The Counter Proper Dosage Amoxicillin Sore Throad
Posted by Stascanty on
Cialis 20mg De cialis Where To Purchase Metformin Without Rx
Posted by Stascanty on
Does Amoxicillin Cause Headaches cialis Viagra Forum Pfizer Accutane Without A Perscription
Posted by Stascanty on
Online Pharmacy No Prescription Canada Potenzmittel Viagra Ebay cialis online order accutane from canada Kamagra Consegna Veloce Francia
Posted by Stascanty on
Cialis Generique Tadalafil generic cialis Acheter Baclofene Sur Internet
Posted by Stascanty on
Pilule De Cialis Pas Cher online pharmacy Cialis 10 Mg Prezzo Comparateur prix cialis france
Posted by Stascanty on
2 Day Shipping On Viagra Cialis Vs Levitra online pharmacy Cialis 20 Mg Prezzo Farmacia Amoxicillin Regimen For Tooth
Posted by Stascanty on
Cialis 10mg Prix Lambert Fish Amoxicillin generic cialis Priligy Walgreens Buy Azithromycin Single Dose
Posted by Stascanty on
Ciprofloxacin Online Drug Storeto Cialis Vente Tunisie Free shipping isotretinoin acne buy low price cialis Prix Cialis Boite De 4 Buying Acticin In Internet Port Vila
Posted by Stascanty on
Prozac Osotrenytin Does Amoxicillin Treat Uti cheap cialis Propecia Zona Occipitale Cialis Durata Dell'Effetto Mejor Cialis Levitra
Posted by Stascanty on
Online Medication For Gonorrhea Seguros Los Genericos De Cialis Get Bentyl 20mg Dibent cialis buy online Acheter cialis 5mg ligne Cialis Ou Autre Produit Out Of Date Amoxicillin
Posted by Stascanty on
Zithromax Feel Worse Svizzera Propecia Generico Levitra Foro cialis online Cipla Pharmaceuticals Precio Viagra De 100
Posted by Stascanty on
Indian Pharmacy Tramadol Amoxicillin Vs Cefadroxil cheap cialis Giving Amoxicillin To Dogs
Posted by Stascanty on
Can I Buy Alli In Canada History Of Cephalexin Canadian Pharmacy Online online pharmacy Viagra Efectos Secundarios Pros Y Contras Order Diovan On Line Signs Of Amoxicillin Overdose
Posted by Stascanty on
Viagra Es Venta Libre cialis buy online Isoniazid Propecia Winnipeg
Posted by Stascanty on
Cialis Generika Gefahrlich isotretinoin 10mg Compra Viagra In Farmacia cialis Isotretinoin purchase on line low price overseas Chandler
Posted by Stascanty on
Propecia Donde Comprar Online Viagra E Dipendenza online pharmacy Cialis Dove Acquistarlo Forum Effets Cialis 20
Posted by Stascanty on
Propecia Cost Kmart Kamagra Oral Jelly Viagra Generique cialis Buy Cheap Amoxil Without Prescription Cost Of Viagra In Aruba Buy Amitriptyline 100mg
Posted by Stascanty on
Buy Levitra No Prescription Amoxicillin A Clavulante Potassium Tablets cialis buying accutane online uk safe Trustedrx
Posted by Stascanty on
Walmart Viagra Price cialis Skin Rashes From Amoxicillin 200 Mg Generic Viagra Pills
Posted by Stascanty on
Fiabilidad Propecia Isotretinoin mail order Virginia Beach cialis Cialis Opinion Cialis Mejor Precio Generic Cialis Vs Brand Cialis
Posted by Stascanty on
Propecia Length To Take Non Percription Mobic online pharmacy Buy Propecia Information Spain Buy Propecia
Posted by Stascanty on
Indomethacin For Sale Viagra En Andorre Levitra 20mg Prices online pharmacy Preis Viagra Preisvergleich Cialis Levitra Farmacia
Posted by Stascanty on
Isoniazid viagra cialis Buyhaldolonlinewithoutprescription Order Flagyl Tablets Bayer Levitra Effets Secondaires
Posted by Stascanty on
Cialis Compresse 20 Mg viagra cialis What Is Generic Viagra Called Propecia Reasons High Blood Pressure Facsimile Ricetta Cialis
Posted by Stascanty on
affordable Cipro Without Prescriptions Ou Commander Du Cialis Cialis Per Body Building canadian pharmacy cialis buy accutane online 20mg
Posted by Stascanty on
German Cialis Levitra Samples Europe Flagyl Generic Form tadalafil generic vs cialis Where To Buy Amoxicillin Vancouver
Posted by Stascanty on
Cialis 20 Mg Wikipedia Propecia Decadencia De Pelo Acheter Cialis 10 Mg Ligne cialis cheapest online prices Acquisto Levitra In Italia Cialis Original Vente How Amoxicillin Makes U Feel
Posted by Stascanty on
Kamagra En Gel Viagra Cialis Levitra cialis 20mg price at walmart Cialis Sources In Canada Meglio Viagra Cialis O Levitra Confortid
Posted by Stascanty on
2 Month Old Amoxicillin tadalafil cialis from india Cialis Per Paypal Bezahlen Amoxicillin Thrush
Posted by Stascanty on
Viagra Wirkt Nicht Mehr Trusted Rx Progesterone Hormone Replacement cialis for sale Precio De Cialis En La Farmacia Levitra De 20 Mg Prix Du Cialis En Pharmacie En France
Posted by Stascanty on
Cialis E Psicofarmaci Kamagra Cheap Veloce soft tab cialis Cialis Originale 5 Mg Cialis Prix Acheter Cialis Pharmacie Ligne
Posted by Stascanty on
Zithromax Tri cialis tablets for sale Buy 125 Mcg Synthroid Purchase Cheap Cialis
Posted by Stascanty on
Vrai Viagra En Ligne En Bordeaux Buy Propecia In Canada cialis on line Priligy Packungsgro?En Cialis Da 20 Mg
Posted by Stascanty on
Buy Amoxcillin Overseas overnight cialis delivery Propecia Wirksamkeit
Posted by Stascanty on
Zithromax For Jock Itch acquista cialis generico online Buy Synthroid No Prescription Needed Best Price Cailis Propecia Hautarzt
Posted by Stascanty on
Viagra Cheap Sale cheap cialis no prescription Buy Levitra Line Onlimne Pharacy
Posted by Stascanty on
Priligy Pil Diflucan Compare Prices Cialis One Day Quanto Costa cialis 20mg for sale E' Sicuro Comprare Viagra On Line Prix Kamagra Au Maroc
Posted by Stascanty on
Buy Levitra Low Price buy generic cialis online Bystolic 10 Mg For Sale Online Cialis Kamagra Sildenafil
Posted by Stascanty on
Buy Cialis Capsles Online Cash On Delivery Isotretinoin 10mg cialis Viagra Cheap Baclofene Forum
Posted by Stascanty on
Pfizer Viagra Kaufen cialis on sale in usa Cheapest Celais Made In Us Kamagra Facts
Posted by Stascanty on
Cephalexin And Pregnancy Propecia Zwanger Worden Levitra Shipped From Us buy generic cialis online Viagara From Canada
Posted by Stascanty on
Online Pharmacies That Sell Misoprostol cialis without prescription Propecia Obesidad Dapoxetina Ssri Prednisolone For Sale
Posted by Stascanty on
Propecia What Is Receding Hairline tadalista vs cialis Cold Sores Keflex Buy 10 Pack Of Clomid Pills Comprar Tadalafil Propecia
Posted by Stascanty on
Dove Comprare Cialis O Viagra Buy Tranexamic Acid 500mg Tablets Buy Cipro cialis 20 mg Dose Of Amoxicillin For Sinus Infection Propecia Long Term Effectiveness Levitra Online Us Pharmacy
Posted by Stascanty on
Images Of Generic Amoxil Tablets cialis from usa pharmacy Descansar Comprar Propecia En Zithromax Tri
Posted by Stascanty on
Propecia Malattia cheap cialis Levitra Pharmacocinetique Baclofene Cirrhose
Posted by Stascanty on
Over Counter Tadalis Sx Soft Cialis 20mg Info best price cialis 20mg Cialis Comprare Farmacia
Posted by Stascanty on
Cialis Levitra Viagra Autres cialis from canada Overdose Amoxicillin Pharmacy 2u Prozac Viagra Dopo L'Eiaculazione
Posted by Stascanty on
Viagra Pricelist Flagyl Antibiotics generic cialis canada Clindamycin Keflex Mononucleosis Amoxicillin Rash Online Viagra Pharmacy
Posted by Stascanty on
Find Cheapeast Elocon 5g Worldwide Website Saturday Delivery Keflex Substutions Lasix Without Prescription Overnight canadian pharmacy cialis 20mg What To Use Instead Of Alli Diet Drug Achat Viagra Generique En France Clomid Metformine
Posted by Stascanty on
Buy Zithromax Online Australia Buy Valtrex Online Cheap No Prescription Ciprofloxacin Penicillin cialis online Viagra Alcol
Posted by Stascanty on
Viagra Sus Efectos Secundarios Amoxicillin Norvasc Progesterone Price cialis genГ©rico canada Brand Levitra For Sale Online Donde Se Puede Comprar Viagra Cialis Tiempo De Accion
Leave a Reply



(Your email will not be publicly displayed.)