I have been using Asterisk for a couple of years and moved from SAIL/SARK to PiaF about a year ago. What I need to know shows why I have had problems all along the way.
I am using Inphonex for telephony service and I have several virtual numbers, the majority having a different DID. It is very straight forward to create a single trunk, but when it comes to the second one, there are a couple of details that are not so clear.
I think my main bit of confusion is in the trunk's PEER Details. Inphonex specifies that those details should be:
username=xxxxxxx (Replace xxxxxxx with your virtual number)
type=peer
secret=my-password
host=sip.inphonex.com
fromuser=xxxxxxx
fromdomain=sip.inphonex.com
context=from-inphonex
canreinvite=no
My question is, where does this context=from-inphonex come from? Is 'from-inphonex' defined somewhere or is this the definition? In subsequent trunks that have different virtual numbers, do I continue to use 'from-inphonex' as the context?
It seems like TSP's are good at specifying the first trunk, but if you have multiple trunks, I can't find anything.
Any thoughts illuminating this would be very helpful.
John
I am using Inphonex for telephony service and I have several virtual numbers, the majority having a different DID. It is very straight forward to create a single trunk, but when it comes to the second one, there are a couple of details that are not so clear.
I think my main bit of confusion is in the trunk's PEER Details. Inphonex specifies that those details should be:
username=xxxxxxx (Replace xxxxxxx with your virtual number)
type=peer
secret=my-password
host=sip.inphonex.com
fromuser=xxxxxxx
fromdomain=sip.inphonex.com
context=from-inphonex
canreinvite=no
My question is, where does this context=from-inphonex come from? Is 'from-inphonex' defined somewhere or is this the definition? In subsequent trunks that have different virtual numbers, do I continue to use 'from-inphonex' as the context?
It seems like TSP's are good at specifying the first trunk, but if you have multiple trunks, I can't find anything.
Any thoughts illuminating this would be very helpful.
John